Skip to content

x86: Rework KVM-defaults compat code, enable kvm_pv_unhalt by default

Eduardo Habkost qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7qemu-doc: Document minimum kernel version for KVM in x86_64qemu-doc.texi+9 -02 replies
2/7target/i386: x86_cpu_expand_feature() helpertarget/i386/cpu.c+21 -60 replies
3/7target/i386: Use global variables to control KVM defaultshw/i386/pc_piix.c target/i386/cpu.c target/i386/cpu.h+26 -310 replies
4/7kvm: Define KVM_FEAT_* even if CONFIG_KVM is not definedtarget/i386/kvm_i386.h+9 -00 replies
5/7target/i386: Handle kvm_auto_* compat in x86_cpu_expand_features()target/i386/cpu.c+25 -160 replies
6/7pc: Use compat_props to control KVM defaults compatibilityhw/i386/pc_piix.c include/hw/i386/pc.h target/i386/cpu.c +1 more+31 -190 replies
7/7target/i386: Enable kvm_pv_unhalt by defaultinclude/hw/i386/pc.h qemu-doc.texi target/i386/cpu.c +1 more+15 -12 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/7] x86: Rework KVM-defaults compat code, enable kvm_pv_unhalt by default

This series enables kvm_pv_unhalt by default on pc-*-2.11 and newer.

To do that, I first reworked the existing x86_cpu_change_kvm_default() logic to use compat_props instead, so we don't need to make the chain of pc_compat_*() functions grow.

Based-on: [email protected]
(Subject: [PATCH] isapc: Remove unnecessary migration compatibility code)

Eduardo Habkost (7):
qemu-doc: Document minimum kernel version for KVM in x86_64 target/i386: x86_cpu_expand_feature() helper target/i386: Use global variables to control KVM defaults
kvm: Define KVM_FEAT_* even if CONFIG_KVM is not defined target/i386: Handle kvm_auto_* compat in x86_cpu_expand_features()
pc: Use compat_props to control KVM defaults compatibility target/i386: Enable kvm_pv_unhalt by default

 include/hw/i386/pc.h   | 12 +++++++
 target/i386/cpu.h      | 22 +++++++------
 target/i386/kvm_i386.h |  9 ++++++
 hw/i386/pc_piix.c      |  7 ++--
 target/i386/cpu.c      | 88 +++++++++++++++++++++++++++++++++-----------------
 qemu-doc.texi          |  9 ++++++
 6 files changed, 105 insertions(+), 42 deletions(-)
Signature · 1 line
2.13.6