[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC 6/9] target/arm: introduce KVM_CAP_ARM_CPU_FEATURE
From: |
Cornelia Huck |
Subject: |
Re: [RFC 6/9] target/arm: introduce KVM_CAP_ARM_CPU_FEATURE |
Date: |
Thu, 13 Aug 2020 13:00:34 +0200 |
On Thu, 13 Aug 2020 18:26:54 +0800
Peng Liang <liangpeng10@huawei.com> wrote:
> Introduce KVM_CAP_ARM_CPU_FEATURE to check whether KVM supports to set
> CPU features in ARM.
>
> Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
> Signed-off-by: Peng Liang <liangpeng10@huawei.com>
> ---
> linux-headers/linux/kvm.h | 1 +
> target/arm/cpu.c | 5 +++++
> target/arm/kvm64.c | 14 ++++++++++++++
> target/arm/kvm_arm.h | 7 +++++++
> 4 files changed, 27 insertions(+)
>
> diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h
> index a28c366737..0b83d2b4bb 100644
> --- a/linux-headers/linux/kvm.h
> +++ b/linux-headers/linux/kvm.h
> @@ -1031,6 +1031,7 @@ struct kvm_ppc_resize_hpt {
> #define KVM_CAP_PPC_SECURE_GUEST 181
> #define KVM_CAP_HALT_POLL 182
> #define KVM_CAP_ASYNC_PF_INT 183
> +#define KVM_CAP_ARM_CPU_FEATURE 187
>
> #ifdef KVM_CAP_IRQ_ROUTING
Please split out this header update into a separate patch so that it
can be replaced by a proper headers update once the kernel code has been
included.
- Re: [RFC 2/9] target/arm: parse cpu feature related options, (continued)
[RFC 3/9] target/arm: register CPU features for property, Peng Liang, 2020/08/13
[RFC 5/9] target/arm: introduce CPU feature dependency mechanism, Peng Liang, 2020/08/13
[RFC 6/9] target/arm: introduce KVM_CAP_ARM_CPU_FEATURE, Peng Liang, 2020/08/13
- Re: [RFC 6/9] target/arm: introduce KVM_CAP_ARM_CPU_FEATURE,
Cornelia Huck <=
[RFC 1/9] target/arm: convert isar regs to array, Peng Liang, 2020/08/13
[RFC 7/9] target/arm: Add CPU features to query-cpu-model-expansion, Peng Liang, 2020/08/13
[RFC 9/9] target/arm: Add more CPU features, Peng Liang, 2020/08/13
[RFC 8/9] target/arm: Update ID fields, Peng Liang, 2020/08/13