[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] pseries: do not allow memory-less/cpu-less NUMA
From: |
Daniel P . Berrangé |
Subject: |
Re: [Qemu-devel] [PATCH] pseries: do not allow memory-less/cpu-less NUMA node |
Date: |
Fri, 30 Aug 2019 17:34:13 +0100 |
User-agent: |
Mutt/1.12.1 (2019-06-15) |
On Fri, Aug 30, 2019 at 06:13:45PM +0200, Laurent Vivier wrote:
> When we hotplug a CPU on memory-less/cpu-less node, the linux kernel
> crashes.
>
> This happens because linux kernel needs to know the NUMA topology at
> start to be able to initialize the distance lookup table.
>
> On pseries, the topology is provided by the firmware via the existing
> CPUs and memory information. Thus a node without memory and CPU cannot be
> discovered by the kernel.
>
> To avoid the kernel crash, do not allow to start pseries with empty
> nodes.
This describes one possible guest OS. Is there any reasonable chance
that a non-Linux guest might be able to handle this situation correctly,
or do you expect any guest to have the same restriction ?
> Signed-off-by: Laurent Vivier <address@hidden>
> ---
> hw/ppc/spapr.c | 33 +++++++++++++++++++++++++++++++++
> 1 file changed, 33 insertions(+)
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|