Re: [libvirt] non-standard types in remote XDR definitions

2017-01-25 Thread Matt Broadstone
On Wed, Jan 25, 2017 at 10:59 AM, Daniel P. Berrange <berra...@redhat.com> wrote: > On Wed, Jan 25, 2017 at 10:55:37AM -0500, Matt Broadstone wrote: >> Hello, >> >> I have been experimenting with the remote protocol defined in the >> `src/remote/remote_protocol.

[libvirt] non-standard types in remote XDR definitions

2017-01-25 Thread Matt Broadstone
Hello, I have been experimenting with the remote protocol defined in the `src/remote/remote_protocol.x` (https://libvirt.org/git/?p=libvirt.git;a=blob_plain;f=src/remote/remote_protocol.x;hb=HEAD), and noticed that there a number of types used that are not defined in the XDR RFC, specifically:

[libvirt] [PATCHv2] qemu: Emit domain events for all virtio-serial channels

2016-11-14 Thread Matt Broadstone
Presently domain events are emitted for the "agent lifecycle" which is a specialization on virtio-serial events specific to the channel named "org.qemu.guest_agent.0". This patch adds a generic event for "channel lifecycles", which emit state change events for all attached channels. ---

Re: [libvirt] [PATCH] qemu: Emit domain events for all virtio-serial channels

2016-11-11 Thread Matt Broadstone
On Fri, Nov 11, 2016 at 5:13 AM, Peter Krempa <pkre...@redhat.com> wrote: > On Mon, Nov 07, 2016 at 15:48:35 -0500, Matt Broadstone wrote: >> Presently domain events are emitted for the "agent lifecycle" which >> is a specialization on virtio-serial events s

Re: [libvirt] [PATCH] qemu: Emit domain events for all virtio-serial channels

2016-11-11 Thread Matt Broadstone
rote: >> > > On Fri, Nov 11, 2016 at 10:18:00 +, Daniel Berrange wrote: >> > > > On Fri, Nov 11, 2016 at 11:13:19AM +0100, Peter Krempa wrote: >> > > > > On Mon, Nov 07, 2016 at 15:48:35 -0500, Matt Broadstone wrote: >> &g

[libvirt] [PATCH] qemu: Emit domain events for all virtio-serial channels

2016-11-07 Thread Matt Broadstone
Presently domain events are emitted for the "agent lifecycle" which is a specialization on virtio-serial events specific to the channel named "org.qemu.guest_agent.0". This patch adds a generic event for "channel lifecycles", which emit state change events for all attached channels. ---

Re: [libvirt] qemu: domain notification for serial channel changes

2016-11-07 Thread Matt Broadstone
On Mon, Nov 7, 2016 at 8:52 AM, Matt Broadstone <mbroa...@gmail.com> wrote: > On Mon, Nov 7, 2016 at 8:35 AM, Peter Krempa <pkre...@redhat.com> wrote: >> On Mon, Nov 07, 2016 at 13:31:30 +, Daniel Berrange wrote: >>> On Mon, Nov 07, 2016 at 08:22:59AM -0500, M

Re: [libvirt] qemu: domain notification for serial channel changes

2016-11-07 Thread Matt Broadstone
On Mon, Nov 7, 2016 at 8:35 AM, Peter Krempa <pkre...@redhat.com> wrote: > On Mon, Nov 07, 2016 at 13:31:30 +, Daniel Berrange wrote: >> On Mon, Nov 07, 2016 at 08:22:59AM -0500, Matt Broadstone wrote: >> > Hi, >> > >> > I was in the process

[libvirt] qemu: domain notification for serial channel changes

2016-11-07 Thread Matt Broadstone
Hi, I was in the process of implementing a custom qemu agent which communicates over virtio-serial channels, when I noticed that the only way to receive channel state change notifications was to poll the domstatus XML file. There does seem to be code in libvirt to monitor for serial change events