[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/7] x86: Rework KVM-defaults compat code, enable kv
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PATCH 0/7] x86: Rework KVM-defaults compat code, enable kvm_pv_unhalt by default |
Date: |
Fri, 6 Oct 2017 18:52:37 -0300 |
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: address@hidden
(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(-)
--
2.13.6
- [Qemu-devel] [PATCH 0/7] x86: Rework KVM-defaults compat code, enable kvm_pv_unhalt by default,
Eduardo Habkost <=
- [Qemu-devel] [PATCH 1/7] qemu-doc: Document minimum kernel version for KVM in x86_64, Eduardo Habkost, 2017/10/06
- [Qemu-devel] [PATCH 2/7] target/i386: x86_cpu_expand_feature() helper, Eduardo Habkost, 2017/10/06
- [Qemu-devel] [PATCH 3/7] target/i386: Use global variables to control KVM defaults, Eduardo Habkost, 2017/10/06
- [Qemu-devel] [PATCH 4/7] kvm: Define KVM_FEAT_* even if CONFIG_KVM is not defined, Eduardo Habkost, 2017/10/06
- [Qemu-devel] [PATCH 5/7] target/i386: Handle kvm_auto_* compat in x86_cpu_expand_features(), Eduardo Habkost, 2017/10/06
- [Qemu-devel] [PATCH 6/7] pc: Use compat_props to control KVM defaults compatibility, Eduardo Habkost, 2017/10/06
- [Qemu-devel] [PATCH 7/7] target/i386: Enable kvm_pv_unhalt by default, Eduardo Habkost, 2017/10/06