Re: [Qemu-devel] [PATCH 03/39] pci: split exit and finalize

2013-06-07 Thread Anthony Liguori
Paolo Bonzini writes: > To properly support devices that do DMA out of the BQL, destruction > needs to be done in two phases. First, the device is unrealized; > at this point, pending memory accesses can still be completed, but > no new accesses will be started. The second part is freeing the >

[Qemu-devel] [PATCH 03/39] pci: split exit and finalize

2013-06-04 Thread Paolo Bonzini
To properly support devices that do DMA out of the BQL, destruction needs to be done in two phases. First, the device is unrealized; at this point, pending memory accesses can still be completed, but no new accesses will be started. The second part is freeing the device, which happens only after