[libvirt-users] OVF => XML?

2010-10-01 Thread Mitchell Hashimoto
Hello, Does libvirt provide any easy way to convert an OVF to libvirt XML specification? I noticed "virt-convert" but I'm not sure what the status of that project is or if this is officially supported. Has anyone successfully done this before and if so, what troubles did you run into? Thanks, Mit

Re: [libvirt-users] Python XML parsing of domain descriptions?

2010-10-01 Thread Cole Robinson
On 10/01/2010 12:19 PM, Stanley, Jon [Tech] wrote: > Does anyone know of a way to parse the libvirt XML into usable python data > structures? Ideally, it would be something like > foo['domain']['devices']['bridge'][0]['target'] or something of the sort. > What I'm looking to accomplish is to fig

[libvirt-users] virt-xml-validate b0rked?

2010-10-01 Thread Stanley, Jon [Tech]
It seems that virt-xml-validate doesn't validate what *has* to be valid XML, that generated by virsh dumpxml against a running domain: [r...@etc752365a ~]# virsh list Id Name State -- 2 rhel55 running 3 rhel53 runnin

Re: [libvirt-users] Ruby-libvirt and openAuth

2010-10-01 Thread Chris Lalancette
On 09/30/10 - 09:51:10AM, Jonathan Kelley wrote: > Hello, > > It looks like the Ruby bindings do not support virConnectOpenAuth. Is this > true? If so, is there any reason why? or plans to? I've recently implemented them; if you check in the upstream git repository (http://libvirt.org/git/?p=ruby

[libvirt-users] Python XML parsing of domain descriptions?

2010-10-01 Thread Stanley, Jon [Tech]
Does anyone know of a way to parse the libvirt XML into usable python data structures? Ideally, it would be something like foo['domain']['devices']['bridge'][0]['target'] or something of the sort. What I'm looking to accomplish is to figure out which tap interface goes with a specific domain.

Re: [libvirt-users] undefining and redefining a Domain

2010-10-01 Thread Roberto Attias (rattias)
Yes, I was calling free() instead of virDomainFree. Thanks! -Original Message- From: Matthias Bolte [mailto:matthias.bo...@googlemail.com] Sent: Friday, October 01, 2010 9:11 AM To: Roberto Attias (rattias) Cc: libvirt-users@redhat.com Subject: Re: [libvirt-users] undefining and redefinin

Re: [libvirt-users] undefining and redefining a Domain

2010-10-01 Thread Matthias Bolte
2010/10/1 Roberto Attias (rattias) : > time… apologies if you receive this twice> > > > > Hello, > > I’m facing some strange behavior, and I hope you can provide a > clarification. > > Consider the following code: > > > > virDomainPtr dom = virDomainLookupByName(virt, domain_name); > > i

[libvirt-users] undefining and redefining a Domain

2010-10-01 Thread Roberto Attias (rattias)
Hello, I'm facing some strange behavior, and I hope you can provide a clarification. Consider the following code: virDomainPtr dom = virDomainLookupByName(virt, domain_name); if (dom) { printf("domain already defined...\n"); if (virDomainUndefine(dom))

[libvirt-users] Monitoring and statistics through libvirt

2010-10-01 Thread Tomi
Hi folks, is it possible to monitor and gather statistics in realtime (CPU, memory, HDD, network, ... - something like dstat) of guest systems with libvirt through console from host system (KVM based)? If yes, do those guests need to be created through libvirt? Thanks for your help and time.