mbox series

[v2,0/8] i386: Assorted KVM PV and Hyper-V feature improvements

Message ID 20210902093530.345756-1-vkuznets@redhat.com (mailing list archive)
Headers show
Series i386: Assorted KVM PV and Hyper-V feature improvements | expand

Message

Vitaly Kuznetsov Sept. 2, 2021, 9:35 a.m. UTC
This is a continuation of "[PATCH 0/3] i386/kvm: Paravirtualized features usage 
enforcement" series, thus v2.

This series implements several unrelated features but as there are code
dependencies between them I'm sending it as one series.

PATCH1 adds empty 6.2 machine types and the required compat infrastructure
(to be used by PATCH8)
PATCH2 adds documentation for KVM PV features
PATCH3 adds support for KVM_CAP_ENFORCE_PV_FEATURE_CPUID
PATCH4 adds support for KVM_CAP_HYPERV_ENFORCE_CPUID
PATCHes5-6 add 'hv-avic' feature
PATCH7 makes Hyper-V version info settable
PATCH8 changes the default Hyper-V version to 2016

Vitaly Kuznetsov (8):
  i386: Add 6.2 machine types
  i386: docs: Briefly describe KVM PV features
  i386: Support KVM_CAP_ENFORCE_PV_FEATURE_CPUID
  i386: Support KVM_CAP_HYPERV_ENFORCE_CPUID
  i386: Move HV_APIC_ACCESS_RECOMMENDED bit setting to
    hyperv_fill_cpuids()
  i386: Implement pseudo 'hv-avic' ('hv-apicv') enlightenment
  i386: Make Hyper-V version id configurable
  i386: Change the default Hyper-V version to match WS2016

 docs/hyperv.txt                |  41 +++++++++++--
 docs/kvm-pv.txt                | 103 +++++++++++++++++++++++++++++++++
 hw/core/machine.c              |   3 +
 hw/i386/pc.c                   |   7 +++
 hw/i386/pc_piix.c              |  14 ++++-
 hw/i386/pc_q35.c               |  13 ++++-
 include/hw/boards.h            |   3 +
 include/hw/i386/pc.h           |   3 +
 target/i386/cpu.c              |  22 +++++--
 target/i386/cpu.h              |  12 +++-
 target/i386/kvm/hyperv-proto.h |   1 +
 target/i386/kvm/kvm.c          |  62 +++++++++++++++-----
 12 files changed, 260 insertions(+), 24 deletions(-)
 create mode 100644 docs/kvm-pv.txt

Comments

Vitaly Kuznetsov Sept. 17, 2021, 8:17 a.m. UTC | #1
Vitaly Kuznetsov <vkuznets@redhat.com> writes:

> This is a continuation of "[PATCH 0/3] i386/kvm: Paravirtualized features usage 
> enforcement" series, thus v2.
>
> This series implements several unrelated features but as there are code
> dependencies between them I'm sending it as one series.
>
> PATCH1 adds empty 6.2 machine types and the required compat infrastructure
> (to be used by PATCH8)
> PATCH2 adds documentation for KVM PV features
> PATCH3 adds support for KVM_CAP_ENFORCE_PV_FEATURE_CPUID
> PATCH4 adds support for KVM_CAP_HYPERV_ENFORCE_CPUID
> PATCHes5-6 add 'hv-avic' feature
> PATCH7 makes Hyper-V version info settable
> PATCH8 changes the default Hyper-V version to 2016

Eduardo, Paolo, all,

