x86/svm: Revert 1->true conversion in svm_asid_handle_vmrun()
PATCH 1/1 x86/svm: Revert 1->true conversion in svm_asid_handle_vmrun()
This is literally ASID 1, not a boolean configuration.
Fixes 2f09f797ba43 ("x86/svm: Drop the suffix _guest from vmcb bit")
Signed-off-by Andrew Cooper <[email protected]>
---
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
--- xen/arch/x86/hvm/svm/asid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/x86/hvm/svm/asid.c +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 ;
base-commit: cc7394164633e75fb61d52565f75271e0b7f1236
Signature · 1 line
2.39.5
Quoted 4 lines · Andrew Cooper
This is literally ASID 1, not a boolean configuration.
Fixes 2f09f797ba43 ("x86/svm: Drop the suffix _guest from vmcb bit")Signed-off-by Andrew Cooper <[email protected]>
Reviewed-by Jan Beulich <[email protected]>