[libvirt-users] access VMX config on esxi with virsh

Matthias Bolte matthias.bolte at googlemail.com
Wed Sep 22 22:39:58 UTC 2010


Okay, the problem is in libvirt's VMX parser. This entry in the VMX file:

  guest.commands.sharedSecretLogin.hostd-quiescedsnap = "..."

contains a '-' in the name. The parser doesn't expect this and outputs
the error you see.

I posted a patch to the list (and CCed you) that fixes this bug and
adds a new test case based on your attached .vmx file.

Matthias

2010/9/22 frank dirks <frankdirks at gmx.net>:
> Hi,
>
> you are right - the problem is specific to only that one vmx file - for other virtual machines dumpxml is working, as i found out.
>
> i am using esxi 4.1.0 and virsh 0.8.4. the machine was created using vsphere client, and was cloned and renamed afterwards - maybe that was the problem ...
>
> regards, frank
>
>
>
>
>
>>
>> Hm, that's strange. The .vmx config seems to be malformed.
>>
>> What libvirt version and what ESXi version do you use?
>>
>> How did you create the vmtest.local guest and can you start it?
>>
>> Could you show us the original .vmx config file? You can get if by
>> opening https://esx1.local/folder/ in a web browser and clicking
>> through the directory tree until you get to vmtest.local.vmx.
>>
>> Matthias
>
> --
> Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
> Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
>




More information about the libvirt-users mailing list