Re: [PATCH v5 7/8] KVM: VMX: Update PID-pointer table entry when APIC ID is changed

From: Zeng Guang
Date: Fri Jan 07 2022 - 03:06:00 EST


On 1/6/2022 10:06 PM, Tom Lendacky wrote:
On 1/5/22 7:44 PM, Zeng Guang wrote:
On 1/6/2022 3:13 AM, Tom Lendacky wrote:
On 12/31/21 8:28 AM, Zeng Guang wrote:
Won't this blow up on AMD since there is no corresponding SVM op?

Thanks,
Tom
Right, need check ops validness to avoid ruining AMD system. Same
consideration on ops "update_ipiv_pid_table" in patch8.
Not necessarily for patch8. That is "protected" by the
kvm_check_request(KVM_REQ_PID_TABLE_UPDATE, vcpu) test, but it couldn't hurt.

OK, make sense. Thanks.

Thanks,
Tom

I will revise in next version. Thanks.
+        } else
               ret = 1;
           break;