virsh update-device: need to clear network filters

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

 



Hi,

Can anyone please help with the following: I have a running instance with interface

    <interface type='bridge'>
      <mac address='fa:16:3e:ba:a4:67'/>
      <source bridge='br100/>
      <target dev='vnet0'/>
      <model type='virtio'/>
      <filterref filter='nova-instance-instance-00000001-fa163ebaa467'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>

what I need is to clear network interface on the instance. I tried virsh update-device with following xml:

    <interface type='bridge'>
      <mac address='fa:16:3e:ba:a4:67'/>
      <source bridge='br100/>
      <model type='virtio'/>
    </interface>

but this results in the following error:
$ sudo virsh update-device 13 xml.xml --persistent --live --config
error: Failed to update device from xml.xml
error: End of file while reading data: Input/output error
error: Failed to reconnect to the hypervisor

and libvirt is restarted. Is it possible to clear nw filter at all?

Thanks,
Oleg
_______________________________________________
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