[Libvir] [PATCH][RFC] libvirt ldoms support
Eunice Moon
Eunice.Moon at Sun.COM
Fri Apr 11 22:39:36 UTC 2008
Hi Daniel,
I've added some notes (lines starting with **) to the LDoms XML
examples to show some semantics for the current XML tags/formats.
Please see the attached files and let me know if you have any
questions.
Thanks,
Eunice
Daniel Veillard wrote:
> On Thu, Apr 10, 2008 at 04:10:02PM -0500, Eunice Moon wrote:
>> Hi,
>>
>> As John mentioned, the LDoms Manager (ldm) XML interface has been
>> used by a different set of software such as SNMP MIB, BUI, and other
>> tools/applications (before the libvirt), so we can't really change
>> the ldm XML formats.
>
> I understood the existing format comes from other legacy uses,
> no problem for me, looking at the second XML example made that clear :-)
>
>> But, I will look into the way (conversion between the LDoms XML
>> and libvirt XML formats) to make it compatible with the official
>> libvirt.
>
> I can give an hand, it's probably also a good opportunity to refactor
> a lot of the XML handling code coming from the patch since we will have
> to change the way things are done. The hardest for me is understand the
> semantic of the current document, we need this anyway to find how to best
> map things onto the libvirt XML format (and back). Then for the revamp of
> the conversion code i can probably do part of it, and probably faster than
> you considering expertise on libxml2 ;-)
>
> But I really need a good description of the current XML format,
>
> Daniel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virsh_dumpxml_example.xml
Type: text/xml
Size: 4029 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080411/176973c8/attachment-0002.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldom_list-bindings_example.xml
Type: text/xml
Size: 2268 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080411/176973c8/attachment-0003.xml>
More information about the libvir-list
mailing list