Skip to content

C2 "emulation"

Marcelo Tosatti kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4QEMU/KVM: self-disabling C2 emulationbios/acpi-dsdt.dsl qemu/hw/acpi.c+221 -10 replies
2/4libkvm: KVM_GET_PMTIMER ioctl supportlibkvm/libkvm.c libkvm/libkvm.h+18 -00 replies
3/4QEMU/KVM: non-virtualized ACPI PMTimer supportbios/rombios32.c qemu/hw/acpi.c qemu/hw/pc.c +5 more+159 -458 replies
4/4KVM: allow direct access to PMTimer portarch/x86/kvm/svm.c arch/x86/kvm/vmx.c arch/x86/kvm/x86.c +2 more+31 -05 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/4] C2 "emulation"

As discussed before the TSC is unreliable as a clocksource for KVM guests, especially with CPU migration.

The following patchset changes the QEMU ACPI tables to report a valid C2 state temporarily to force guests to switch to more reliable ones.

Also allow direct access to the PMTimer port which is constantly used in C1 idle.

Tested with Linux and Windows XP.