Re: [Qemu-devel] [PATCH 1/3] virtio: don't exit on guest errors

2011-03-29 Thread Amit Shah
On (Mon) 28 Mar 2011 [23:14:16], Michael S. Tsirkin wrote: When guest does something illegal, such as programming invalid index values in the virtio device, qemu currently tends to crash. With virtio, a better idea is to log an error, and set status to FAIL which stops the device. Add an

[Qemu-devel] [PATCH 1/3] virtio: don't exit on guest errors

2011-03-28 Thread Michael S. Tsirkin
When guest does something illegal, such as programming invalid index values in the virtio device, qemu currently tends to crash. With virtio, a better idea is to log an error, and set status to FAIL which stops the device. Add an API to do this, and fix core, blk and serial to use it on error.