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

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




On Jan 15, 2014, at 12:46 AM, Andrew Cooper wrote:

On 14/01/14 20:38, Igor Kozhukhov wrote:
Hello All,

I have problems with ctfconvert with build sources of xen-4.2 on illumos based platform:

could you please let me know - what the reason to have a variable in structure 'struct hvm_hw_cpu_xsave'  with zero size:
struct { char x[0]; } ymm;    /* YMM */
--
Best regards,
Igor Kozhukhov



The structure is variable length depending on whether the VM has enabled AVX support.

It is rather unfortunate that we have non-complient C used to specify the ABI.

can we use here ?
struct { char x[1]; } ymm;

it will fix my problem.

-Igor

_______________________________________________
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®.