By exposing launched, test-vmcs can be hand-over between CPUs by VMCLEAR test-vmcs and resetting launched to false. Reviewed-by: Nikita Leshenko <nikita.leshchenko@xxxxxxxxxx> Reviewed-by: Joao Martins <joao.m.martins@xxxxxxxxxx> Signed-off-by: Liran Alon <liran.alon@xxxxxxxxxx> --- x86/vmx.h | 1 + 1 file changed, 1 insertion(+) diff --git a/x86/vmx.h b/x86/vmx.h index e47134e29e83..a8bc8472ed61 100644 --- a/x86/vmx.h +++ b/x86/vmx.h @@ -661,6 +661,7 @@ extern union vmx_ctrl_msr ctrl_enter_rev; extern union vmx_ept_vpid ept_vpid; extern u64 *bsp_vmxon_region; +extern bool launched; void vmx_set_test_stage(u32 s); u32 vmx_get_test_stage(void); -- 2.20.1