All of lore.kernel.org
 help / color / mirror / Atom feed
* [XTF PATCH 00/16] Add test cases for nested vmxon
@ 2016-12-16 13:43 Haozhong Zhang
  2016-12-16 13:43 ` [XTF PATCH 01/16] vvmx: test whether VMX feature is present in CPUID Haozhong Zhang
                   ` (17 more replies)
  0 siblings, 18 replies; 56+ messages in thread
From: Haozhong Zhang @ 2016-12-16 13:43 UTC (permalink / raw)
  To: xen-devel; +Cc: Andrew Cooper, Haozhong Zhang

This patch series starts to add a test selection "test-hvm64-vvmx" for
nested VMX. This first series focuses mostly on nested vmxon.

* Patch 01 - 03 test the basic environment (cpuid and MSR).

* Patch 04 - 05 add functions to execute VMX instructions and to
  collect and handle errors.

* Patch 06 - 16 construct a bunch of test cases for nested vmxon per
  its pseudo code in section "VMXON - Enter VMX Operation" of Intel
  SDM Vol 3.

Haozhong Zhang (16):
  01/ vvmx: test whether VMX feature is present in CPUID
  02/ vvmx: test whether MSR_IA32_FEATURE_CONTROL is set correctly
  03/ vvmx: test whether MSR_IA32_VMX_BASIC is set correctly
  04/ vvmx: add C wrappers of vmxon/vmread/vmptrld
  05/ vvmx: add a general error handler for VMX instructions
  06/ vvmx: test vmxon with CR4.VMXE cleared
  07/ vvmx: test vmxon in CPL=3 and out of VMX operation
  08/ vvmx: test vmxon with invalidly wide VMXON region address
  09/ vvmx: test vmxon with unaligned VMXON region address
  10/ vvmx: test vmxon with mismatched VMCS revision ID
  11/ vvmx: test vmxon with bit 31 of VMCS revision ID set
  12/ vvmx: test the correct vmxon
  13/ vvmx: test vmxon in VMX root w/ CPL = 0 and w/o current VMCS
  14/ vvmx: test vmxon in VMX root w/ CPL = 3 and w/o current VMCS
  15/ vvmx: test vmxon in VMX root w/ CPL = 0 and w/ current VMCS
  16/ vvmx: test vmxon in VMX root w/ CPL = 3 and w/ current VMCS

 include/arch/x86/hvm/vmx/vmcs.h | 179 +++++++++++++++++++++++++
 include/arch/x86/msr-index.h    |  10 ++
 tests/vvmx/Makefile             |  11 ++
 tests/vvmx/cpuid.c              |  24 ++++
 tests/vvmx/extra.cfg.in         |   1 +
 tests/vvmx/main.c               |  54 ++++++++
 tests/vvmx/msr.c                | 114 ++++++++++++++++
 tests/vvmx/util.c               | 211 +++++++++++++++++++++++++++++
 tests/vvmx/util.h               | 113 ++++++++++++++++
 tests/vvmx/vmxon.c              | 286 ++++++++++++++++++++++++++++++++++++++++
 10 files changed, 1003 insertions(+)
 create mode 100644 include/arch/x86/hvm/vmx/vmcs.h
 create mode 100644 tests/vvmx/Makefile
 create mode 100644 tests/vvmx/cpuid.c
 create mode 100644 tests/vvmx/extra.cfg.in
 create mode 100644 tests/vvmx/main.c
 create mode 100644 tests/vvmx/msr.c
 create mode 100644 tests/vvmx/util.c
 create mode 100644 tests/vvmx/util.h
 create mode 100644 tests/vvmx/vmxon.c

-- 
2.10.1


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

^ permalink raw reply	[flat|nested] 56+ messages in thread

end of thread, other threads:[~2016-12-20  2:50 UTC | newest]

