Statistics
| Branch: | Revision:

root / hw / pc-testdev.c @ 5e22c276

History | View | Annotate | Download (5.6 kB)

# Date Author Comment
549db5c3 01/05/2013 12:14 pm Stefan Weil

hw/i386: Fix broken build for non POSIX hosts

pc-testdev.c cannot be compiled with MinGW (and other non POSIX hosts):

CC    i386-softmmu/hw/i386/../pc-testdev.o
qemu/hw/i386/../pc-testdev.c:38:22: warning: sys/mman.h: file not found
qemu/hw/i386/../pc-testdev.c: In function ‘test_flush_page’:...
ee0cc541 01/04/2013 10:11 am Lucas Meneghel Rodrigues

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 \...