[libvirt] [PATCH] [RFC] xen domctl version 6

Jim Fehlig jfehlig at novell.com
Wed Dec 23 17:59:09 UTC 2009

xen-unstable c/s 20685 changed the domctl interface, adding a field to
xen_domctl_getdomaininfo structure.  This additional field causes stack
corruption in libvirt.  xen-unstable c/s 20711 rightly bumped the domctl
interface version so it is at least possible to handle the new field.

The attached patch accounts for shr_pages field added to
xen_domctl_getdomaininfo structure.  I'm not thrilled about the changes
to all the macros - suggestions for improvement welcomed.

Tested with domctl version 5 and 6.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xen-shr-pages.patch
Type: text/x-patch
Size: 11363 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20091223/4d8a2591/attachment-0001.bin>

More information about the libvir-list mailing list