+ svm_x86_ops.update_cr8_intercept = NULL;Remember that AVIC enabled/disabled must be refreshed when the
> } else {
> svm_x86_ops.deliver_posted_interrupt = NULL;
> }
>@@ -1116,7 +1119,8 @@ static void init_vmcb(struct vcpu_svm *svm)
> set_cr_intercept(svm, INTERCEPT_CR0_WRITE);
> set_cr_intercept(svm, INTERCEPT_CR3_WRITE);
> set_cr_intercept(svm, INTERCEPT_CR4_WRITE);
>- set_cr_intercept(svm, INTERCEPT_CR8_WRITE);
>+ if (!avic)
.refresh_apicv_exec_ctrl callback is invoked, so it is not enough to use
the global variable.
Paolo