Re: [libvirt-users] Problem attaching device

2010-03-25 Thread Daniel Veillard
On Thu, Mar 25, 2010 at 12:41:21PM -0700, steven...@yahoo.com wrote: > Thanks, but problem still persists. I actually fat fingered entering it the > first time    > > The xmlfile really is: > > > >   >   >   > > > I ran xmllint and it just says no DTD specified, not normal, > > xml

Re: [libvirt-users] Problem attaching device

2010-03-25 Thread steven765
: [libvirt-users] Problem attaching device > To: steven...@yahoo.com > Cc: "Matthias Bolte" , libvirt-users@redhat.com > Date: Thursday, March 25, 2010, 9:18 AM > On Wed, Mar 24, 2010 at 11:18:10PM > +0100, Matthias Bolte wrote: > > 2010/3/24  : > > Your XML is really

Re: [libvirt-users] Problem attaching device

2010-03-25 Thread Daniel Veillard
On Wed, Mar 24, 2010 at 11:18:10PM +0100, Matthias Bolte wrote: > 2010/3/24 : > Your XML is really not well formed. This > > > > should be > > > > >            target dev='vnet1'/> > > And you miss a < before the word target: > >target dev='vnet1'/> > > should be > > > > >

Re: [libvirt-users] Problem attaching device

2010-03-24 Thread Matthias Bolte
2010/3/24 : > I keep getting an error when I try to attach a device in the libvirt api > through python > > The python code is: > >     conn=libvirt.open('qemu:///system') >     dom = conn.lookupByName("fedoratest") >     if dom.info()[0]==1: >         dom.attachDevice('net.xml') > > And I keep g

[libvirt-users] Problem attaching device

2010-03-24 Thread steven765
I keep getting an error when I try to attach a device in the libvirt api through python The python code is: conn=libvirt.open('qemu:///system') dom = conn.lookupByName("fedoratest") if dom.info()[0]==1: dom.attachDevice('net.xml') And I keep getting: "libvirtError: XML