Re: [PATCH 3/3] kvm-unit-tests: make I/O more friendly to existing QEMU hardware

2011-02-27 Thread Avi Kivity
On 02/24/2011 11:48 PM, Anthony Liguori wrote: Use the serial port for printf() and use the Bochs bios exit port if the testdev port isn't available. This unconditionally switches to use the serial port but tries to use the testdev exit port since that lets you pass an exit status. The only

[PATCH 3/3] kvm-unit-tests: make I/O more friendly to existing QEMU hardware

2011-02-24 Thread Anthony Liguori
Use the serial port for printf() and use the Bochs bios exit port if the testdev port isn't available. This unconditionally switches to use the serial port but tries to use the testdev exit port since that lets you pass an exit status. Signed-off-by: Anthony Liguori aligu...@us.ibm.com diff