commit | 9319676595a2da8022327119e89c8b13f934835e | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Jul 27 08:45:00 2020 -0400 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Jul 27 09:04:48 2020 -0400 |
tree | 66df90221f0ff32b681b3840698947e0c1c4757a | |
parent | 3d9fdc252b52023260de1d12399cb3157ed28c07 [diff] |
selftests: kvm: do not set guest mode flag Setting KVM_STATE_NESTED_GUEST_MODE enables various consistency checks on VMCS12 and therefore causes KVM_SET_NESTED_STATE to fail spuriously with -EINVAL. Do not set the flag so that we're sure to cover the conditions included by the test, and cover the case where VMCS12 is set and KVM_SET_NESTED_STATE is called with invalid VMCS12 contents. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>