Thread (90 messages) 90 messages, 5 authors, 2025-02-10

Re: [PATCH v6 12/43] arm64: RME: Allocate/free RECs to match vCPUs

From: Steven Price <steven.price@arm.com>
Date: 2025-02-03 16:34:13
Also in: kvm, kvmarm, linux-coco, lkml

On 03/02/2025 11:18, Suzuki K Poulose wrote:
On 30/01/2025 16:40, Steven Price wrote:
quoted
On 29/01/2025 04:50, Gavin Shan wrote:
[...]
quoted
quoted
One corner case seems missed in kvm_vcpu_init_check_features(). It's
allowed to
initialize a vCPU with REC feature even kvm_is_realm(kvm) is false.
Hopefully,
I didn't miss something.
Ah, yes good point. I'll pass a kvm pointer to
kvm_vcpu_init_check_features() and use kvm_is_realm() in there.
nit: kvm is available from the VCPU via vcpu->kvm
Absolutely correct, and what I wrote was nonsense ;)

What I meant was to pass a kvm pointer *from*
kvm_vcpu_init_check_features() *to* system_supported_vcpu_features() and
use kvm_is_realm() in there!

Thanks,
Steve

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help