Add test device
commitc9c58ecd922887b1c5657b8b55665a8141bbfe22
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 16 Sep 2009 09:25:36 +0000 (16 12:25 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 16 Sep 2009 19:00:40 +0000 (16 16:00 -0300)
treec9fb73dc02b4ae0670cb1f0e615bb2a2fbb086ba
parent5a0eee3a36899226deb7ac05b591b680687cfe45
Add test device

Add a test device which supports the kvmctl ioports, for running the test
suite.

Usage:

  qemu
     -chardev file,path=/log/file/some/where,id=testlog
     -device testdev,chardev=testlog

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Makefile.target
hw/testdev.c [new file with mode: 0644]