Fwd: Re: [Libvir] update after changing XML

Richard W.M. Jones rjones at redhat.com
Tue Jan 29 17:57:51 UTC 2008

Richard W.M. Jones wrote:
> My bridge section looks like this:
>     <interface type='bridge'>
>       <source dev='br0'/>
>       <target dev='vnet7'/>
>       <mac address="11:22:33:44:EE:FC"/>
>     </interface>
> Do I need to create the vnet7 device before hand?  I thought this might be something libvirt created on startup.  Or, is the define error related to something else?  My current XML file appears to be well formed.

Looking at the code, I think the error message is misleading.  In fact 
the problem appears to be that you need to have:

      <interface type='bridge'>
        <source bridge='br0'/>  <!-- NB -->
        <target dev='vnet7'/>
        <mac address="11:22:33:44:EE:FC"/>

Dan is this intended behaviour or a bug?


Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080129/125c5f32/attachment-0001.bin>

More information about the libvir-list mailing list