Re: [Qemu-devel] [PATCH v5 05/10] hw/vfio/pci: split vfio_get_device

2014-08-29 Thread Eric Auger
On 08/13/2014 05:32 AM, David Gibson wrote: > On Tue, Aug 12, 2014 at 08:54:34AM +0200, Eric Auger wrote: >> On 08/12/2014 04:41 AM, David Gibson wrote: >>> On Sat, Aug 09, 2014 at 03:25:44PM +0100, Eric Auger wrote: vfio_get_device now takes a VFIODevice as argument. The function is split >>>

Re: [Qemu-devel] [PATCH v5 05/10] hw/vfio/pci: split vfio_get_device

2014-08-12 Thread David Gibson
On Tue, Aug 12, 2014 at 08:54:34AM +0200, Eric Auger wrote: > On 08/12/2014 04:41 AM, David Gibson wrote: > > On Sat, Aug 09, 2014 at 03:25:44PM +0100, Eric Auger wrote: > >> vfio_get_device now takes a VFIODevice as argument. The function is split > >> into 4 functional parts: dev_info query, devi

Re: [Qemu-devel] [PATCH v5 05/10] hw/vfio/pci: split vfio_get_device

2014-08-11 Thread Eric Auger
On 08/12/2014 04:41 AM, David Gibson wrote: > On Sat, Aug 09, 2014 at 03:25:44PM +0100, Eric Auger wrote: >> vfio_get_device now takes a VFIODevice as argument. The function is split >> into 4 functional parts: dev_info query, device check, region populate >> and interrupt populate. the last 3 are

Re: [Qemu-devel] [PATCH v5 05/10] hw/vfio/pci: split vfio_get_device

2014-08-11 Thread David Gibson
On Sat, Aug 09, 2014 at 03:25:44PM +0100, Eric Auger wrote: > vfio_get_device now takes a VFIODevice as argument. The function is split > into 4 functional parts: dev_info query, device check, region populate > and interrupt populate. the last 3 are specialized by parent device and > are added into

[Qemu-devel] [PATCH v5 05/10] hw/vfio/pci: split vfio_get_device

2014-08-09 Thread Eric Auger
vfio_get_device now takes a VFIODevice as argument. The function is split into 4 functional parts: dev_info query, device check, region populate and interrupt populate. the last 3 are specialized by parent device and are added into DeviceOps. 3 new fields are introduced in VFIODevice to store dev_