ide: pass IDEBus to the restart_cb
commitd34fceda8feb6c36722f41f3e1db40cf2af82ea8
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 23 Feb 2015 16:17:54 +0000 (23 11:17 -0500)
committerKevin Wolf <kwolf@redhat.com>
Tue, 10 Mar 2015 13:02:22 +0000 (10 14:02 +0100)
treed31f998983457de2550800da16ae1d1f2b6f310c
parent2745df813d82724f2633a9b2ba7f7c5717d7509b
ide: pass IDEBus to the restart_cb

Pass the containing IDEBus to the restart_cb instead
of the more specific BMDMAState child.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1424708286-16483-6-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/core.c
hw/ide/pci.c