any comments? It seems patches can still be applied to 'master' with no
issues.
Paolo Bonzini Sept. 29, 2021, 3:29 p.m. UTC | #2
On 02/09/21 11:35, Vitaly Kuznetsov wrote:
> This is a continuation of "[PATCH 0/3] i386/kvm: Paravirtualized features usage
> enforcement" series, thus v2.
> 
> This series implements several unrelated features but as there are code
> dependencies between them I'm sending it as one series.
> 
> PATCH1 adds empty 6.2 machine types and the required compat infrastructure
> (to be used by PATCH8)
> PATCH2 adds documentation for KVM PV features
> PATCH3 adds support for KVM_CAP_ENFORCE_PV_FEATURE_CPUID
> PATCH4 adds support for KVM_CAP_HYPERV_ENFORCE_CPUID
> PATCHes5-6 add 'hv-avic' feature
> PATCH7 makes Hyper-V version info settable
> PATCH8 changes the default Hyper-V version to 2016
> 
> Vitaly Kuznetsov (8):
>    i386: Add 6.2 machine types
>    i386: docs: Briefly describe KVM PV features
>    i386: Support KVM_CAP_ENFORCE_PV_FEATURE_CPUID
>    i386: Support KVM_CAP_HYPERV_ENFORCE_CPUID
>    i386: Move HV_APIC_ACCESS_RECOMMENDED bit setting to
>      hyperv_fill_cpuids()
>    i386: Implement pseudo 'hv-avic' ('hv-apicv') enlightenment
>    i386: Make Hyper-V version id configurable
>    i386: Change the default Hyper-V version to match WS2016
> 
>   docs/hyperv.txt                |  41 +++++++++++--
>   docs/kvm-pv.txt                | 103 +++++++++++++++++++++++++++++++++
>   hw/core/machine.c              |   3 +
>   hw/i386/pc.c                   |   7 +++
>   hw/i386/pc_piix.c              |  14 ++++-
>   hw/i386/pc_q35.c               |  13 ++++-
>   include/hw/boards.h            |   3 +
>   include/hw/i386/pc.h           |   3 +
>   target/i386/cpu.c              |  22 +++++--
>   target/i386/cpu.h              |  12 +++-
>   target/i386/kvm/hyperv-proto.h |   1 +
>   target/i386/kvm/kvm.c          |  62 +++++++++++++++-----
>   12 files changed, 260 insertions(+), 24 deletions(-)
>   create mode 100644 docs/kvm-pv.txt
> 

Queued patches 3-8, thanks.

Paolo
Vitaly Kuznetsov Sept. 30, 2021, 8:09 a.m. UTC | #3
Paolo Bonzini <pbonzini@redhat.com> writes:

> On 02/09/21 11:35, Vitaly Kuznetsov wrote:
>> This is a continuation of "[PATCH 0/3] i386/kvm: Paravirtualized features usage
>> enforcement" series, thus v2.
>> 
>> This series implements several unrelated features but as there are code
>> dependencies between them I'm sending it as one series.
>> 
>> PATCH1 adds empty 6.2 machine types and the required compat infrastructure
>> (to be used by PATCH8)
>> PATCH2 adds documentation for KVM PV features
>> PATCH3 adds support for KVM_CAP_ENFORCE_PV_FEATURE_CPUID
>> PATCH4 adds support for KVM_CAP_HYPERV_ENFORCE_CPUID
>> PATCHes5-6 add 'hv-avic' feature
>> PATCH7 makes Hyper-V version info settable
>> PATCH8 changes the default Hyper-V version to 2016
>> 
>> Vitaly Kuznetsov (8):
>>    i386: Add 6.2 machine types
>>    i386: docs: Briefly describe KVM PV features
>>    i386: Support KVM_CAP_ENFORCE_PV_FEATURE_CPUID
>>    i386: Support KVM_CAP_HYPERV_ENFORCE_CPUID
>>    i386: Move HV_APIC_ACCESS_RECOMMENDED bit setting to
>>      hyperv_fill_cpuids()
>>    i386: Implement pseudo 'hv-avic' ('hv-apicv') enlightenment
>>    i386: Make Hyper-V version id configurable
>>    i386: Change the default Hyper-V version to match WS2016
>> 
>>   docs/hyperv.txt                |  41 +++++++++++--
>>   docs/kvm-pv.txt                | 103 +++++++++++++++++++++++++++++++++
>>   hw/core/machine.c              |   3 +
>>   hw/i386/pc.c                   |   7 +++
>>   hw/i386/pc_piix.c              |  14 ++++-
>>   hw/i386/pc_q35.c               |  13 ++++-
>>   include/hw/boards.h            |   3 +
>>   include/hw/i386/pc.h           |   3 +
>>   target/i386/cpu.c              |  22 +++++--
>>   target/i386/cpu.h              |  12 +++-
>>   target/i386/kvm/hyperv-proto.h |   1 +
>>   target/i386/kvm/kvm.c          |  62 +++++++++++++++-----
>>   12 files changed, 260 insertions(+), 24 deletions(-)
>>   create mode 100644 docs/kvm-pv.txt
>> 
>
> Queued patches 3-8, thanks.

Patch3 with the hunk to docs/kvm-pv.txt dropped I suppose (as PATCH2
introducing the file is not queued)? I can include it in the next
submission then.

Thanks!