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)
commitee752da74f5d07cf441f8d42455c4241d6051ae5
tree9218f6575bf9f2e95aee51d98a10e56282c18772
parentd353fb72f59cd0e1f67baf773e74719cda761a89
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