[libvirt] Xen: How to describe bridged network adapter in libvirt-XML?

2009-06-16 Thread Andreas Sommer
Hi, I'm looking for a solution to convert the Xen configuration line vif = [bridge=eth0] to the libvirt XML description format which can be used by the createLinux() function (using Python). I tried several things like interface type=bridge source bridge=eth0 / target dev=eth0 /

Re: [libvirt] Xen: How to describe bridged network adapter in libvirt-XML?

2009-06-16 Thread Andreas Sommer
Fortunately I found the problem myself. Maybe I should use schema checking from now on, because I put the interface element outside devices by mistake... A small tip: virsh dumpxml is very good for finding out the configuration of Xen domains. Regards Andreas Hi, I'm looking for a

Re: [libvirt] Xen: How to describe bridged network adapter in libvirt-XML?

2009-06-16 Thread Daniel P. Berrange
On Tue, Jun 16, 2009 at 03:29:48PM +0100, Andreas Sommer wrote: Fortunately I found the problem myself. Maybe I should use schema checking from now on, because I put the interface element outside devices by mistake... A small tip: virsh dumpxml is very good for finding out the