[libvirt-users] Create virtual machine failed using virDomainCreateXML
Michal Privoznik
mprivozn at redhat.com
Thu Jan 25 09:14:39 UTC 2018
On 01/25/2018 02:47 AM, netsurfed wrote:
> Dear Michal:
> I'm sorry. The pasting XML I described earlier is wrong, and the real thing is:
> <interface type='bridge'>
> <mac address='52:54:00:0a:2b:2a'/>
> <source bridge='lcs_br_1'/>
> <virtualport type='openvswitch'/>
> <bandwidth>
> <inbound average='0' peak='0'/>
> <outbound average='0' peak='0'/>
> </bandwidth>
It doesn't make much sense to set these to zero. The domain will not be
able to receive/send any packets through the interface. Also, this must
be some older libvirt because when I try the latest git HEAD it doesn't
even accept zero values there.
> <model type='virtio'/>
> </interface>
>
>
> I'm really sorry. I forgot I had QoS defined on the virtual machine.
> And this problem doesn't happen every time. I encountered this problem when I used the same XML to create about 100 virtual machines on a hypervisor.
This suggests it is a kernel problem.
Michal
More information about the libvirt-users
mailing list