Re: [Qemu-devel] [PATCH v5 06/10] hw/vfio: create common module

2014-09-02 Thread Alex Williamson
On Tue, 2014-09-02 at 09:13 +0200, Eric Auger wrote: > On 09/01/2014 07:41 PM, Alexander Graf wrote: > > > > > >> Am 01.09.2014 um 18:31 schrieb Eric Auger : > >> > >>> On 08/13/2014 09:59 PM, Alex Williamson wrote: > On Tue, 2014-08-12 at 08:09 +0200, Eric Auger wrote: > > On 08/11/2014

Re: [Qemu-devel] [PATCH v5 06/10] hw/vfio: create common module

2014-09-02 Thread Eric Auger
On 09/01/2014 07:41 PM, Alexander Graf wrote: > > >> Am 01.09.2014 um 18:31 schrieb Eric Auger : >> >>> On 08/13/2014 09:59 PM, Alex Williamson wrote: On Tue, 2014-08-12 at 08:09 +0200, Eric Auger wrote: > On 08/11/2014 09:25 PM, Alex Williamson wrote: >> On Sat, 2014-08-09 at 15:25

Re: [Qemu-devel] [PATCH v5 06/10] hw/vfio: create common module

2014-09-01 Thread Alexander Graf
> Am 01.09.2014 um 18:31 schrieb Eric Auger : > >> On 08/13/2014 09:59 PM, Alex Williamson wrote: >>> On Tue, 2014-08-12 at 08:09 +0200, Eric Auger wrote: On 08/11/2014 09:25 PM, Alex Williamson wrote: > On Sat, 2014-08-09 at 15:25 +0100, Eric Auger wrote: > diff --git a/include/hw/

Re: [Qemu-devel] [PATCH v5 06/10] hw/vfio: create common module

2014-09-01 Thread Eric Auger
On 08/13/2014 09:59 PM, Alex Williamson wrote: > On Tue, 2014-08-12 at 08:09 +0200, Eric Auger wrote: >> On 08/11/2014 09:25 PM, Alex Williamson wrote: >>> On Sat, 2014-08-09 at 15:25 +0100, Eric Auger wrote: diff --git a/include/hw/vfio/vfio-common.h b/include/hw/vfio/vfio-common.h new f

Re: [Qemu-devel] [PATCH v5 06/10] hw/vfio: create common module

2014-08-20 Thread Joel Schopp
On 08/20/2014 02:41 PM, Alex Williamson wrote: > On Wed, 2014-08-20 at 14:12 -0500, Joel Schopp wrote: >>> +int vfio_get_device(VFIOGroup *group, const char *name, >>> + VFIODevice *vbasedev) >>> +{ >>> +struct vfio_device_info dev_info = { .argsz = sizeof(dev_info) }; >>

Re: [Qemu-devel] [PATCH v5 06/10] hw/vfio: create common module

2014-08-20 Thread Alex Williamson
On Wed, 2014-08-20 at 14:12 -0500, Joel Schopp wrote: > > +int vfio_get_device(VFIOGroup *group, const char *name, > > + VFIODevice *vbasedev) > > +{ > > +struct vfio_device_info dev_info = { .argsz = sizeof(dev_info) }; > > +struct vfio_region_info reg_info = { .argsz

Re: [Qemu-devel] [PATCH v5 06/10] hw/vfio: create common module

2014-08-20 Thread Joel Schopp
> +int vfio_get_device(VFIOGroup *group, const char *name, > + VFIODevice *vbasedev) > +{ > +struct vfio_device_info dev_info = { .argsz = sizeof(dev_info) }; > +struct vfio_region_info reg_info = { .argsz = sizeof(reg_info) }; > +struct vfio_irq_info irq_info = {

Re: [Qemu-devel] [PATCH v5 06/10] hw/vfio: create common module

2014-08-13 Thread Alex Williamson
On Tue, 2014-08-12 at 08:09 +0200, Eric Auger wrote: > On 08/11/2014 09:25 PM, Alex Williamson wrote: > > On Sat, 2014-08-09 at 15:25 +0100, Eric Auger wrote: > >> diff --git a/include/hw/vfio/vfio-common.h b/include/hw/vfio/vfio-common.h > >> new file mode 100644 > >> index 000..4684ee5 > >> -

Re: [Qemu-devel] [PATCH v5 06/10] hw/vfio: create common module

2014-08-11 Thread Eric Auger
On 08/11/2014 09:25 PM, Alex Williamson wrote: > On Sat, 2014-08-09 at 15:25 +0100, Eric Auger wrote: >> diff --git a/include/hw/vfio/vfio-common.h b/include/hw/vfio/vfio-common.h >> new file mode 100644 >> index 000..4684ee5 >> --- /dev/null >> +++ b/include/hw/vfio/vfio-common.h >> @@ -0,0 +1

Re: [Qemu-devel] [PATCH v5 06/10] hw/vfio: create common module

2014-08-11 Thread Eric Auger
On 08/11/2014 09:20 PM, Alex Williamson wrote: > On Sat, 2014-08-09 at 15:25 +0100, Eric Auger wrote: >> A new common module is created. It implements all functions >> that have no device specificity (PCI, Platform). >> >> This patch only consists in move (no functional changes) >> >> Signed-off-by

Re: [Qemu-devel] [PATCH v5 06/10] hw/vfio: create common module

2014-08-11 Thread Alex Williamson
On Sat, 2014-08-09 at 15:25 +0100, Eric Auger wrote: > diff --git a/include/hw/vfio/vfio-common.h b/include/hw/vfio/vfio-common.h > new file mode 100644 > index 000..4684ee5 > --- /dev/null > +++ b/include/hw/vfio/vfio-common.h > @@ -0,0 +1,151 @@ > +/* > + * common header for vfio based device

Re: [Qemu-devel] [PATCH v5 06/10] hw/vfio: create common module

2014-08-11 Thread Alex Williamson
On Sat, 2014-08-09 at 15:25 +0100, Eric Auger wrote: > A new common module is created. It implements all functions > that have no device specificity (PCI, Platform). > > This patch only consists in move (no functional changes) > > Signed-off-by: Kim Phillips > Signed-off-by: Eric Auger > > ---

[Qemu-devel] [PATCH v5 06/10] hw/vfio: create common module

2014-08-09 Thread Eric Auger
A new common module is created. It implements all functions that have no device specificity (PCI, Platform). This patch only consists in move (no functional changes) Signed-off-by: Kim Phillips Signed-off-by: Eric Auger --- v4 -> v5: - integrate "sPAPR/IOMMU: Fix TCE entry permission" - VFIOd