[libvirt] [PATCH] Make QEMU text monitor parsing more robust

Matthias Bolte matthias.bolte at googlemail.com
Tue Dec 8 20:49:46 UTC 2009

2009/12/8 Daniel P. Berrange <berrange at redhat.com>:
> The QEMU 0.10.0 release (and possibly other 0.10.x) has a bug where
> it sometimes/often forgets to display the initial monitor greeting
> line, soley printing a (qemu).  This in turn confuses the text
> console parsing because it has a '(qemu)' it is not expecting. The
> confusion results in a negative malloc. Bad things follow.
> This re-writes the text console handling to be more robust. The key
> idea is that it should only look for a (qemu), once it has seen the
> original command echo'd back. This ensures it'll skip the bogus stray
> (qemu) with broken QEMUs.

ACK. Works like a charm now.


More information about the libvir-list mailing list