Re: [Xen-devel] [PATCH v6 08/11] libxl: QEMU startup sync based on QMP

2018-11-22 Thread Ian Jackson
Anthony PERARD writes ("Re: [PATCH v6 08/11] libxl: QEMU startup sync based on QMP"): > On Wed, Nov 21, 2018 at 04:49:06PM +, Anthony PERARD wrote: > > I wounder what to do for this. > > Maybe invent a JSON macro which would be: > > JSON(o) (libxl__json_object_to_json(gc, (o)) : ? "\"null\

Re: [Xen-devel] [PATCH v6 08/11] libxl: QEMU startup sync based on QMP

2018-11-22 Thread Anthony PERARD
On Wed, Nov 21, 2018 at 04:49:06PM +, Anthony PERARD wrote: > On Fri, Nov 16, 2018 at 12:14:43PM +, Ian Jackson wrote: > > Anthony PERARD writes ("[PATCH v6 08/11] libxl: QEMU startup sync based on > > QMP"): > > > +LOGD(DEBUG, ev->domid, ".. instead, got: %s", > > > +

Re: [Xen-devel] [PATCH v6 08/11] libxl: QEMU startup sync based on QMP

2018-11-21 Thread Anthony PERARD
On Fri, Nov 16, 2018 at 12:14:43PM +, Ian Jackson wrote: > Anthony PERARD writes ("[PATCH v6 08/11] libxl: QEMU startup sync based on > QMP"): > > This is only activated when dm_restrict=1, as explained in the previous > > patch "libxl_dm: Pre-open QMP socket for QEMU" > ... > > Signed-off-by:

Re: [Xen-devel] [PATCH v6 08/11] libxl: QEMU startup sync based on QMP

2018-11-16 Thread Ian Jackson
Anthony PERARD writes ("[PATCH v6 08/11] libxl: QEMU startup sync based on QMP"): > This is only activated when dm_restrict=1, as explained in the previous > patch "libxl_dm: Pre-open QMP socket for QEMU" ... > Signed-off-by: Anthony PERARD > Reviewed-by: Roger Pau Monné Thanks. I think I have

[Xen-devel] [PATCH v6 08/11] libxl: QEMU startup sync based on QMP

2018-11-12 Thread Anthony PERARD
This is only activated when dm_restrict=1, as explained in the previous patch "libxl_dm: Pre-open QMP socket for QEMU" Signed-off-by: Anthony PERARD Reviewed-by: Roger Pau Monné --- Notes: v6: invent ERROR_QEMU_API return better rc: ERROR_QEMU_API or ERROR_NOT_READY