On 12/16/16 14:40 +, Andrew Cooper wrote:
On 16/12/16 13:43, Haozhong Zhang wrote:
diff --git a/tests/vvmx/cpuid.c b/tests/vvmx/cpuid.c
new file mode 100644
index 000..9a4cdae
--- /dev/null
+++ b/tests/vvmx/cpuid.c
@@ -0,0 +1,24 @@
+#include
+
+bool test_cpuid_vmx_feat(void)
+{
+uin
On 16/12/16 13:43, Haozhong Zhang wrote:
> diff --git a/tests/vvmx/cpuid.c b/tests/vvmx/cpuid.c
> new file mode 100644
> index 000..9a4cdae
> --- /dev/null
> +++ b/tests/vvmx/cpuid.c
> @@ -0,0 +1,24 @@
> +#include
> +
> +bool test_cpuid_vmx_feat(void)
> +{
> +uint32_t ecx = cpuid_ecx(1);
>
cpuid.1:ecx[5] is expected to be set in this test.
Signed-off-by: Haozhong Zhang
---
tests/vvmx/Makefile | 11 +++
tests/vvmx/cpuid.c | 24
tests/vvmx/extra.cfg.in | 1 +
tests/vvmx/main.c | 44
4 files