]> git.proxmox.com Git - qemu.git/commit
PPC: dbdma: Wait for DMA until we have data
authorAlexander Graf <agraf@suse.de>
Sun, 30 Jun 2013 00:54:35 +0000 (02:54 +0200)
committerAlexander Graf <agraf@suse.de>
Thu, 11 Jul 2013 16:51:25 +0000 (18:51 +0200)
commitcae323572eddc1a45e2f6ef98c006d98fed23b1e
treec433a66f0b4b9acd23d3ce3c08d5980795c4eed3
parent03ee3b1e58266c7e5b155d58f443d94b23d2bd05
PPC: dbdma: Wait for DMA until we have data

We should only start processing DMA requests when we have data to process.
Hold off working through the DMA shuffling until the IDE core told us that
it's ready.

This is required because the guest can program the DMA engine or the IDE
transfer first. Both are legal.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ide/macio.c
hw/ppc/mac.h