Actually check read/write errors in IDE (Ian Jackson).
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 1 Oct 2008 01:13:37 +0000 (01:13 +0000)
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 1 Oct 2008 01:13:37 +0000 (01:13 +0000)
commite162cfb07b7bee2d4527b860f13de39429733dfa
tree1e98228fdb7de2f87dc3ffb0b44f793996dc261b
parent6dc2d0daee4ca38c81b3d755ef3efd31fcd2fda2
Actually check read/write errors in IDE (Ian Jackson).

This patch makes the ide emulation actually take notice of
error returns from bdrv_write and bdrv_aio_{read,write}.

(Cherry picked from qemu-xen e0e7a0afe0e324a1f7d64c240f567b15dbe454cf,
 first posted to qemu-devel Wed, 20 Feb 2008 15:26:41 +0000)

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5368 c046a42c-6fe2-441c-8c8c-71466251a162
hw/ide.c