[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH V5 1/9] accel/kvm: Extract common KVM vCPU {creation,parking}
From: |
Salil Mehta |
Subject: |
RE: [PATCH V5 1/9] accel/kvm: Extract common KVM vCPU {creation,parking} code |
Date: |
Thu, 12 Oct 2023 14:38:43 +0000 |
Hi Jonathan,
> From: Jonathan Cameron <jonathan.cameron@huawei.com>
> Sent: Thursday, October 12, 2023 3:36 PM
> To: Salil Mehta <salil.mehta@huawei.com>
> Cc: qemu-devel@nongnu.org; qemu-arm@nongnu.org; maz@kernel.org; jean-
> philippe@linaro.org; lpieralisi@kernel.org; peter.maydell@linaro.org;
> richard.henderson@linaro.org; imammedo@redhat.com; andrew.jones@linux.dev;
> david@redhat.com; philmd@linaro.org; eric.auger@redhat.com;
> oliver.upton@linux.dev; pbonzini@redhat.com; mst@redhat.com;
> will@kernel.org; gshan@redhat.com; rafael@kernel.org;
> alex.bennee@linaro.org; linux@armlinux.org.uk;
> darren@os.amperecomputing.com; ilkka@os.amperecomputing.com;
> vishnu@os.amperecomputing.com; karl.heubaum@oracle.com;
> miguel.luis@oracle.com; salil.mehta@opnsrc.net; zhukeqian
> <zhukeqian1@huawei.com>; wangxiongfeng (C) <wangxiongfeng2@huawei.com>;
> wangyanan (Y) <wangyanan55@huawei.com>; jiakernel2@gmail.com;
> maobibo@loongson.cn; lixianglai@loongson.cn; Linuxarm <linuxarm@huawei.com>
> Subject: Re: [PATCH V5 1/9] accel/kvm: Extract common KVM vCPU
> {creation,parking} code
>
> On Wed, 11 Oct 2023 20:43:47 +0100
> Salil Mehta <salil.mehta@huawei.com> wrote:
>
> > KVM vCPU creation is done once during the initialization of the VM when
> Qemu
> > thread is spawned. This is common to all the architectures.
> >
> > Hot-unplug of vCPU results in destruction of the vCPU object in QOM but
> the
> > corresponding KVM vCPU object in the Host KVM is not destroyed and its
> > representative KVM vCPU object/context in Qemu is parked.
> >
> > Refactor common logic so that some APIs could be reused by vCPU Hotplug
> > code.
>
> If you are respinning I'd also call out that you added some trace points.
Ok. Will do.
Thanks
> > Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
> > Reviewed-by: Gavin Shan <gshan@redhat.com>
> > Tested-by: Vishnu Pajjuri <vishnu@os.amperecomputing.com>
> Otherwise LGTM as it's a straight forward refactor.
>
> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
>
- [PATCH V5 0/9] Add architecture agnostic code to support vCPU Hotplug, Salil Mehta, 2023/10/11
- [PATCH V5 1/9] accel/kvm: Extract common KVM vCPU {creation, parking} code, Salil Mehta, 2023/10/11
- [PATCH V5 2/9] hw/acpi: Move CPU ctrl-dev MMIO region len macro to common header file, Salil Mehta, 2023/10/11
- [PATCH V5 3/9] hw/acpi: Add ACPI CPU hotplug init stub, Salil Mehta, 2023/10/11
- [PATCH V5 4/9] hw/acpi: Init GED framework with CPU hotplug events, Salil Mehta, 2023/10/11
- [PATCH V5 5/9] hw/acpi: Update CPUs AML with cpu-(ctrl)dev change, Salil Mehta, 2023/10/11
- [PATCH V5 6/9] hw/acpi: Update GED _EVT method AML with CPU scan, Salil Mehta, 2023/10/11
- [PATCH V5 7/9] hw/acpi: Update ACPI GED framework to support vCPU Hotplug, Salil Mehta, 2023/10/11