Thread overview: 56+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-16 13:43 [XTF PATCH 00/16] Add test cases for nested vmxon Haozhong Zhang
2016-12-16 13:43 ` [XTF PATCH 01/16] vvmx: test whether VMX feature is present in CPUID Haozhong Zhang
2016-12-16 14:40   ` Andrew Cooper
2016-12-19  1:51     ` Haozhong Zhang
2016-12-16 13:43 ` [XTF PATCH 02/16] vvmx: test whether MSR_IA32_FEATURE_CONTROL is set correctly Haozhong Zhang
2016-12-16 16:17   ` Andrew Cooper
2016-12-19  2:20     ` Haozhong Zhang
2016-12-19 15:29       ` Andrew Cooper
2016-12-16 13:43 ` [XTF PATCH 03/16] vvmx: test whether MSR_IA32_VMX_BASIC " Haozhong Zhang
2016-12-16 17:19   ` Andrew Cooper
2016-12-19  2:44     ` Haozhong Zhang
2016-12-19 15:41       ` Andrew Cooper
2016-12-20  2:45         ` Haozhong Zhang
2016-12-16 13:43 ` [XTF PATCH 04/16] vvmx: add C wrappers of vmxon/vmread/vmptrld Haozhong Zhang
2016-12-16 19:03   ` [licensing] was: " Andrew Cooper
2016-12-19  3:20     ` Haozhong Zhang
2016-12-19 14:41       ` Lars Kurth
2016-12-19 15:51         ` Ian Jackson
2016-12-19 15:58       ` Andrew Cooper
2016-12-19 15:20     ` Roger Pau Monné
2016-12-19 15:24       ` Andrew Cooper
2016-12-16 19:47   ` Andrew Cooper
2016-12-19  3:00     ` Haozhong Zhang
2016-12-16 13:43 ` [XTF PATCH 05/16] vvmx: add a general error handler for VMX instructions Haozhong Zhang
2016-12-16 20:16   ` Andrew Cooper
2016-12-19  3:24     ` Haozhong Zhang
2016-12-16 13:43 ` [XTF PATCH 06/16] vvmx: test vmxon with CR4.VMXE cleared Haozhong Zhang
2016-12-16 20:25   ` Andrew Cooper
2016-12-19  3:26     ` Haozhong Zhang
2016-12-16 13:43 ` [XTF PATCH 07/16] vvmx: test vmxon in CPL=3 and out of VMX operation Haozhong Zhang
2016-12-16 20:33   ` Andrew Cooper
2016-12-19  3:35     ` Haozhong Zhang
2016-12-19 16:02       ` Andrew Cooper
2016-12-19 16:02       ` Andrew Cooper
2016-12-16 13:43 ` [XTF PATCH 08/16] vvmx: test vmxon with invalidly wide VMXON region address Haozhong Zhang
2016-12-16 20:40   ` Andrew Cooper
2016-12-19  3:36     ` Haozhong Zhang
2016-12-16 13:43 ` [XTF PATCH 09/16] vvmx: test vmxon with unaligned " Haozhong Zhang
2016-12-16 13:43 ` [XTF PATCH 10/16] vvmx: test vmxon with mismatched VMCS revision ID Haozhong Zhang
2016-12-16 13:43 ` [XTF PATCH 11/16] vvmx: test vmxon with bit 31 of VMCS revision ID set Haozhong Zhang
2016-12-16 13:43 ` [XTF PATCH 12/16] vvmx: test the correct vmxon Haozhong Zhang
2016-12-16 13:43 ` [XTF PATCH 13/16] vvmx: test vmxon in VMX root w/ CPL = 0 and w/o current VMCS Haozhong Zhang
2016-12-16 13:43 ` [XTF PATCH 14/16] vvmx: test vmxon in VMX root w/ CPL = 3 " Haozhong Zhang
2016-12-16 20:59   ` Andrew Cooper
2016-12-19  3:46     ` Haozhong Zhang
2016-12-19 16:07       ` Andrew Cooper
2016-12-20  2:50         ` Haozhong Zhang
2016-12-16 13:43 ` [XTF PATCH 15/16] vvmx: test vmxon in VMX root w/ CPL = 0 and w/ " Haozhong Zhang
2016-12-16 13:43 ` [XTF PATCH 16/16] vvmx: test vmxon in VMX root w/ CPL = 3 " Haozhong Zhang
2016-12-16 14:12 ` [XTF PATCH 00/16] Add test cases for nested vmxon Andrew Cooper
2016-12-19  1:44   ` Haozhong Zhang
2016-12-19 16:18     ` Andrew Cooper
2016-12-16 21:26 ` Andrew Cooper
2016-12-19  5:31   ` Haozhong Zhang
2016-12-19 16:34     ` Andrew Cooper
2016-12-20  2:32       ` Haozhong Zhang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.