qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [REPOST] [PATCH 0/2] IDE error checking
@ 2008-09-01 16:15 Ian Jackson
  2008-09-01 16:02 ` [Qemu-devel] [PATCH 1/2] Actually check read/write errors when doing IDE DMA and IDE PIO writes Ian Jackson
  2008-09-07  3:00 ` [Qemu-devel] [REPOST] [PATCH 0/2] IDE error checking Anthony Liguori
  0 siblings, 2 replies; 5+ messages in thread
From: Ian Jackson @ 2008-09-01 16:15 UTC (permalink / raw)
  To: qemu-devel

In these two patches I make the IDE controller emulation pay attention
to errors returned by the bdrv functions.

The first of these patches was first posted in February 2008 and has
been discussed extensively.

There was some discussion as to whether it would be better, in cases
where the error was ENOSPC, to stop the guest than to pass it an IDE
error.  However it must be clear that regardless of whether that would
be better in some circumstances, giving the guest an IDE error is
better than silently ignoring the error, throwing away the guest's
data.

I would therefore submit that my patch should be applied immediately.
If anyone wants to implement automatic stopping of guests on ENOSPC
errors this should then be done as an optional enhancement.

In this patch pair I don't fix the call to bdrv_flush in FLUSH CACHE.
This is because that's entangled with another dropped series of
patches to implement use of aio for cache flushing and guest control
of the host write cache.

Ian.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-09-17  2:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-01 16:15 [Qemu-devel] [REPOST] [PATCH 0/2] IDE error checking Ian Jackson
2008-09-01 16:02 ` [Qemu-devel] [PATCH 1/2] Actually check read/write errors when doing IDE DMA and IDE PIO writes Ian Jackson
2008-09-01 16:22   ` [Qemu-devel] [PATCH 2/2] [ide] Check that asynchronous (DMA) submission succeeds Ian Jackson
2008-09-07  3:00 ` [Qemu-devel] [REPOST] [PATCH 0/2] IDE error checking Anthony Liguori
2008-09-17  2:20   ` andrzej zaborowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).