Add a test device which supports the kvmctl ioports,
so one can run the KVM unittest suite.
Intended Usage:
qemu-system-x86_64 -nographic \
-device pc-testdev \
-device isa-debug-exit,iobase=0xf4,iosize=0x04 \
-kernel /path/to/kvm/unittests/msr.flat
Where msr.flat is one of the KVM unittests, present on a
separate repo,
git://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git
[ kraxel: more memory api + qom fixes ]
CC: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
18 lines
617 B
Makefile
18 lines
617 B
Makefile
obj-y += mc146818rtc.o pc.o
|
|
obj-y += apic_common.o apic.o kvmvapic.o
|
|
obj-y += sga.o ioapic_common.o ioapic.o piix_pci.o
|
|
obj-y += vmport.o
|
|
obj-y += pci/pci-hotplug.o smbios.o wdt_ib700.o
|
|
obj-y += debugcon.o debugexit.o multiboot.o
|
|
obj-y += pc_piix.o
|
|
obj-y += pc_sysfw.o
|
|
obj-y += lpc_ich9.o q35.o pc_q35.o
|
|
obj-$(CONFIG_XEN) += xen_platform.o xen_apic.o
|
|
obj-$(CONFIG_XEN_PCI_PASSTHROUGH) += xen-host-pci-device.o
|
|
obj-$(CONFIG_XEN_PCI_PASSTHROUGH) += xen_pt.o xen_pt_config_init.o xen_pt_msi.o
|
|
obj-y += kvm/
|
|
obj-$(CONFIG_SPICE) += qxl.o qxl-logger.o qxl-render.o
|
|
obj-y += pc-testdev.o
|
|
|
|
obj-y := $(addprefix ../,$(obj-y))
|