[libvirt] [PATCH] openvz: fix bridge devices parsing in openvzReadNetworkConf()

Matthias Bolte matthias.bolte at googlemail.com
Wed Jun 1 10:15:37 UTC 2011


2011/5/31 Jean-Baptiste Rouault <jean-baptiste.rouault at diateam.net>:
> On Tuesday 31 May 2011 14:41:55 Matthias Bolte wrote:
>> I also added a testcase and looked at the other config parsing code in
>> the OpenVZ driver. I thing that openvzLoadDomains is missing this
>> line:
>>
>>   dom->def->virtType = VIR_DOMAIN_VIRT_OPENVZ;
>>
>> Could you do a virsh dumpxml for an OpenVZ guest and check the first
>> line of XML? I think it currently reads
>>
>>   <domain type='qemu'>
>>
>> but should actually read
>>
>>   <domain type='openvz'>
>>
>> and we need to fix this.
>>
>> Matthias
>
> It indeed outputs "<domain type='qemu'>"
>
> Regards,
> Jean-Baptiste

Now fixed by this patch

https://www.redhat.com/archives/libvir-list/2011-June/msg00003.html

Matthias




More information about the libvir-list mailing list