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