Messages in this thread | | | From | Vitaly Kuznetsov <> | Subject | [PATCH 0/2] KVM: x86: Forbid KVM_SET_CPUID{,2} after KVM_RUN | Date | Mon, 22 Nov 2021 18:58:16 +0100 |
| |
Commit 63f5a1909f9e ("KVM: x86: Alert userspace that KVM_SET_CPUID{,2} after KVM_RUN is broken") officially deprecated KVM_SET_CPUID{,2} ioctls after first successful KVM_RUN and promissed to make this sequence forbiden in 5.16. TO fulfil the promise 'hyperv_features' selftest needs to be fixed first.
Vitaly Kuznetsov (2): KVM: selftests: Avoid KVM_SET_CPUID2 after KVM_RUN in hyperv_features test KVM: x86: Forbid KVM_SET_CPUID{,2} after KVM_RUN
arch/x86/kvm/mmu/mmu.c | 20 +-- arch/x86/kvm/x86.c | 27 ++++ .../selftests/kvm/x86_64/hyperv_features.c | 140 +++++++++--------- 3 files changed, 101 insertions(+), 86 deletions(-)
-- 2.33.1
| |