[libvirt-users] Problem attaching device

Daniel Veillard veillard at redhat.com
Thu Mar 25 13:18:14 UTC 2010


On Wed, Mar 24, 2010 at 11:18:10PM +0100, Matthias Bolte wrote:
> 2010/3/24  <steven765 at yahoo.com>:
> Your XML is really not well formed. This
> 
>    <source network-'default'/>
> 
> should be
> 
>    <source network='default'/>
> 
> >            target dev='vnet1'/>
> 
> And you miss a < before the word target:
> 
>    target dev='vnet1'/>
> 
> should be
> 
>    <target dev='vnet1'/>
> 
> > </interface>
> >
> > I've tired giving it the full path still no luck.
> > Thanks in advance,

  use xmllint to check XML instances if you're not sure

xmllint net.xml

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvirt-users mailing list