Skip to content
Commit 48aad93d authored by Sean Christopherson's avatar Sean Christopherson Committed by Paolo Bonzini
Browse files

nVMX: Add helper to check if a memtype is supported for EPT structures



Add a helper to check if a given memtype can be used for EPT structures,
and use the helper to clean up the EPT test code.  An informational
message is lost along the way, but that's not necessarily a bad thing.

Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
Message-Id: <20211125012857.508243-36-seanjc@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent c08f83c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment