Re: [libvirt] [PATCH 1/1] virt-aa-helper: add unix channels (esp for qemu-guest-agent)

2015-04-10 Thread Serge Hallyn
Quoting Serge Hallyn (serge.hal...@ubuntu.com): Quoting Ján Tomko (jto...@redhat.com): On Mon, Apr 06, 2015 at 04:12:03PM +, Serge Hallyn wrote: The original bug report was at https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1393842 Signed-off-by: Serge Hallyn

[libvirt] [PATCH] virt-aa-helper: add unix channels (esp for qemu-guest-agent) (v2)

2015-04-10 Thread Serge Hallyn
Changelog (v2): * skip abstract unix sockets Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com --- src/security/virt-aa-helper.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c index e53779e..3f0b167 100644

[libvirt] [PATCH v2 9/9] virsh: Add iothreadadd and iothreaddel commands

2015-04-10 Thread John Ferlan
https://bugzilla.redhat.com/show_bug.cgi?id=1161617 Add command to allow adding and removing IOThreads from the domain including the configuration and live domain. $ virsh iothreadadd --help NAME iothreadadd - add an IOThread to the guest domain SYNOPSIS iothreadadd domain id

[libvirt] [PATCH v2 4/9] qemu: Convert iothreadpids into an array of structures

2015-04-10 Thread John Ferlan
Create qemuDomainIOThreadInfo which currently will just be the thread_id returned from IOThreadInfo, but will soon expand to handle the needs of live IOThread data for adding/deleting IOThread's Signed-off-by: John Ferlan jfer...@redhat.com --- src/qemu/qemu_cgroup.c | 3 ++-

[libvirt] [PATCH v2 8/9] qemu: Add support to Add/Delete IOThreads

2015-04-10 Thread John Ferlan
Add qemuDomainAddIOThread and qemuDomainDelIOThread in order to add or remove an IOThread to/from the host either for live or config optoins The implementation for the 'live' option will use the iothreadpids list in order to make decision, while the 'config' option will use the iothreadids list.

[libvirt] [PATCH v2 2/9] Convert virDomainPinIsDuplicate into bool return

2015-04-10 Thread John Ferlan
Signed-off-by: John Ferlan jfer...@redhat.com --- src/conf/domain_conf.c | 8 src/conf/domain_conf.h | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 880b89c..1f5bf62 100644 --- a/src/conf/domain_conf.c +++

[libvirt] [PATCH v2 7/9] remote: Add support for AddIOThread and DelIOThread

2015-04-10 Thread John Ferlan
Add remote support for the add/delete IOThread API's Signed-off-by: John Ferlan jfer...@redhat.com --- src/remote/remote_driver.c | 2 ++ src/remote/remote_protocol.x | 31 ++- src/remote_protocol-structs | 13 + 3 files changed, 45 insertions(+), 1

[libvirt] [PATCH v2 0/9] Implement Add/Del IOThreads

2015-04-10 Thread John Ferlan
v1: http://www.redhat.com/archives/libvir-list/2015-March/msg01014.html v2 is mostly a completely rewrite of v1 - only smart parts were kept, mostly the concepts behind adding/removing a thread Patches 12: Couple of simple mods - mostly innocuous Patches 3-5 Since it was determined that

[libvirt] [PATCH v2 3/9] conf: Add new domain XML element 'iothreadids'

2015-04-10 Thread John Ferlan
Adding a new XML element 'iothreadids' in order to allow defining specific IOThread ID's rather than relying on the algorithm to assign IOThread ID's starting at 1 and incrementing to iothreads count. This will allow future patches to be able to add new IOThreads by a specific iothread_id and of

[libvirt] [PATCH v2 1/9] Rename qemuCheckIothreads to qemuCheckIOThreads

2015-04-10 Thread John Ferlan
Signed-off-by: John Ferlan jfer...@redhat.com --- src/qemu/qemu_command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 5103599..e7e0937 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -3964,7

[libvirt] [PATCH v2 5/9] qemu: Use domain iothreadids to populate iothreadpids

2015-04-10 Thread John Ferlan
Rather than use the default numbering scheme of 1..number of iothreads defined for the domain, use the iothreadid's list for the iothread_id and possibly augmenting the alias using the iothreadsid name. This also requires adjusting the iothreadpids structure to include room for the iothread_id

[libvirt] [PATCH v2 6/9] Implement virDomainAddIOThread and virDomainDelIOThread

2015-04-10 Thread John Ferlan
Add libvirt API's to manage adding and deleting IOThreads to/from the domain Signed-off-by: John Ferlan jfer...@redhat.com --- include/libvirt/libvirt-domain.h | 7 +++ src/driver-hypervisor.h | 13 src/libvirt-domain.c | 132 +++