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?
Stefan