[libvirt-users] virsh update-device: need to clear network filters

Oleg Bondarev obondarev at mirantis.com
Wed Apr 30 14:01:04 UTC 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20140430/d015ad47/attachment.htm>


More information about the libvirt-users mailing list