diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-08-28 16:37:42 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-09-04 09:37:27 -0500 |
commit | 9cdd03a791af17a1b7d3cbbaddcf46d64d704795 (patch) | |
tree | d7ef4fb1fe5e1f96706dd49edae32f20c4693a16 /hw/ide/macio.c | |
parent | f455e98cf437c7bb8f2b23888bbd302fef3a3b28 (diff) | |
download | qemu-9cdd03a791af17a1b7d3cbbaddcf46d64d704795.zip qemu-9cdd03a791af17a1b7d3cbbaddcf46d64d704795.tar.gz qemu-9cdd03a791af17a1b7d3cbbaddcf46d64d704795.tar.bz2 |
ide: move cmd+irq from IDEState to IDEBus.
These variables are per bus, not per drive. Lets move them and
cleanup things a bit. And fix the cmd migration bug for real.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ide/macio.c')
-rw-r--r-- | hw/ide/macio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/macio.c b/hw/ide/macio.c index da2baa0..a11223e 100644 --- a/hw/ide/macio.c +++ b/hw/ide/macio.c @@ -124,7 +124,7 @@ static void pmac_ide_transfer_cb(void *opaque, int ret) /* end of transfer ? */ if (s->nsector == 0) { s->status = READY_STAT | SEEK_STAT; - ide_set_irq(s); + ide_set_irq(s->bus); } /* end of DMA ? */ |