Re: [Spice-devel] [PATCH spice-gtk v2] glib: add SpiceQmpPort helper

2018-09-21 Thread Victor Toso
Hi, On Fri, Sep 21, 2018 at 02:31:40PM +0400, Marc-André Lureau wrote: > Hi > > On Fri, Sep 21, 2018 at 1:24 PM Victor Toso wrote: > > > > Hi, > > > > On Thu, Sep 20, 2018 at 12:01:37AM +0400, marcandre.lur...@redhat.com wrote: > > > From: Marc-André Lureau > > > > > > Add a few helper function

Re: [Spice-devel] [PATCH spice-gtk v2] glib: add SpiceQmpPort helper

2018-09-21 Thread Marc-André Lureau
Hi On Fri, Sep 21, 2018 at 1:24 PM Victor Toso wrote: > > Hi, > > On Thu, Sep 20, 2018 at 12:01:37AM +0400, marcandre.lur...@redhat.com wrote: > > From: Marc-André Lureau > > > > Add a few helper functions to deal with a QMP port channel, in order > > to ease json handling, and wrapping a few co

Re: [Spice-devel] [PATCH spice-gtk v2] glib: add SpiceQmpPort helper

2018-09-21 Thread Victor Toso
Hi, On Thu, Sep 20, 2018 at 12:01:37AM +0400, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > Add a few helper functions to deal with a QMP port channel, in order > to ease json handling, and wrapping a few commands. > > (by convention, the port should have the name > "org.qemu

[Spice-devel] [PATCH spice-gtk v2] glib: add SpiceQmpPort helper

2018-09-19 Thread marcandre . lureau
From: Marc-André Lureau Add a few helper functions to deal with a QMP port channel, in order to ease json handling, and wrapping a few commands. (by convention, the port should have the name "org.qemu.monitor.qmp.0", but it's not strictly required) This helper is put into use in the virt-viewer