diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2015-02-23 11:17:55 -0500 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2015-03-10 14:02:22 +0100 |
| commit | 9898586d8929a7f1293fc64164b67a79289b074f (patch) | |
| tree | 426929db8ec132c0ea9a1905c2d2b7cd73301e00 /hw/ide/pci.h | |
| parent | d34fceda8feb6c36722f41f3e1db40cf2af82ea8 (diff) | |
| download | focaccia-qemu-9898586d8929a7f1293fc64164b67a79289b074f.tar.gz focaccia-qemu-9898586d8929a7f1293fc64164b67a79289b074f.zip | |
ide: move restart callback to common code
With BMDMA specific excised from the restart functions, create a HBA-agnostic restart callback to be shared between the different HBAs. Change the callback registered with the vmstate_change handler to always point to ide_restart_cb instead of relying on the IDEDMAOps.restart_cb() member. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> Message-id: 1424708286-16483-7-git-send-email-jsnow@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ide/pci.h')
| -rw-r--r-- | hw/ide/pci.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/ide/pci.h b/hw/ide/pci.h index 2e9314ad87..ea4e05160f 100644 --- a/hw/ide/pci.h +++ b/hw/ide/pci.h @@ -28,7 +28,6 @@ typedef struct BMDMAState { uint32_t nsector; MemoryRegion addr_ioport; MemoryRegion extra_io; - QEMUBH *bh; qemu_irq irq; /* Bit 0-2 and 7: BM status register |