On Thu, Jan 18, 2018 at 10:44:58AM +0000, Wei Liu wrote:
> On Wed, Jan 17, 2018 at 04:43:54PM +0000, Wei Liu wrote:
> > ARM doesn't have emulation_flags in the arch_domainconfig.
> > 
> > Signed-off-by: Wei Liu <wei.l...@citrix.com>
> > ---
> > Cc: Ian Jackson <ian.jack...@eu.citrix.com>
> > Cc: Julien Grall <julien.gr...@arm.com>
> > Cc: Andrew Cooper <andrew.coop...@citrix.com>
> > ---
> >  tools/ocaml/libs/xc/xenctrl_stubs.c | 6 ++++++
> >  1 file changed, 6 insertions(+)
> > 
> > diff --git a/tools/ocaml/libs/xc/xenctrl_stubs.c 
> > b/tools/ocaml/libs/xc/xenctrl_stubs.c
> > index 0b5a2361c0..fd128778b3 100644
> > --- a/tools/ocaml/libs/xc/xenctrl_stubs.c
> > +++ b/tools/ocaml/libs/xc/xenctrl_stubs.c
> > @@ -175,11 +175,15 @@ CAMLprim value stub_xc_domain_create(value xch, value 
> > ssidref,
> >             caml_failwith("Unhandled: ARM");
> >             break;
> >  
> > +#if defined(__i386__) || defined(__x86_64__)
> >     case 1: /* X86 - emulation flags in the block */
> 
> The label will be moved outside of the #ifdef.

In the interest of unblocking things I have pushed a version of this
patch to staging.

Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to