[Libguestfs] [PATCH] lib: direct: Set QEMU_AUDIO_DRV=none when testing schema.

Pino Toscano ptoscano at redhat.com
Wed Mar 27 11:50:43 UTC 2019


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20190327/bff14f84/attachment.sig>


More information about the Libguestfs mailing list