History

KVM: arm64: Allow userspace to request KVM_ARM_VCPU_EL2*

Since we're (almost) feature complete, let's allow userspace to request KVM_ARM_VCPU_EL2* by bumping KVM_VCPU_MAX_FEATURES up. We also now advertise the features to userspace with new capabilities. It's going to be great...

Marc Zyngier committed 1 year ago

Commit a7484c81 parent 6ec4c373 files · +9 −1Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/kvm.h+2−0
@@ -930,6 +930,8 @@ struct kvm_enable_cap { · 929 unmodified lines
930#define KVM_CAP_X86_APIC_BUS_CYCLES_NS 237930#define KVM_CAP_X86_APIC_BUS_CYCLES_NS 237
931#define KVM_CAP_X86_GUEST_MODE 238931#define KVM_CAP_X86_GUEST_MODE 238
932#define KVM_CAP_ARM_WRITABLE_IMP_ID_REGS 239932#define KVM_CAP_ARM_WRITABLE_IMP_ID_REGS 239
933#define KVM_CAP_ARM_EL2 240
934#define KVM_CAP_ARM_EL2_E2H0 241
933 935
934struct kvm_irq_routing_irqchip {936struct kvm_irq_routing_irqchip {
935 __u32 irqchip;937 __u32 irqchip;