diff options
author | 2022-09-29 11:12:06 -0700 | |
---|---|---|
committer | 2022-09-30 06:39:36 -0400 | |
commit | 4d2bd14319e4e0a49fc868c50ca0b2a747b58208 (patch) | |
tree | 4d2dfe8976ecdd70e388823593c42653db38b81f /scripts/generate_rust_analyzer.py | |
parent | KVM: selftests: Tell the compiler that code after TEST_FAIL() is unreachable (diff) | |
download | wireguard-linux-4d2bd14319e4e0a49fc868c50ca0b2a747b58208.tar.xz wireguard-linux-4d2bd14319e4e0a49fc868c50ca0b2a747b58208.zip |
KVM: selftests: Add helpers to read kvm_{intel,amd} boolean module parameters
Add helper functions for reading the value of kvm_intel and kvm_amd
boolean module parameters. Use the kvm_intel variant in
vm_is_unrestricted_guest() to simplify the check for
kvm_intel.unrestricted_guest.
No functional change intended.
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20220929181207.2281449-3-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions