]> git.proxmox.com Git - qemu.git/commit
hw: Add test device for unittests execution
authorLucas Meneghel Rodrigues <lmr@redhat.com>
Thu, 13 Dec 2012 14:48:53 +0000 (12:48 -0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 4 Jan 2013 08:11:30 +0000 (09:11 +0100)
commitee0cc5415e6edc043bd84e855f7d0bf85bd97547
tree34676a2076b588572d11029b8a39489c588919ce
parentbb355b1859dde19fbb4f856c6d0b8f46733142d7
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>
hw/i386/Makefile.objs
hw/pc-testdev.c [new file with mode: 0644]