Re: [PATCH] vmx: Fix a VMX parsing problem.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/07/2015 04:45 PM, Geoff Hickey wrote:
> VMware ESX does not always set the "serialX.fileType" tag in VMX files. The
> default value for this tag is "device", and when adding a new serial port
> of this type VMware will omit the fileType tag. This caused libvirt to
> fail to parse the VMX file. Fixed by making this tag optional and using
> "device" as a default value. Also updated vmx2xmltest to test for this
> case.

Thanks for tackling the testsuite, too :)

> 
> Conflicts:
> 	src/vmx/vmx.c

The conflicts marker is generally only useful for downstream builds that
cherry-pick patches.  For upstream, we don't need it.

> ---
>  src/vmx/vmx.c                               | 10 +++++++---
>  tests/vmx2xmldata/vmx2xml-serial-device.vmx |  2 ++
>  tests/vmx2xmldata/vmx2xml-serial-device.xml |  4 ++++
>  3 files changed, 13 insertions(+), 3 deletions(-)

ACK, and will push shortly, with amended message.


-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]