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

Re: [Xen-devel] [PATCH v3 6/6] x86/viridian: implement the crash MSRs



>>> On 21.03.17 at 19:17, <paul.durrant@xxxxxxxxxx> wrote:
> +    case HV_X64_MSR_CRASH_CTL:
> +    {
> +        HV_CRASH_CTL_REG_CONTENTS ctl = {
> +            .CrashNotify = 1,
> +        };

This initializer failed my pre-push build test: Some gcc versions we
still support don't allow fields of unnamed union members to be
initialized this way. As there are at least two ways to deal with
this, and as this is code maintained by you, I didn't want to pick
either, as I don't know your preference.

Jan


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

 


Rackspace

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