From: Marcelo Tosatti <mtosatti@redhat.com>
To: Ladi Prosek <lprosek@redhat.com>
Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org, pbonzini@redhat.com,
david@redhat.com, rkrcmar@redhat.com
Subject: Re: [PATCH v2 0/4] i386/kvm: advertise Hyper-V frequency MSRs
Date: Tue, 8 Aug 2017 21:50:53 -0300 [thread overview]
Message-ID: <20170809005053.GA26386@amt.cnet> (raw)
In-Reply-To: <20170807085703.32267-1-lprosek@redhat.com>
On Mon, Aug 07, 2017 at 10:56:59AM +0200, Ladi Prosek wrote:
> This is the QEMU part of the changes required for nested Hyper-V to read
> timestamps with RDTSC + TSC page. Without exposing the frequency MSRs,
> Windows with the Hyper-V role enabled use the much slower
> HV_X64_MSR_TIME_REF_COUNT (0x40000020) RDMSR to read timestamps.
>
> The new registers are exposed only if the TSC frequency is stable across
> migration and known, as suggested by Paolo.
>
> v1->v2:
> * deleted an extra empty line in patch 1
> * added patch 3 introducing a helper function for the "TSC is stable and
> known" check (David)
>
> Ladi Prosek (4):
> i386/kvm: use a switch statement for MSR detection
> i386/kvm: set tsc_khz before configuring Hyper-V CPUID
> i386/kvm: introduce tsc_is_stable_and_known()
> i386/kvm: advertise Hyper-V frequency MSRs
>
> target/i386/kvm.c | 138 ++++++++++++++++++++++++++++--------------------------
> 1 file changed, 71 insertions(+), 67 deletions(-)
>
> --
> 2.9.3
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
next prev parent reply other threads:[~2017-08-09 1:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-07 8:56 [PATCH v2 0/4] i386/kvm: advertise Hyper-V frequency MSRs Ladi Prosek
2017-08-07 8:57 ` [PATCH v2 1/4] i386/kvm: use a switch statement for MSR detection Ladi Prosek
2017-08-07 14:19 ` David Hildenbrand
2017-08-07 14:24 ` Ladi Prosek
2017-08-07 8:57 ` [PATCH v2 2/4] i386/kvm: set tsc_khz before configuring Hyper-V CPUID Ladi Prosek
2017-08-07 8:57 ` [PATCH v2 3/4] i386/kvm: introduce tsc_is_stable_and_known() Ladi Prosek
2017-08-07 14:22 ` David Hildenbrand
2017-08-07 8:57 ` [PATCH v2 4/4] i386/kvm: advertise Hyper-V frequency MSRs Ladi Prosek
2017-08-07 14:25 ` David Hildenbrand
2017-08-09 0:50 ` Marcelo Tosatti [this message]
2017-08-16 1:49 ` [PATCH v2 0/4] " Konrad Rzeszutek Wilk
2017-09-11 9:52 ` 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=20170809005053.GA26386@amt.cnet \
--to=mtosatti@redhat.com \
--cc=david@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=lprosek@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.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