Skip to content
Commit 22abdd39 authored by Nadav Amit's avatar Nadav Amit Committed by Paolo Bonzini
Browse files

x86/hypercall: enable the test on non-KVM environment



KVM knows to emulate both vmcall and vmmcall regardless of the
actual architecture. Native hardware does not behave this way. Based on
the availability of test-device, figure out that the test is run on
non-KVM environment, and if so, run vmcall/vmmcall based on the actual
architecture.

Signed-off-by: default avatarNadav Amit <nadav.amit@gmail.com>
Message-Id: <20210609182945.36849-5-nadav.amit@gmail.com>
parent 90ab30c2
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