Re: [Xen-devel] [XTF PATCH 04/16] vvmx: add C wrappers of vmxon/vmread/vmptrld

2016-12-18 Thread Haozhong Zhang
On 12/16/16 19:47 +, Andrew Cooper wrote: On 16/12/16 13:43, Haozhong Zhang wrote: Review of the technical side of the patch, leaving the licensing to the other thread. Reordering for better logical clarity for my suggestion. diff --git a/tests/vvmx/util.h b/tests/vvmx/util.h new file mod

Re: [Xen-devel] [XTF PATCH 04/16] vvmx: add C wrappers of vmxon/vmread/vmptrld

2016-12-16 Thread Andrew Cooper
On 16/12/16 13:43, Haozhong Zhang wrote: Review of the technical side of the patch, leaving the licensing to the other thread. Reordering for better logical clarity for my suggestion. > diff --git a/tests/vvmx/util.h b/tests/vvmx/util.h > new file mode 100644 > index 000..57d3398 > --- /dev/

[Xen-devel] [XTF PATCH 04/16] vvmx: add C wrappers of vmxon/vmread/vmptrld

2016-12-16 Thread Haozhong Zhang
These C wrappers record the faults and VMfails in the execution of vmx instructions vmxon, vmread and vmptrld. Further tests can use those records to check if a VMX instruction is implemented correctly by Xen in the nested VMX. Other VMX instructions will be added once their test cases are added.