ide: move cmd+irq from IDEState to IDEBus.
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 28 Aug 2009 14:37:42 +0000 (16:37 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 4 Sep 2009 14:37:27 +0000 (09:37 -0500)
commit9cdd03a791af17a1b7d3cbbaddcf46d64d704795
treed7ef4fb1fe5e1f96706dd49edae32f20c4693a16
parentf455e98cf437c7bb8f2b23888bbd302fef3a3b28
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>
hw/ide/core.c
hw/ide/internal.h
hw/ide/macio.c