Re: [Xen-devel] [XTF PATCH 06/16] vvmx: test vmxon with CR4.VMXE cleared

2016-12-18 Thread Haozhong Zhang
On 12/16/16 20:25 +, Andrew Cooper wrote: On 16/12/16 13:43, Haozhong Zhang wrote: diff --git a/tests/vvmx/util.c b/tests/vvmx/util.c index 74b4d01..f30fc26 100644 --- a/tests/vvmx/util.c +++ b/tests/vvmx/util.c @@ -1,7 +1,31 @@ #include +#include #include #include "util.h" +#define I

Re: [Xen-devel] [XTF PATCH 06/16] vvmx: test vmxon with CR4.VMXE cleared

2016-12-16 Thread Andrew Cooper
On 16/12/16 13:43, Haozhong Zhang wrote: > diff --git a/tests/vvmx/util.c b/tests/vvmx/util.c > index 74b4d01..f30fc26 100644 > --- a/tests/vvmx/util.c > +++ b/tests/vvmx/util.c > @@ -1,7 +1,31 @@ > #include > +#include > #include > #include "util.h" > > +#define INVALID_VMCS_REVID (~(uint