ide: Ignore double DMA transfer starts/stops
commitc29947bbb0978d312074ec73be968bfab1b6c977
authorKevin Wolf <kwolf@redhat.com>
Fri, 26 Nov 2010 15:44:53 +0000 (26 16:44 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 29 Nov 2010 15:15:02 +0000 (29 16:15 +0100)
tree7060311b7ac835d2a73b8749689284a57e006c32
parente3982b3cf6d17fbba6839d5252f5f757a8d585dc
ide: Ignore double DMA transfer starts/stops

You can only start a DMA transfer if it's not running yet, and you can only
cancel it if it's running.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
hw/ide/pci.c