Skip to content

accel/kvm: Simplify few functions that can use global kvm_state

Philippe Mathieu-Daudé kvm qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7accel/kvm: Let kvm_check_extension use global KVM stateaccel/kvm/kvm-all.c+1 -11 reply
2/7accel/kvm: Simplify kvm_check_extension()accel/kvm/kvm-all.c hw/hyperv/hyperv.c hw/i386/kvm/clock.c +15 more+119 -1271 reply
3/7accel/kvm: Simplify kvm_check_extension_list()accel/kvm/kvm-all.c+3 -31 reply
4/7accel/kvm: Simplify kvm_set_sigmask_len()accel/kvm/kvm-all.c include/sysemu/kvm.h target/mips/kvm.c+4 -42 replies
5/7target/i386/kvm: Simplify get_para_features()target/i386/kvm.c+2 -21 reply
6/7target/i386/kvm: Simplify kvm_get_mce_cap_supported()target/i386/kvm.c+3 -30 replies
7/7target/i386/kvm: Simplify kvm_get_supported_[feature]_msrs()target/i386/kvm.c+9 -80 replies

Reviews trailers per patch

4 of 7 patches have a Reviewed-by or Acked-by.

PatchPaolo BonziniCornelia Huck
1/7R-b
2/7Inspired-by R-b
3/7R-b
4/7
5/7R-b
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] accel/kvm: Simplify few functions that can use global kvm_state

Following Paolo's idea on kvm_check_extension():
https://www.mail-archive.com/[email protected]/msg713794.html

CI:
https://travis-ci.org/github/philmd/qemu/builds/701213438

Philippe Mathieu-Daudé (7):
accel/kvm: Let kvm_check_extension use global KVM state accel/kvm: Simplify kvm_check_extension() accel/kvm: Simplify kvm_check_extension_list() accel/kvm: Simplify kvm_set_sigmask_len() target/i386/kvm: Simplify get_para_features() target/i386/kvm: Simplify kvm_get_mce_cap_supported() target/i386/kvm: Simplify kvm_get_supported_[feature]_msrs()

 include/sysemu/kvm.h         |  4 +-
 accel/kvm/kvm-all.c          | 76 +++++++++++++++----------------
 hw/hyperv/hyperv.c           |  2 +-
 hw/i386/kvm/clock.c          |  2 +-
 hw/i386/kvm/i8254.c          |  4 +-
 hw/i386/kvm/ioapic.c         |  2 +-
 hw/intc/arm_gic_kvm.c        |  2 +-
 hw/intc/openpic_kvm.c        |  2 +-
 hw/intc/xics_kvm.c           |  2 +-
 hw/s390x/s390-stattrib-kvm.c |  2 +-
 target/arm/kvm.c             | 13 +++---
 target/arm/kvm32.c           |  2 +-
 target/arm/kvm64.c           | 15 +++---
 target/i386/kvm.c            | 88 +++++++++++++++++-------------------
 target/mips/kvm.c            |  6 +--
 target/ppc/kvm.c             | 34 +++++++-------
 target/s390x/cpu_models.c    |  3 +-
 target/s390x/kvm.c           | 30 ++++++------
 18 files changed, 141 insertions(+), 148 deletions(-)
Signature · 1 line
2.21.3