Re: [PATCH v3 4/4] KVM: TDX: Enable Bus Lock VM exit
"Edgecombe, Rick P" <[email protected]>
| Newsgroups | dev.linux.lists.linux-coco,org.kernel.vger.kvm,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2026-08-12 at 16:02 +0800, Xiaoyao Li wrote:
> - if (unlikely(READ_ONCE(to_kvm_tdx(vcpu->kvm)->wait_for_sept_zap)))
> + if (unlikely(READ_ONCE(to_kvm_tdx(vcpu->kvm)->wait_for_sept_zap))) {
> + vt->exit_reason.bus_lock_detected = 0;
> return EXIT_FASTPATH_EXIT_HANDLED;
> + }
>
This still feels hacky to me. It at least deserves a comment I think. If you
spin another version.