Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-18 Thread Marcel Apfelbaum
On 01/13/2017 01:14 AM, David Gibson wrote: On Thu, Jan 12, 2017 at 11:03:05AM -0500, Laine Stump wrote: On 01/05/2017 12:46 AM, David Gibson wrote: There was a discussion back in November on the qemu list which spilled onto the libvirt list about how to add support for PCIe devices to POWER VM

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-18 Thread Marcel Apfelbaum
On 01/12/2017 07:53 PM, Laine Stump wrote: On 01/12/2017 11:35 AM, Michael Roth wrote: Quoting Laine Stump (2017-01-12 08:52:10) [...] Yeah you're right, I'm probably remembering the wrong problem and wrong reason for the problem. I just remember there was *some* issue about hotplugging n

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-13 Thread Greg Kurz
On Fri, 13 Jan 2017 09:57:36 +1100 David Gibson wrote: > On Thu, Jan 12, 2017 at 11:31:35AM +0100, Andrea Bolognani wrote: > > On Mon, 2017-01-09 at 10:46 +1100, David Gibson wrote: > > > > >* To allow for hotplugged devices, libvirt should also add a number > > > > >  of additional, em

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-13 Thread Greg Kurz
On Fri, 13 Jan 2017 15:48:31 +1100 David Gibson wrote: > On Thu, Jan 12, 2017 at 10:09:03AM +0100, Greg Kurz wrote: > > On Thu, 12 Jan 2017 17:19:40 +1100 > > Alexey Kardashevskiy wrote: > > > > > On 12/01/17 14:52, David Gibson wrote: > > > > On Fri, Jan 06, 2017 at 12:57:58PM +0100, Greg

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-12 Thread Alexey Kardashevskiy
On 13/01/17 15:48, David Gibson wrote: > On Thu, Jan 12, 2017 at 10:09:03AM +0100, Greg Kurz wrote: >> On Thu, 12 Jan 2017 17:19:40 +1100 >> Alexey Kardashevskiy wrote: >> >>> On 12/01/17 14:52, David Gibson wrote: On Fri, Jan 06, 2017 at 12:57:58PM +0100, Greg Kurz wrote: > On Thu, 5 J

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-12 Thread David Gibson
On Thu, Jan 12, 2017 at 10:09:03AM +0100, Greg Kurz wrote: > On Thu, 12 Jan 2017 17:19:40 +1100 > Alexey Kardashevskiy wrote: > > > On 12/01/17 14:52, David Gibson wrote: > > > On Fri, Jan 06, 2017 at 12:57:58PM +0100, Greg Kurz wrote: > > >> On Thu, 5 Jan 2017 16:46:18 +1100 > > >> David Gibso

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-12 Thread David Gibson
On Thu, Jan 12, 2017 at 11:31:35AM +0100, Andrea Bolognani wrote: > On Mon, 2017-01-09 at 10:46 +1100, David Gibson wrote: > > > >* To allow for hotplugged devices, libvirt should also add a number > > > >  of additional, empty vPHBs (the PAPR spec allows for hotplug of > > > >  PHBs, b

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-12 Thread David Gibson
On Thu, Jan 12, 2017 at 12:53:28PM -0500, Laine Stump wrote: > On 01/12/2017 11:35 AM, Michael Roth wrote: > > Quoting Laine Stump (2017-01-12 08:52:10) > > > On 01/12/2017 05:31 AM, Andrea Bolognani wrote: > > > > On Mon, 2017-01-09 at 10:46 +1100, David Gibson wrote: > > > > > > > * To allow

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-12 Thread David Gibson
On Thu, Jan 12, 2017 at 11:03:05AM -0500, Laine Stump wrote: > On 01/05/2017 12:46 AM, David Gibson wrote: > > There was a discussion back in November on the qemu list which spilled > > onto the libvirt list about how to add support for PCIe devices to > > POWER VMs, specifically 'pseries' machine

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-12 Thread Laine Stump
On 01/12/2017 11:35 AM, Michael Roth wrote: Quoting Laine Stump (2017-01-12 08:52:10) On 01/12/2017 05:31 AM, Andrea Bolognani wrote: On Mon, 2017-01-09 at 10:46 +1100, David Gibson wrote: * To allow for hotplugged devices, libvirt should also add a number of additional, empty vPHBs

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-12 Thread Michael Roth
Quoting Laine Stump (2017-01-12 08:52:10) > On 01/12/2017 05:31 AM, Andrea Bolognani wrote: > > On Mon, 2017-01-09 at 10:46 +1100, David Gibson wrote: > * To allow for hotplugged devices, libvirt should also add a number > of additional, empty vPHBs (the PAPR spec allows for hot

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-12 Thread Laine Stump
On 01/05/2017 12:46 AM, David Gibson wrote: There was a discussion back in November on the qemu list which spilled onto the libvirt list about how to add support for PCIe devices to POWER VMs, specifically 'pseries' machine type PAPR guests. Here's a more concrete proposal for how to handle part

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-12 Thread Laine Stump
On 01/12/2017 05:31 AM, Andrea Bolognani wrote: On Mon, 2017-01-09 at 10:46 +1100, David Gibson wrote: * To allow for hotplugged devices, libvirt should also add a number of additional, empty vPHBs (the PAPR spec allows for hotplug of PHBs, but this is not yet implemented in qemu

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-12 Thread Andrea Bolognani
On Mon, 2017-01-09 at 10:46 +1100, David Gibson wrote: > > >* To allow for hotplugged devices, libvirt should also add a number > > >  of additional, empty vPHBs (the PAPR spec allows for hotplug of > > >  PHBs, but this is not yet implemented in qemu). > >  > > "A number" here will hav

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-12 Thread Greg Kurz
On Thu, 12 Jan 2017 17:19:40 +1100 Alexey Kardashevskiy wrote: > On 12/01/17 14:52, David Gibson wrote: > > On Fri, Jan 06, 2017 at 12:57:58PM +0100, Greg Kurz wrote: > >> On Thu, 5 Jan 2017 16:46:18 +1100 > >> David Gibson wrote: > >> > >>> There was a discussion back in November on the qem

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-11 Thread Alexey Kardashevskiy
On 12/01/17 14:52, David Gibson wrote: > On Fri, Jan 06, 2017 at 12:57:58PM +0100, Greg Kurz wrote: >> On Thu, 5 Jan 2017 16:46:18 +1100 >> David Gibson wrote: >> >>> There was a discussion back in November on the qemu list which spilled >>> onto the libvirt list about how to add support for PCIe

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-11 Thread David Gibson
On Fri, Jan 06, 2017 at 12:57:58PM +0100, Greg Kurz wrote: > On Thu, 5 Jan 2017 16:46:18 +1100 > David Gibson wrote: > > > There was a discussion back in November on the qemu list which spilled > > onto the libvirt list about how to add support for PCIe devices to > > POWER VMs, specifically 'pse

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-08 Thread David Gibson
On Fri, Jan 06, 2017 at 12:57:58PM +0100, Greg Kurz wrote: > On Thu, 5 Jan 2017 16:46:18 +1100 > David Gibson wrote: > > > There was a discussion back in November on the qemu list which spilled > > onto the libvirt list about how to add support for PCIe devices to > > POWER VMs, specifically 'pse

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-08 Thread David Gibson
On Fri, Jan 06, 2017 at 06:34:29PM +0100, Andrea Bolognani wrote: > [Added Laine to CC, fixed qemu-devel address] > > On Thu, 2017-01-05 at 16:46 +1100, David Gibson wrote: > [...] > >   * To allow for hotplugged devices, libvirt should also add a number > > of additional, empty vPHBs (the PAP

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-06 Thread Andrea Bolognani
[Added Laine to CC, fixed qemu-devel address] On Thu, 2017-01-05 at 16:46 +1100, David Gibson wrote: [...] >   * To allow for hotplugged devices, libvirt should also add a number > of additional, empty vPHBs (the PAPR spec allows for hotplug of > PHBs, but this is not yet implemented in qe

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-06 Thread Greg Kurz
Resending because of bad qemu-devel address... On Thu, 5 Jan 2017 16:46:18 +1100 David Gibson wrote: > There was a discussion back in November on the qemu list which spilled > onto the libvirt list about how to add support for PCIe devices to > POWER VMs, specifically 'pseries' machine type PAPR

Re: [libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-06 Thread Greg Kurz
On Thu, 5 Jan 2017 16:46:18 +1100 David Gibson wrote: > There was a discussion back in November on the qemu list which spilled > onto the libvirt list about how to add support for PCIe devices to > POWER VMs, specifically 'pseries' machine type PAPR guests. > > Here's a more concrete proposal fo

[libvirt] Proposal PCI/PCIe device placement on PAPR guests

2017-01-04 Thread David Gibson
There was a discussion back in November on the qemu list which spilled onto the libvirt list about how to add support for PCIe devices to POWER VMs, specifically 'pseries' machine type PAPR guests. Here's a more concrete proposal for how to handle part of this in future from the libvirt side. Str