Re: [PATCH 0/2] Kexec enabling in TDX guest

From: Kirill A. Shutemov
Date: Thu Feb 16 2023 - 13:12:42 EST


On Thu, Feb 16, 2023 at 09:50:32AM -0800, Dave Hansen wrote:
> On 2/13/23 15:48, Kirill A. Shutemov wrote:
> > The patch brings basic enabling of kexec in TDX guests.
> >
> > By "basic enabling" I mean, kexec in the guests with a single CPU.
> > TDX guests use ACPI MADT MPWK to bring up secondary CPUs. The mechanism
> > doesn't allow to put a CPU back offline if it has woken up.
> >
> > We are looking into this, but it might take time.
>
> This is simple enough. But, nobody will _actually_ use this code as-is,
> right? What's the point of applying it now?

Why nobody? Single CPU VMs are not that uncommon.

--
Kiryl Shutsemau / Kirill A. Shutemov