On Thu, 13 Aug 2020 18:26:54 +0800 Peng Liang <[email protected]> wrote:
> Introduce KVM_CAP_ARM_CPU_FEATURE to check whether KVM supports to set > CPU features in ARM. > > Signed-off-by: zhanghailiang <[email protected]> > Signed-off-by: Peng Liang <[email protected]> > --- > 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.
