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:
Andrew Cooper committed 2025-06-25 17:54:41 +01:00
1 parent 136387f70f
commit 5ede8c9261
1 file changed
+1 -1
+1 -1
View File
@@ -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;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.