-
- Downloads
KVM: selftests: Test KVM_SET_CPUID2 after KVM_RUN
KVM forbids KVM_SET_CPUID2 after KVM_RUN was performed on a vCPU unless the supplied CPUID data is equal to what was previously set. Test this. Signed-off-by:Vitaly Kuznetsov <vkuznets@redhat.com> Message-Id: <20220117150542.2176196-5-vkuznets@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- tools/testing/selftests/kvm/include/x86_64/processor.h 7 additions, 0 deletionstools/testing/selftests/kvm/include/x86_64/processor.h
- tools/testing/selftests/kvm/lib/x86_64/processor.c 29 additions, 4 deletionstools/testing/selftests/kvm/lib/x86_64/processor.c
- tools/testing/selftests/kvm/x86_64/cpuid_test.c 30 additions, 0 deletionstools/testing/selftests/kvm/x86_64/cpuid_test.c
Loading
Please register or sign in to comment