--- qemu/hw/ide/internal.h 2018/04/24 18:03:39 1.1.1.2 +++ qemu/hw/ide/internal.h 2018/04/24 18:13:33 1.1.1.3 @@ -481,6 +481,7 @@ struct BMDMAState { uint8_t status; uint32_t addr; + struct PCIIDEState *pci_dev; IDEBus *bus; /* current transfer state */ uint32_t cur_addr;