[libvirt] [PATCH] vmware: make version parsing more robust

Ján Tomko jtomko at redhat.com
Mon Apr 28 11:46:54 UTC 2014


On 04/09/2014 11:59 AM, Jean-Baptiste Rouault wrote:
> Since commit d69415d4, vmware version is parsed from both stdout and
> stderr. This patch makes version parsing work even if there is garbage
> (libvirt debug messages for example) in the command output.

For libvirt's debug messages, we have virLogProbablyLogMessage that can check
if the message matches libvirt's format.

Should we really ignore all garbage?

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140428/cc54578b/attachment-0001.sig>


More information about the libvir-list mailing list