Skip to content

Commit

Permalink
stubs: add isa_create_simple
Browse files Browse the repository at this point in the history
Needed for -soundhw cleanup.

Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: [email protected]
  • Loading branch information
kraxel committed Jul 6, 2020
1 parent eb6490f commit 89aa165
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions stubs/Makefile.objs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ stub-obj-y += fdset.o
stub-obj-y += gdbstub.o
stub-obj-y += iothread-lock.o
stub-obj-y += is-daemonized.o
stub-obj-y += isa-bus.o
stub-obj-$(CONFIG_LINUX_AIO) += linux-aio.o
stub-obj-$(CONFIG_LINUX_IO_URING) += io_uring.o
stub-obj-y += monitor-core.o
Expand Down
7 changes: 7 additions & 0 deletions stubs/isa-bus.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#include "qemu/osdep.h"
#include "hw/isa/isa.h"

ISADevice *isa_create_simple(ISABus *bus, const char *name)
{
g_assert_not_reached();
}

0 comments on commit 89aa165

Please sign in to comment.