mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
ide: BMDMAState don't need a pci_dev field anymore
Patchworks-ID: 35306 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
0cde1b4ca0
commit
d1570baa57
3 changed files with 0 additions and 3 deletions
|
@ -77,7 +77,6 @@ static void bmdma_map(PCIDevice *pci_dev, int region_num,
|
|||
for(i = 0;i < 2; i++) {
|
||||
BMDMAState *bm = &d->bmdma[i];
|
||||
d->bus[i].bmdma = bm;
|
||||
bm->pci_dev = DO_UPCAST(PCIIDEState, dev, pci_dev);
|
||||
bm->bus = d->bus+i;
|
||||
qemu_add_vm_change_state_handler(ide_dma_restart_cb, bm);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue