Re: [libvirt] [PATCH] esx: Make the conf parser compare names case insensitive in VMX mode

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

 



Patch successfully resolves this issue. Tested with previously failing domains.

Thanks,
Paul

On Thu, Mar 25, 2010 at 9:05 AM, Matthias Bolte <matthias.bolte@xxxxxxxxxxxxxx> wrote:
2010/3/24 Daniel Veillard <veillard@xxxxxxxxxx>:
> On Wed, Mar 24, 2010 at 02:12:14AM +0100, Matthias Bolte wrote:
>> The keys of entries in a VMX file are case insensitive. Both scsi0:1.fileName
>> and scsi0:1.filename are valid. Therefore, make the conf parser compare names
>> case insensitive in VMX mode to accept every capitalization variation.
>>
>> Also add test cases for this.
>> ---
>>  src/util/conf.c                                  |    5 ++-
>>  tests/vmx2xmldata/vmx2xml-case-insensitive-1.vmx |   51 ++++++++++++++++++++++
>>  tests/vmx2xmldata/vmx2xml-case-insensitive-1.xml |   25 +++++++++++
>>  tests/vmx2xmldata/vmx2xml-case-insensitive-2.vmx |   51 ++++++++++++++++++++++
>>  tests/vmx2xmldata/vmx2xml-case-insensitive-2.xml |   25 +++++++++++
>>  tests/vmx2xmltest.c                              |    9 ++++
>>  6 files changed, 165 insertions(+), 1 deletions(-)
>>  create mode 100644 tests/vmx2xmldata/vmx2xml-case-insensitive-1.vmx
>>  create mode 100644 tests/vmx2xmldata/vmx2xml-case-insensitive-1.xml
>>  create mode 100644 tests/vmx2xmldata/vmx2xml-case-insensitive-2.vmx
>>  create mode 100644 tests/vmx2xmldata/vmx2xml-case-insensitive-2.xml
>
>  Patch for issue raised privately by Paul Dorman, looks fine to me,
>  ACK,
>
> Daniel
>

Thanks, pushed.

Matthias

--
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]