2009/7/27 Tom Hughes <tom(a)compton.nu>:
On 27/07/09 09:19, Matthias Bolte wrote:
>
> 2009/7/27 Tom Hughes<tom(a)compton.nu>:
>
>> Patching libvirt to allow the 4.0 API version allows me to connect and
>> list
>> guests, but trying to dumpxml a guest definition fails:
>>
>> virsh # dumpxml alvis
>> error: memory conf:1: expecting a name
>
> What's the content of line number 1 of the alvis.vmx file?
The first two lines are:
.encoding = "UTF-8"
config.version = "8"
Looking at an ESX3i one I see the .encoding line is not there so I guess
that is the problem.
Yes, the leading dot is the problem. I'll have to tweak the config
parser to allow for leading dots.
Regards,
Matthias