Re: [libvirt] [PATCH v5 02/10] qemu: Use domain iothreadids to IOThread's 'thread_id'

2015-04-27 Thread John Ferlan
On 04/27/2015 10:08 AM, Peter Krempa wrote: On Fri, Apr 24, 2015 at 12:05:54 -0400, John Ferlan wrote: Add 'thread_id' to the virDomainIOThreadIDDef as a means to store the 'thread_id' as returned from the live qemu monitor data. Remove the iothreadpids list from _qemuDomainObjPrivate and

Re: [libvirt] [PATCH v5 02/10] qemu: Use domain iothreadids to IOThread's 'thread_id'

2015-04-27 Thread Peter Krempa
On Fri, Apr 24, 2015 at 12:05:54 -0400, John Ferlan wrote: Add 'thread_id' to the virDomainIOThreadIDDef as a means to store the 'thread_id' as returned from the live qemu monitor data. Remove the iothreadpids list from _qemuDomainObjPrivate and replace with the new iothreadids 'thread_id'

Re: [libvirt] [PATCH v5 02/10] qemu: Use domain iothreadids to IOThread's 'thread_id'

2015-04-27 Thread Peter Krempa
On Mon, Apr 27, 2015 at 10:49:32 -0400, John Ferlan wrote: On 04/27/2015 10:08 AM, Peter Krempa wrote: On Fri, Apr 24, 2015 at 12:05:54 -0400, John Ferlan wrote: Add 'thread_id' to the virDomainIOThreadIDDef as a means to store the 'thread_id' as returned from the live qemu monitor

Re: [libvirt] [PATCH v5 02/10] qemu: Use domain iothreadids to IOThread's 'thread_id'

2015-04-27 Thread Peter Krempa
On Mon, Apr 27, 2015 at 11:25:15 -0400, John Ferlan wrote: ... --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -2267,12 +2267,16 @@ qemuProcessDetectIOThreadPIDs(virQEMUDriverPtr driver, goto cleanup; } A few lines prior here is the check that the

Re: [libvirt] [PATCH v5 02/10] qemu: Use domain iothreadids to IOThread's 'thread_id'

2015-04-27 Thread Peter Krempa
On Mon, Apr 27, 2015 at 11:56:20 -0400, John Ferlan wrote: On 04/27/2015 11:46 AM, Peter Krempa wrote: On Mon, Apr 27, 2015 at 11:25:15 -0400, John Ferlan wrote: ... --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -2267,12 +2267,16 @@

Re: [libvirt] [PATCH v5 02/10] qemu: Use domain iothreadids to IOThread's 'thread_id'

2015-04-27 Thread John Ferlan
... --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -2267,12 +2267,16 @@ qemuProcessDetectIOThreadPIDs(virQEMUDriverPtr driver, goto cleanup; } A few lines prior here is the check that the expected thread count equals to the actual thread count. For some

Re: [libvirt] [PATCH v5 02/10] qemu: Use domain iothreadids to IOThread's 'thread_id'

2015-04-27 Thread John Ferlan
On 04/27/2015 11:46 AM, Peter Krempa wrote: On Mon, Apr 27, 2015 at 11:25:15 -0400, John Ferlan wrote: ... --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -2267,12 +2267,16 @@ qemuProcessDetectIOThreadPIDs(virQEMUDriverPtr driver, goto cleanup; } A few

[libvirt] [PATCH v5 02/10] qemu: Use domain iothreadids to IOThread's 'thread_id'

2015-04-24 Thread John Ferlan
Add 'thread_id' to the virDomainIOThreadIDDef as a means to store the 'thread_id' as returned from the live qemu monitor data. Remove the iothreadpids list from _qemuDomainObjPrivate and replace with the new iothreadids 'thread_id' element. Rather than use the default numbering scheme of