Re: [libvirt] [PATCH 11/11] qemu: Emit the guest agent lifecycle event

2014-11-20 Thread Eric Blake
On 11/20/2014 12:03 PM, Peter Krempa wrote: >>> @@ -4369,6 +4370,10 @@ processSerialChangedEvent(virQEMUDriverPtr driver, >>> dev.data.chr->targetType != >>> VIR_DOMAIN_CHR_CHANNEL_TARGET_TYPE_VIRTIO) >>> goto endjob; >>> >>> +if (STREQ_NULLABLE(dev.data.chr->target.name, >

Re: [libvirt] [PATCH 11/11] qemu: Emit the guest agent lifecycle event

2014-11-20 Thread Peter Krempa
On 11/20/14 20:01, Eric Blake wrote: > On 11/19/2014 03:23 AM, Peter Krempa wrote: >> Add code to emit the event on change of the channel state and reconnect >> to the qemu process. >> --- >> src/qemu/qemu_driver.c | 5 + >> src/qemu/qemu_process.c | 13 ++--- >> 2 files changed, 15

Re: [libvirt] [PATCH 11/11] qemu: Emit the guest agent lifecycle event

2014-11-20 Thread Eric Blake
On 11/19/2014 03:23 AM, Peter Krempa wrote: > Add code to emit the event on change of the channel state and reconnect > to the qemu process. > --- > src/qemu/qemu_driver.c | 5 + > src/qemu/qemu_process.c | 13 ++--- > 2 files changed, 15 insertions(+), 3 deletions(-) > > @@ -4369,

[libvirt] [PATCH 11/11] qemu: Emit the guest agent lifecycle event

2014-11-19 Thread Peter Krempa
Add code to emit the event on change of the channel state and reconnect to the qemu process. --- src/qemu/qemu_driver.c | 5 + src/qemu/qemu_process.c | 13 ++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 31b