ide: Clear error_status after restarting flush
authorKevin Wolf <kwolf@redhat.com>
Fri, 10 Jun 2011 14:32:13 +0000 (16:32 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 15 Jun 2011 13:39:13 +0000 (15:39 +0200)
commit33c8b51bd53504503b11b4fdf5955a362f468951
tree9218f6575bf9f2e95aee51d98a10e56282c18772
parent11f4962037cb45dca8b2ecd8bc2cb3ae49a90f70
ide: Clear error_status after restarting flush

Clearing the error status flag was missing for restarting flushes. Now that the
error status is separate from the BM status register, we can simply set it to 0
after restarting the request. This ensures that we never forget to clear a bit.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/pci.c