All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kvm-unit-test: nVMX: Test Selector and Base Address fields of Guest Segment registers
@ 2020-03-10 22:51 Krish Sadhukhan
  2020-03-10 22:51 ` [PATCH] kvm-unit-test: nVMX: Test Selector and Base Address fields of Guest Segment Registers on vmentry of nested guests Krish Sadhukhan
  2020-03-10 23:51 ` [PATCH] kvm-unit-test: nVMX: Test Selector and Base Address fields of Guest Segment registers Jim Mattson
  0 siblings, 2 replies; 16+ messages in thread
From: Krish Sadhukhan @ 2020-03-10 22:51 UTC (permalink / raw)
  To: kvm; +Cc: pbonzini, jmattson, sean.j.christopherson

Even thought today's x86 hardware uses paging and not segmentation for memory
management, it is still good to have some tests that can verify the sanity of
the segment register fields on vmentry of nested guests.

The test on SS Selector field is failing because the hardware (I am using
Intel Xeon Platinum 8167M 2.00GHz) doesn't raise any error even if the
prescribed bit pattern is not set and as a result vmentry succeeds.


[PATCH] kvm-unit-test: nVMX: Test Selector and Base Address fields of Guest Segment

 lib/x86/processor.h |   1 +
 x86/vmx_tests.c     | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 110 insertions(+)

Krish Sadhukhan (1):
      nVMX: Test Selector and Base Address fields of Guest Segment Registers on


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

end of thread, other threads:[~2020-03-12 23:38 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-10 22:51 [PATCH] kvm-unit-test: nVMX: Test Selector and Base Address fields of Guest Segment registers Krish Sadhukhan
2020-03-10 22:51 ` [PATCH] kvm-unit-test: nVMX: Test Selector and Base Address fields of Guest Segment Registers on vmentry of nested guests Krish Sadhukhan
2020-03-11 15:05   ` Sean Christopherson
2020-03-11 15:19     ` Sean Christopherson
2020-03-11 20:38     ` Krish Sadhukhan
2020-03-11 21:46       ` Sean Christopherson
2020-03-11 21:53         ` Nadav Amit
2020-03-11 22:54           ` Liran Alon
2020-03-11 23:12             ` Sean Christopherson
2020-03-11 23:21               ` Nadav Amit
2020-03-11 23:25                 ` Sean Christopherson
2020-03-11 23:35                   ` Nadav Amit
2020-03-11 23:22               ` Liran Alon
2020-03-11 23:30                 ` Sean Christopherson
2020-03-10 23:51 ` [PATCH] kvm-unit-test: nVMX: Test Selector and Base Address fields of Guest Segment registers Jim Mattson
     [not found]   ` <20200311152459.GD21852@linux.intel.com>
2020-03-12 23:37     ` Krish Sadhukhan

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.