Re: [Xen-devel] [PATCH XTF] Functional: Add a UMIP test

2017-07-21 Thread Andrew Cooper
On 21/07/17 02:42, Boqun Feng wrote: On Thu, Jul 20, 2017 at 10:38:59AM +0100, Andrew Cooper wrote: On 20/07/17 06:29, Boqun Feng (Intel) wrote: Add a "umip" test for the User-Model Instruction Prevention. The test simply tries to run sgdt/sidt/sldt/str/smsw in guest user-mode with CR4_UMIP = 1

Re: [Xen-devel] [PATCH XTF] Functional: Add a UMIP test

2017-07-20 Thread Boqun Feng
On Thu, Jul 20, 2017 at 10:38:59AM +0100, Andrew Cooper wrote: > On 20/07/17 06:29, Boqun Feng (Intel) wrote: > > Add a "umip" test for the User-Model Instruction Prevention. The test > > simply tries to run sgdt/sidt/sldt/str/smsw in guest user-mode with > > CR4_UMIP = 1. > > > > Signed-off-by: B

Re: [Xen-devel] [PATCH XTF] Functional: Add a UMIP test

2017-07-20 Thread Andrew Cooper
On 20/07/17 06:29, Boqun Feng (Intel) wrote: Add a "umip" test for the User-Model Instruction Prevention. The test simply tries to run sgdt/sidt/sldt/str/smsw in guest user-mode with CR4_UMIP = 1. Signed-off-by: Boqun Feng (Intel) Thankyou very much for providing a test. As a general remark,

[Xen-devel] [PATCH XTF] Functional: Add a UMIP test

2017-07-19 Thread Boqun Feng (Intel)
Add a "umip" test for the User-Model Instruction Prevention. The test simply tries to run sgdt/sidt/sldt/str/smsw in guest user-mode with CR4_UMIP = 1. Signed-off-by: Boqun Feng (Intel) --- docs/all-tests.dox | 2 + tests/umip/Makefile | 9 tests/umip/main.c | 120 +++