[libvirt-users] Cannot get interface MTU - qemu quest fails to start off OpenVswitch

lejeczek peljasz at yahoo.co.uk
Fri May 10 13:58:59 UTC 2019


On 10/05/2019 14:44, Michal Privoznik wrote:
> On 5/10/19 3:26 PM, lejeczek wrote:
>> hi guys
>>
>> I have a qemu guest and openvswitch bridge and the guest fails to start:
>>
>> $ virsh start work8
>> error: Failed to start domain work8-vm-win2016
>> error: Cannot get interface MTU on 'ovsbr0': No such device
>
> Well, this means that 'ovsbr0' doesn't exist. Is that so? Can you
> share your <interface/> configuration and the network XML?
>
> Michal

qemu's: (fails to start)

    <interface type='network'>
      <mac address='52:54:00:20:e1:47'/>
      <source network='ovs-br0' portgroup='vlan-54'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x09'
function='0x0'/>
    </interface>

LXC's: (starts)

    <interface type='network'>
      <mac address='52:54:00:53:ac:e5'/>
      <source network='ovs-br0' portgroup='vlan-55'/>
      <model type='virtio'/>
    </interface>

This is Openvswitch' bridge thus does not exits as "iface" per say, but
this is how it should be used in libvirt, I think, no? LXC works okey.
How is it different for Qemu?

thanks, L


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 1757 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20190510/aa8d00eb/attachment.bin>


More information about the libvirt-users mailing list