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

Jean-Baptiste Rouault jean-baptiste.rouault at diateam.net
Tue May 31 13:12:51 UTC 2011


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

-- 
Jean-Baptiste ROUAULT
Ingénieur R&D - Diateam : Architectes de l'information
Phone : +33 (0)9 53 16 02 70 Fax : +33 (0)2 98 050 051




More information about the libvir-list mailing list