linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org
Cc: karahmed@amazon.de, jmattson@google.com, rkrcmar@redhat.com
Subject: [PATCH 0/2] MSR_IA32_TSC fixes for nested
Date: Fri, 13 Apr 2018 13:23:25 +0200	[thread overview]
Message-ID: <1523618608-30574-1-git-send-email-pbonzini@redhat.com> (raw)

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

             reply	other threads:[~2018-04-13 11:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-13 11:23 Paolo Bonzini [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1523618608-30574-1-git-send-email-pbonzini@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=jmattson@google.com \
    --cc=karahmed@amazon.de \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rkrcmar@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).