mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
x86/svm: Revert 1->true conversion in svm_asid_handle_vmrun()
This is literally ASID 1 (of 2^16), not a boolean.
Fixes: 2f09f797ba ("x86/svm: Drop the suffix _guest from vmcb bit")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
136387f70f
commit
5ede8c9261
1 file changed
+1
-1
@@ -37,7 +37,7 @@ void svm_asid_handle_vmrun(void)
|
||||
/* ASID 0 indicates that ASIDs are disabled. */
|
||||
if ( p_asid->asid == 0 )
|
||||
{
|
||||
vmcb_set_asid(vmcb, true);
|
||||
vmcb_set_asid(vmcb, 1);
|
||||
vmcb->tlb_control =
|
||||
cpu_has_svm_flushbyasid ? TLB_CTRL_FLUSH_ASID : TLB_CTRL_FLUSH_ALL;
|
||||
return;
|
||||
|
||||