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

stubs: move smbios stubs to hw/smbios

No need to include them in libqemustub.a, since only system emulators
need them.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

+8 -4
+8 -3
hw/smbios/Makefile.objs
··· 1 - common-obj-$(CONFIG_SMBIOS) += smbios.o 2 - common-obj-$(call land,$(CONFIG_SMBIOS),$(CONFIG_IPMI)) += smbios_type_38.o 1 + ifeq ($(CONFIG_SMBIOS),y) 2 + common-obj-y += smbios.o 3 + common-obj-$(CONFIG_IPMI) += smbios_type_38.o 4 + common-obj-$(call lnot,$(CONFIG_IPMI)) += smbios_type_38-stub.o 5 + else 6 + common-obj-y += smbios-stub.o 7 + endif 3 8 4 - common-obj-$(call lnot,$(CONFIG_SMBIOS)) += smbios-stub.o 5 9 common-obj-$(CONFIG_ALL) += smbios-stub.o 10 + common-obj-$(CONFIG_ALL) += smbios_type_38-stub.o
-1
stubs/Makefile.objs
··· 44 44 stub-obj-y += target-get-monitor-def.o 45 45 stub-obj-y += vhost.o 46 46 stub-obj-y += iohandler.o 47 - stub-obj-y += smbios_type_38.o 48 47 stub-obj-y += ipmi.o 49 48 stub-obj-y += pc_madt_cpu_entry.o 50 49 stub-obj-y += migration-colo.o
stubs/smbios_type_38.c hw/smbios/smbios_type_38-stub.c