Re: [Qemu-devel] [PATCH 2/2] ide: Handle flush failure

2010-10-20 Thread Christoph Hellwig
On Tue, Oct 19, 2010 at 05:08:52PM +0200, Kevin Wolf wrote: > Instead of always assuming success for bdrv_aio_flush, actually do something > with the error. This respects the werror option and accordingly ignores the > error, reports it to the guest or stops the VM and retries after cont. > > Igno

[Qemu-devel] [PATCH 2/2] ide: Handle flush failure

2010-10-19 Thread Kevin Wolf
Instead of always assuming success for bdrv_aio_flush, actually do something with the error. This respects the werror option and accordingly ignores the error, reports it to the guest or stops the VM and retries after cont. Ignoring the error is trivial, obviously. For stopping the VM and retrying