[libvirt] PATCH: 10/14: Convert XenD XML parser to generic API

Daniel P. Berrange berrange at redhat.com
Tue Jul 8 16:52:55 UTC 2008


On Tue, Jul 08, 2008 at 06:48:45PM +0200, Stefan de Konink wrote:
> Daniel P. Berrange schreef:
> >This replaces the code which converts from the XML into SEXPR
> >with code which converts from the virDomainDefPtr object to a
> >SEXPR. We then simply use virDomainDefParseString() to generate
> >the initial virDomainDefPtr. This makes the SEXPR generating
> >code much easier to follow.
> 
> Could you elaborate on why you are using the SEXPR instead of the XenAPI 
> XML code?

SEXPR works for all XenD. XenAPI only works for XenD >= 3.1.0

We're open to having an XenAPI impl too, but so far no one's provided an
impl and its not really a high priority since existing impl works fine

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list