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

Paolo Bonzini
2020-07-05T06:16:53Z

On 04/07/20 18:50, Philippe Mathieu-Daudé wrote:
> kind ping :)

Queued all except 4.

Paolo

> On 6/23/20 12:50 PM, Philippe Mathieu-Daudé wrote:
>> Following Paolo's idea on kvm_check_extension():
>> https://www.mail-archive.com/qemu-devel@nongnu.org/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(-)
>>
>