mirror of
https://github.com/qemu/qemu.git
synced 2025-08-10 03:59:16 +00:00
dbdma: reset io->processing flag for unassigned DBDMA channel rw accesses
Otherwise MacOS 9 hangs upon shutdown. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
894993905d
commit
2df778967b
@ -778,6 +778,7 @@ static void dbdma_unassigned_rw(DBDMA_io *io)
|
|||||||
DBDMA_channel *ch = io->channel;
|
DBDMA_channel *ch = io->channel;
|
||||||
qemu_log_mask(LOG_GUEST_ERROR, "%s: use of unassigned channel %d\n",
|
qemu_log_mask(LOG_GUEST_ERROR, "%s: use of unassigned channel %d\n",
|
||||||
__func__, ch->channel);
|
__func__, ch->channel);
|
||||||
|
ch->io.processing = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void dbdma_unassigned_flush(DBDMA_io *io)
|
static void dbdma_unassigned_flush(DBDMA_io *io)
|
||||||
|
Loading…
Reference in New Issue
Block a user