2025-04-30T18:32:31+05:30, Anup Patel <anup@xxxxxxxxxxxxxx>: > On Wed, Apr 30, 2025 at 5:15 PM Radim Krčmář <rkrcmar@xxxxxxxxxxxxxxxx> wrote: >> We can re-use KVM_SET_MP_STATE and add a KVM capability. >> Userspace will opt-in to reset the VCPU through the existing IOCTL. >> >> This design will also allow userspace to trigger a VCPU reset without >> tearing down the whole VM. > > Okay, lets go ahead with a KVM capability which user space can opt-in > for KVM_SET_MP_STATE ioctl(). > > Keep in mind that at runtime Guest can still do CPU hotplug using SBI > HSM start/stop and do system suspend using SBI SUSP so we should > continue to have VCPU reset requests for both these SBI extensions. Will do, thanks.