diff options
author | Zeng Guang <guang.zeng@intel.com> | 2022-04-22 15:44:56 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-08 10:47:34 +0200 |
commit | 753dcf7a8686a750fa6aa4b4ca42c6945fc75ac1 (patch) | |
tree | 0d3c054447230b19703030f1c90fb4d0a4a4cd29 /net/rxrpc/security.c | |
parent | KVM: x86: Allow userspace to set maximum VCPU id for VM (diff) | |
download | linux-753dcf7a8686a750fa6aa4b4ca42c6945fc75ac1.tar.xz linux-753dcf7a8686a750fa6aa4b4ca42c6945fc75ac1.zip |
kvm: selftests: Add KVM_CAP_MAX_VCPU_ID cap test
Basic test coverage of KVM_CAP_MAX_VCPU_ID cap.
This capability can be enabled before vCPU creation and only allowed
to set once. if assigned vcpu id is beyond KVM_CAP_MAX_VCPU_ID
capability, vCPU creation will fail.
Signed-off-by: Zeng Guang <guang.zeng@intel.com>
Message-Id: <20220422134456.26655-1-guang.zeng@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net/rxrpc/security.c')
0 files changed, 0 insertions, 0 deletions