On Tue, Jan 29, 2008 at 05:57:51PM +0000, Richard W.M. Jones wrote:
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"/>
</interface>
Dan is this intended behaviour or a bug?
The error message is wrong - the syntax you show with bridge='br0' is
the intended format.
Regards,
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules:
http://search.cpan.org/~danberr/ -=|
|=- Projects:
http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|