Re: [Qemu-devel] [PATCH 02/39] dma: keep a device alive while it has SGLists

2013-06-07 Thread Anthony Liguori
Andreas Färber writes: > Am 04.06.2013 20:51, schrieb Paolo Bonzini: >> A QEMUSGList has a reference to a device's address space. Keep >> the device alive while the QEMUSGList exists. >> >> Signed-off-by: Paolo Bonzini >> --- >> dma-helpers.c | 6 +- >> hw/ide/ahci.c | 3

Re: [Qemu-devel] [PATCH 02/39] dma: keep a device alive while it has SGLists

2013-06-07 Thread Andreas Färber
Am 04.06.2013 20:51, schrieb Paolo Bonzini: > A QEMUSGList has a reference to a device's address space. Keep > the device alive while the QEMUSGList exists. > > Signed-off-by: Paolo Bonzini > --- > dma-helpers.c | 6 +- > hw/ide/ahci.c | 3 ++- > hw/ide/macio.c| 4

[Qemu-devel] [PATCH 02/39] dma: keep a device alive while it has SGLists

2013-06-04 Thread Paolo Bonzini
A QEMUSGList has a reference to a device's address space. Keep the device alive while the QEMUSGList exists. Signed-off-by: Paolo Bonzini --- dma-helpers.c | 6 +- hw/ide/ahci.c | 3 ++- hw/ide/macio.c| 4 ++-- hw/scsi/megasas.c | 4 ++-- hw/scsi/virtio-scsi.