27 Mar
2019
27 Mar
'19
11:50 a.m.
On Saturday, 23 March 2019 19:11:21 CET Richard W.M. Jones wrote:
Schema parsing was failing with errors such as:
libguestfs: QMP parse error: '[' or '{' expected near end of file (ignored)
This happened because the QMP command was actually completely failing and never printing a result at all. This happens because the qemu audio driver can't be set up without a console. We can suppress this by setting the environment variable QEMU_AUDIO_DRV=none, which is the same thing that libvirt does, and also the same thing that we are already doing when launching the real appliance subprocess.
See also: https://bugzilla.redhat.com/show_bug.cgi?id=1692047 ---
LGTM. -- Pino Toscano