Thread (51 messages) 51 messages, 4 authors, 7d ago

Re: [PATCH v21 05/23] KVM: arm64: Track the type of VM in kvm_arch

flat view

From: Marc Zyngier <maz@kernel.org>
Date: 2026-10-02 15:29:29
Also in: kvm, kvmarm, linux-coco, lkml

On Fri, 02 Oct 2026 15:37:00 +0100,
Fuad Tabba [off-list ref] wrote:
Hi Marc,

On Fri, 02 Oct 2026 15:15:06 +0100, Marc Zyngier [off-list ref] wrote:
[...]
quoted
Honestly, we introduce the flavor stuff to make it easy to match
things on a particular VM type in a readable way. So why isn't this
reading:

        if (vcpu->kvm->arch.vm_flavor != VM_PROTECTED_PKVM)
                return;
I know this is a sketch, but just in case: that's inverted. The sync
only applies to non-protected pKVM VMs (EL2 ignores it for protected
ones), so it would be != VM_PKVM.
See what I meant about this stuff being completely intractable? I
still have no idea what it means! ;-)

	M.

-- 
Without deviation from the norm, progress is not possible.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help