mbox series

[0/2,v2] Test: nSVM: Test the effect of guest EFLAGS.TF on VMRUN

Message ID 20210719174617.241568-1-krish.sadhukhan@oracle.com (mailing list archive)
Headers show
Series Test: nSVM: Test the effect of guest EFLAGS.TF on VMRUN | expand

Message

Krish Sadhukhan July 19, 2021, 5:46 p.m. UTC
v1 -> v2:
	In patch# 1, the new function is now called __svm_vmrun() per
	suggestion from Sean. I have also adjusted the commit header and
	the commit message.


Patch# 1: Adds a variant of svm_vmrun() so that custom guest code can be used.
Patch# 2: Tests the effects of guest EFLAGS.TF on VMRUN.

[PATCH 1/2 v2] nSVM: Add a variant of svm_vmrun() for setting guest RIP
[PATCH 2/2 v2] Test: nSVM: Test the effect of guest EFLAGS.TF on VMRUN

 x86/svm.c       |  9 +++++++--
 x86/svm.h       |  1 +
 x86/svm_tests.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 69 insertions(+), 2 deletions(-)

Krish Sadhukhan (2):
      nSVM: Add a variant of svm_vmrun() for setting guest RIP to custom code
      Test: nSVM: Test the effect of guest EFLAGS.TF on VMRUN

Comments

Paolo Bonzini July 26, 2021, 12:14 p.m. UTC | #1
On 19/07/21 19:46, Krish Sadhukhan wrote:
> v1 -> v2:
> 	In patch# 1, the new function is now called __svm_vmrun() per
> 	suggestion from Sean. I have also adjusted the commit header and
> 	the commit message.
> 
> 
> Patch# 1: Adds a variant of svm_vmrun() so that custom guest code can be used.
> Patch# 2: Tests the effects of guest EFLAGS.TF on VMRUN.
> 
> [PATCH 1/2 v2] nSVM: Add a variant of svm_vmrun() for setting guest RIP
> [PATCH 2/2 v2] Test: nSVM: Test the effect of guest EFLAGS.TF on VMRUN
> 
>   x86/svm.c       |  9 +++++++--
>   x86/svm.h       |  1 +
>   x86/svm_tests.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>   3 files changed, 69 insertions(+), 2 deletions(-)
> 
> Krish Sadhukhan (2):
>        nSVM: Add a variant of svm_vmrun() for setting guest RIP to custom code
>        Test: nSVM: Test the effect of guest EFLAGS.TF on VMRUN
> 

Queued, thanks.  However, I placed this in a different test than 
svm_guest_state_test, since that one is more evaluating invalid (or 
silently canonicalized) data.

Paolo