Re: [PATCH 4/5] KVM: RISC-V: reset VCPU state when becoming runnable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux