[libvirt] [PATCH 0/2] Refactored XM and SEXPR parsing

Eric Blake eblake at redhat.com
Thu Feb 17 22:14:26 UTC 2011


On 02/17/2011 06:14 AM, Daniel P. Berrange wrote:
> On Thu, Feb 17, 2011 at 01:45:42PM +0100, Markus Groß wrote:
>>
>> Hi,
>>
>> I refactored the XM and SEXPR parsing routines from the xen-unified
>> driver into a seperate directory (xenxs; x for xm and s for sexpr).
>> This way different xen-drivers besides xen-unified are able to
>> use the parsing functionality. For example the upcoming
>> XenLight (libxl) driver.
>> To use the XM parsing functions one includes "xen_xm.h" and for SEXPR parsing "xen_sxpr.h".
>>
>> The patch is rather big, but most of it are code movements.
> 
> FYI in case people are wondering where the patch is, it was
> blocked at mailman level because it was seriously huge! After
> discussion with Markus on IRC, we have figured a way to split
> it up into smaller pieces for reposting

Also, if it involves file movement, then be sure you are using git's
diff.rename = true configuration option, as it compresses the file
motion to only show the few tweaks needed across the rename, rather than
showing the entire old file as deleted and new file as created.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110217/9aaf8cfc/attachment-0001.sig>


More information about the libvir-list mailing list