[libvirt] virsh edit not saving interface target specification

Daniel P. Berrange berrange at redhat.com
Sun Oct 25 23:06:38 UTC 2009


On Sun, Oct 25, 2009 at 09:18:16AM -0500, Neil Aggarwal wrote:
> Hello:
> 
> I am trying to set a target dev specification for one
> of my guests so I stopped the guest and the did virst
> edit, added the target specification, and saved the
> file.  If I go back into virsh edit, the target specification
> is not being saved.


>     <interface type='bridge'>
>       <mac address='54:52:00:4f:83:67'/>
>       <source bridge='br0'/>
>       <target dev='vnet1'/>
>     </interface>

Libvirt will ignore any request for an explicit target name starting
in 'vnet' or 'vif' since those namespaces are both used for automatically
assigned names. Pick a different target dev name and it should work

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list