aboutsummaryrefslogtreecommitdiff
path: root/hw/i386/Makefile.objs
diff options
context:
space:
mode:
authorLucas Meneghel Rodrigues <lmr@redhat.com>2012-12-13 12:48:53 -0200
committerGerd Hoffmann <kraxel@redhat.com>2013-01-04 09:11:30 +0100
commitee0cc5415e6edc043bd84e855f7d0bf85bd97547 (patch)
tree34676a2076b588572d11029b8a39489c588919ce /hw/i386/Makefile.objs
parentbb355b1859dde19fbb4f856c6d0b8f46733142d7 (diff)
hw: Add test device for unittests execution
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>
Diffstat (limited to 'hw/i386/Makefile.objs')
-rw-r--r--hw/i386/Makefile.objs1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/i386/Makefile.objs b/hw/i386/Makefile.objs
index 2ba04db0a8..025803aa66 100644
--- a/hw/i386/Makefile.objs
+++ b/hw/i386/Makefile.objs
@@ -12,5 +12,6 @@ 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))