]> git.proxmox.com Git - qemu.git/commit - hw/ide/core.c
ide: Fix status register after short PRDs
authorKevin Wolf <kwolf@redhat.com>
Tue, 20 Nov 2012 16:27:44 +0000 (17:27 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 21 Nov 2012 08:47:34 +0000 (09:47 +0100)
commit72bcca73c7a67c8506fa737618861ad413dabf38
tree231a8934f65960f154d20d9a6dc2c6c050cd3aed
parent038268e2e8087ee2fd8987a77ba580e15f14c147
ide: Fix status register after short PRDs

When failing a request because the length of the regions described by
the PRDT was too short for the requested number of sectors, the IDE
emulation forgot to update the status register, so that the device would
keep the BSY flag set indefinitely.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/ide/core.c