All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] i386/kvm: advertise Hyper-V frequency MSRs
@ 2017-08-04  9:14 ` Ladi Prosek
  0 siblings, 0 replies; 14+ messages in thread
From: Ladi Prosek @ 2017-08-04  9:14 UTC (permalink / raw)
  To: qemu-devel, kvm; +Cc: pbonzini, mtosatti, rkrcmar

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.

Ladi Prosek (3):
  i386/kvm: use a switch statement for MSR detection
  i386/kvm: set tsc_khz before configuring Hyper-V CPUID
  i386/kvm: advertise Hyper-V frequency MSRs

 target/i386/kvm.c | 130 +++++++++++++++++++++++++++---------------------------
 1 file changed, 66 insertions(+), 64 deletions(-)

-- 
2.9.3

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

end of thread, other threads:[~2017-08-04 13:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-04  9:14 [PATCH 0/3] i386/kvm: advertise Hyper-V frequency MSRs Ladi Prosek
2017-08-04  9:14 ` [Qemu-devel] " Ladi Prosek
2017-08-04  9:14 ` [PATCH 1/3] i386/kvm: use a switch statement for MSR detection Ladi Prosek
2017-08-04  9:14   ` [Qemu-devel] " Ladi Prosek
2017-08-04 13:30   ` David Hildenbrand
2017-08-04 13:30     ` [Qemu-devel] " David Hildenbrand
2017-08-04  9:14 ` [PATCH 2/3] i386/kvm: set tsc_khz before configuring Hyper-V CPUID Ladi Prosek
2017-08-04  9:14   ` [Qemu-devel] " Ladi Prosek
2017-08-04  9:14 ` [PATCH 3/3] i386/kvm: advertise Hyper-V frequency MSRs Ladi Prosek
2017-08-04  9:14   ` [Qemu-devel] " Ladi Prosek
2017-08-04 13:39   ` David Hildenbrand
2017-08-04 13:39     ` [Qemu-devel] " David Hildenbrand
2017-08-04 13:45     ` Ladi Prosek
2017-08-04 13:45       ` [Qemu-devel] " Ladi Prosek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.