Re: Create virtual machine failed using virDomainCreateXML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux