qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

stubs: add pci_create_simple

Needed for -soundhw cleanup.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200702132525.6849-3-kraxel@redhat.com

+8
+1
stubs/Makefile.objs
··· 13 13 stub-obj-$(CONFIG_LINUX_IO_URING) += io_uring.o 14 14 stub-obj-y += monitor-core.o 15 15 stub-obj-y += notify-event.o 16 + stub-obj-y += pci-bus.o 16 17 stub-obj-y += qmp_memory_device.o 17 18 stub-obj-y += qtest.o 18 19 stub-obj-y += ramfb.o
+7
stubs/pci-bus.c
··· 1 + #include "qemu/osdep.h" 2 + #include "hw/pci/pci.h" 3 + 4 + PCIDevice *pci_create_simple(PCIBus *bus, int devfn, const char *name) 5 + { 6 + g_assert_not_reached(); 7 + }