linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] MSR_IA32_TSC fixes for nested
@ 2018-04-13 11:23 Paolo Bonzini
  2018-04-13 11:23 ` [PATCH 1/2] X86/KVM: Properly update 'tsc_offset' to represent the running guest Paolo Bonzini
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Paolo Bonzini @ 2018-04-13 11:23 UTC (permalink / raw)
  To: linux-kernel, kvm; +Cc: karahmed, jmattson, rkrcmar

This is the final version of Karim's patch including a test for
MSR_IA32_TSC_ADJUST, SVM support, and a small subsequent cleanup.
I'm not sure about committing the test, since it seems easier to
do it in kvm-unit-tests (in fact, I'll shortly send the SVM version
of the test, for kvm-unit-tests) but I'm sending it anyway for
everyone's use and to post the linux.git-ized version of Google's
nested virt test framework.

Thanks,

Paolo

KarimAllah Ahmed (1):
  X86/KVM: Properly update 'tsc_offset' to represent the running guest

Paolo Bonzini (2):
  kvm: x86: move MSR_IA32_TSC handling to x86.c
  kvm: selftests: add vmx_tsc_adjust_test

 arch/x86/include/asm/kvm_host.h                   |   1 +
 arch/x86/kvm/svm.c                                |  26 +-
 arch/x86/kvm/vmx.c                                |  37 +-
 arch/x86/kvm/x86.c                                |  12 +-
 tools/testing/selftests/kvm/Makefile              |   3 +-
 tools/testing/selftests/kvm/include/kvm_util.h    |  15 +-
 tools/testing/selftests/kvm/include/vmx.h         | 680 ++++++++++++++++++++++
 tools/testing/selftests/kvm/lib/kvm_util.c        |  18 +-
 tools/testing/selftests/kvm/lib/vmx.c             |  54 ++
 tools/testing/selftests/kvm/vmx_tsc_adjust_test.c | 222 +++++++
 10 files changed, 1022 insertions(+), 46 deletions(-)
 create mode 100644 tools/testing/selftests/kvm/include/vmx.h
 create mode 100644 tools/testing/selftests/kvm/lib/vmx.c
 create mode 100644 tools/testing/selftests/kvm/vmx_tsc_adjust_test.c

-- 
1.8.3.1

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

end of thread, other threads:[~2018-04-14  6:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-13 11:23 [PATCH 0/2] MSR_IA32_TSC fixes for nested Paolo Bonzini
2018-04-13 11:23 ` [PATCH 1/2] X86/KVM: Properly update 'tsc_offset' to represent the running guest Paolo Bonzini
2018-04-13 12:40   ` Raslan, KarimAllah
2018-04-13 15:35     ` Paolo Bonzini
2018-04-14  6:31       ` Raslan, KarimAllah
2018-04-13 16:02   ` Jim Mattson
2018-04-13 16:04     ` Paolo Bonzini
2018-04-14  3:11       ` Raslan, KarimAllah
2018-04-13 11:23 ` [PATCH 2/2] kvm: x86: move MSR_IA32_TSC handling to x86.c Paolo Bonzini
2018-04-13 11:23 ` [PATCH 3/2] kvm: selftests: add vmx_tsc_adjust_test Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).