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

2010-10-04 Thread Stanley, Jon [Tech]
>-Original Message- >From: Matthias Bolte [mailto:matthias.bo...@googlemail.com] >Sent: Monday, October 04, 2010 6:03 AM >To: Stanley, Jon [Tech] >Cc: libvirt-users@redhat.com >Subject: Re: [libvirt-users] virt-xml-validate b0rked? > >But your validation

[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

[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.

[libvirt-users] Question on CPU pinning in Python

2010-09-22 Thread Stanley, Jon [Tech]
Looking at the python API, once I have a domain object I can call domain.pinVcpu to pin a specific vcpu to a physical CPU. I found http://www.mail-archive.com/libvir-l...@redhat.com/msg04562.html which mentioned some changes to the C API in the Python implementation, and was wondering if my und