[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] ctfconvert problems with build on illumos based platform



On Tue, 2014-01-14 at 20:58 +0000, Andrew Cooper wrote:

> The content of this structure is only relevant as far as
> hvm_{save,load}_cpu_xsave_states() goes, which resorts to some
> pointer-trickary to move the data.  Changing that char x[0] to char
> x[1] will break the pointer trickary, and migration will suffer an ABI
> breakage.

The pointer-trickery will need updating at the same time then, that's
not rocket science and the use of a single char array is the normal
portable way to do these sorts of variable length suffixes to structs.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.