]> git.proxmox.com Git - qemu.git/commit
ide: Reset BMIDEA bit when the bus master is stopped
authorKevin Wolf <kwolf@redhat.com>
Wed, 13 Mar 2013 15:53:06 +0000 (16:53 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 8 May 2013 13:28:49 +0000 (15:28 +0200)
commitb39f96126549e2834152211a99919917423d2212
treefb6a52735b9df65df46d7fe44d79bcb7e678c901
parent3bac85d33716d9024afb8a262a39032bc0bba3ed
ide: Reset BMIDEA bit when the bus master is stopped

The device is supposed to reset the Bus Master IDE Active bit in the
status register when 0 is written to the Start/Stop Bus Master bit in
the command register.

In the common cases this happens automatically because bdrv_drain_all()
flushes the requests, but with a large PRDT it could remain set.

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