Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-06-19 Thread Marcel Apfelbaum
On 16/06/2017 16:53, Igor Mammedov wrote: On Wed, 14 Jun 2017 19:27:12 -0500 Michael Roth wrote: Quoting Igor Mammedov (2017-06-14 04:00:01) On Tue, 13 Jun 2017 16:42:45 -0500 Michael Roth wrote: Quoting Igor Mammedov (2017-06-09 03:27:33) [...] But that raises a 2nd point. Our dile

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-06-18 Thread David Gibson
On Sun, Jun 18, 2017 at 07:37:00AM -0500, Michael Roth wrote: > Quoting David Gibson (2017-06-18 04:59:33) > > On Fri, Jun 16, 2017 at 11:15:46AM -0500, Michael Roth wrote: > > > Quoting David Gibson (2017-06-16 09:40:53) > > > > On Fri, Jun 16, 2017 at 03:53:12PM +0200, Igor Mammedov wrote: > > >

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-06-18 Thread Michael Roth
Quoting David Gibson (2017-06-18 05:24:22) > On Fri, Jun 16, 2017 at 12:19:26PM -0500, Michael Roth wrote: > > Quoting Igor Mammedov (2017-06-16 08:53:12) > > > On Wed, 14 Jun 2017 19:27:12 -0500 > > > Michael Roth wrote: > > > > > > > Quoting Igor Mammedov (2017-06-14 04:00:01) > > > > > On Tue,

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-06-18 Thread Michael Roth
Quoting David Gibson (2017-06-18 04:59:33) > On Fri, Jun 16, 2017 at 11:15:46AM -0500, Michael Roth wrote: > > Quoting David Gibson (2017-06-16 09:40:53) > > > On Fri, Jun 16, 2017 at 03:53:12PM +0200, Igor Mammedov wrote: > > > > On Wed, 14 Jun 2017 19:27:12 -0500 > > > > Michael Roth wrote: > >

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-06-18 Thread David Gibson
On Fri, Jun 16, 2017 at 11:15:46AM -0500, Michael Roth wrote: > Quoting David Gibson (2017-06-16 09:40:53) > > On Fri, Jun 16, 2017 at 03:53:12PM +0200, Igor Mammedov wrote: > > > On Wed, 14 Jun 2017 19:27:12 -0500 > > > Michael Roth wrote: > > > > > > > Quoting Igor Mammedov (2017-06-14 04:00:01

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-06-18 Thread David Gibson
On Fri, Jun 16, 2017 at 12:19:26PM -0500, Michael Roth wrote: > Quoting Igor Mammedov (2017-06-16 08:53:12) > > On Wed, 14 Jun 2017 19:27:12 -0500 > > Michael Roth wrote: > > > > > Quoting Igor Mammedov (2017-06-14 04:00:01) > > > > On Tue, 13 Jun 2017 16:42:45 -0500 > > > > Michael Roth wrote:

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-06-16 Thread Michael Roth
Quoting Igor Mammedov (2017-06-16 08:53:12) > On Wed, 14 Jun 2017 19:27:12 -0500 > Michael Roth wrote: > > > Quoting Igor Mammedov (2017-06-14 04:00:01) > > > On Tue, 13 Jun 2017 16:42:45 -0500 > > > Michael Roth wrote: > > > > > > > Quoting Igor Mammedov (2017-06-09 03:27:33) > [...] > >

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-06-16 Thread Michael Roth
Quoting David Gibson (2017-06-16 09:40:53) > On Fri, Jun 16, 2017 at 03:53:12PM +0200, Igor Mammedov wrote: > > On Wed, 14 Jun 2017 19:27:12 -0500 > > Michael Roth wrote: > > > > > Quoting Igor Mammedov (2017-06-14 04:00:01) > > > > On Tue, 13 Jun 2017 16:42:45 -0500 > > > > Michael Roth wrote:

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-06-16 Thread Igor Mammedov
On Fri, 16 Jun 2017 22:40:53 +0800 David Gibson wrote: > On Fri, Jun 16, 2017 at 03:53:12PM +0200, Igor Mammedov wrote: > > On Wed, 14 Jun 2017 19:27:12 -0500 > > Michael Roth wrote: > > > > > Quoting Igor Mammedov (2017-06-14 04:00:01) > > > > On Tue, 13 Jun 2017 16:42:45 -0500 > > > > Mic

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-06-16 Thread David Gibson
On Fri, Jun 16, 2017 at 03:53:12PM +0200, Igor Mammedov wrote: > On Wed, 14 Jun 2017 19:27:12 -0500 > Michael Roth wrote: > > > Quoting Igor Mammedov (2017-06-14 04:00:01) > > > On Tue, 13 Jun 2017 16:42:45 -0500 > > > Michael Roth wrote: > > > > > > > Quoting Igor Mammedov (2017-06-09 03:27:

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-06-16 Thread Igor Mammedov
On Wed, 14 Jun 2017 19:27:12 -0500 Michael Roth wrote: > Quoting Igor Mammedov (2017-06-14 04:00:01) > > On Tue, 13 Jun 2017 16:42:45 -0500 > > Michael Roth wrote: > > > > > Quoting Igor Mammedov (2017-06-09 03:27:33) [...] > > Currently I'd suggest to look into always migrate DRCs if cpu

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-06-14 Thread Michael Roth
Quoting Igor Mammedov (2017-06-14 04:00:01) > On Tue, 13 Jun 2017 16:42:45 -0500 > Michael Roth wrote: > > > Quoting Igor Mammedov (2017-06-09 03:27:33) > > > On Thu, 08 Jun 2017 15:00:53 -0500 > > > Michael Roth wrote: > > > > > > > Quoting David Gibson (2017-05-30 23:35:57) > > > > > On T

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-06-14 Thread Dr. David Alan Gilbert
* Igor Mammedov (imamm...@redhat.com) wrote: > On Tue, 13 Jun 2017 16:42:45 -0500 > Michael Roth wrote: > > > Quoting Igor Mammedov (2017-06-09 03:27:33) > > > On Thu, 08 Jun 2017 15:00:53 -0500 > > > Michael Roth wrote: > > > > > > > Quoting David Gibson (2017-05-30 23:35:57) > > > > > On

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-06-14 Thread Juan Quintela
Igor Mammedov wrote: > On Tue, 13 Jun 2017 16:42:45 -0500 > Michael Roth wrote: > >> Quoting Igor Mammedov (2017-06-09 03:27:33) >> > On Thu, 08 Jun 2017 15:00:53 -0500 >> > Michael Roth wrote: >> > >> > > Quoting David Gibson (2017-05-30 23:35:57) >> > > > On Tue, May 30, 2017 at 06:04:45P

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-06-14 Thread Igor Mammedov
On Tue, 13 Jun 2017 16:42:45 -0500 Michael Roth wrote: > Quoting Igor Mammedov (2017-06-09 03:27:33) > > On Thu, 08 Jun 2017 15:00:53 -0500 > > Michael Roth wrote: > > > > > Quoting David Gibson (2017-05-30 23:35:57) > > > > On Tue, May 30, 2017 at 06:04:45PM +0200, Laurent Vivier wrote:

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-06-13 Thread Michael Roth
Quoting Igor Mammedov (2017-06-09 03:27:33) > On Thu, 08 Jun 2017 15:00:53 -0500 > Michael Roth wrote: > > > Quoting David Gibson (2017-05-30 23:35:57) > > > On Tue, May 30, 2017 at 06:04:45PM +0200, Laurent Vivier wrote: > > > > For QEMU, a hotlugged device is a device added using the HMP/QMP

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-06-09 Thread David Gibson
On Fri, Jun 09, 2017 at 10:27:33AM +0200, Igor Mammedov wrote: > On Thu, 08 Jun 2017 15:00:53 -0500 > Michael Roth wrote: > > > Quoting David Gibson (2017-05-30 23:35:57) > > > On Tue, May 30, 2017 at 06:04:45PM +0200, Laurent Vivier wrote: > > > > For QEMU, a hotlugged device is a device added

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-06-09 Thread David Gibson
On Thu, Jun 08, 2017 at 03:00:53PM -0500, Michael Roth wrote: > Quoting David Gibson (2017-05-30 23:35:57) > > On Tue, May 30, 2017 at 06:04:45PM +0200, Laurent Vivier wrote: > > > For QEMU, a hotlugged device is a device added using the HMP/QMP > > > interface. > > > For SPAPR, a hotplugged device

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-06-09 Thread Igor Mammedov
On Thu, 08 Jun 2017 15:00:53 -0500 Michael Roth wrote: > Quoting David Gibson (2017-05-30 23:35:57) > > On Tue, May 30, 2017 at 06:04:45PM +0200, Laurent Vivier wrote: > > > For QEMU, a hotlugged device is a device added using the HMP/QMP > > > interface. > > > For SPAPR, a hotplugged device is

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-06-08 Thread Michael Roth
Quoting David Gibson (2017-05-30 23:35:57) > On Tue, May 30, 2017 at 06:04:45PM +0200, Laurent Vivier wrote: > > For QEMU, a hotlugged device is a device added using the HMP/QMP > > interface. > > For SPAPR, a hotplugged device is a device added while the > > machine is running. In this case QEMU d

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-05-31 Thread Igor Mammedov
On Wed, 31 May 2017 14:35:57 +1000 David Gibson wrote: > On Tue, May 30, 2017 at 06:04:45PM +0200, Laurent Vivier wrote: > > For QEMU, a hotlugged device is a device added using the HMP/QMP > > interface. > > For SPAPR, a hotplugged device is a device added while the > > machine is running. In th

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-05-31 Thread Laurent Vivier
On 31/05/2017 06:35, David Gibson wrote: > On Tue, May 30, 2017 at 06:04:45PM +0200, Laurent Vivier wrote: >> For QEMU, a hotlugged device is a device added using the HMP/QMP >> interface. >> For SPAPR, a hotplugged device is a device added while the >> machine is running. In this case QEMU doesn't

Re: [Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-05-30 Thread David Gibson
On Tue, May 30, 2017 at 06:04:45PM +0200, Laurent Vivier wrote: > For QEMU, a hotlugged device is a device added using the HMP/QMP > interface. > For SPAPR, a hotplugged device is a device added while the > machine is running. In this case QEMU doesn't update internal > state but relies on the OS f

[Qemu-devel] [PATCH] spapr: manage hotplugged devices while the VM is not started

2017-05-30 Thread Laurent Vivier
For QEMU, a hotlugged device is a device added using the HMP/QMP interface. For SPAPR, a hotplugged device is a device added while the machine is running. In this case QEMU doesn't update internal state but relies on the OS for this part In the case of migration, when we (libvirt) hotplug a device