Re: [Qemu-devel] [PATCH 3/4] spapr: disable hotplugging without OS

2017-05-23 Thread David Gibson
On Tue, May 23, 2017 at 01:18:11PM +0200, Laurent Vivier wrote: > If the OS is not started, QEMU sends an event to the OS > that is lost and cannot be recovered. An unplug is not > able to restore QEMU in a coherent state. > So, while the OS is not started, disable CPU and memory hotplug. > We use

[Qemu-devel] [PATCH 3/4] spapr: disable hotplugging without OS

2017-05-23 Thread Laurent Vivier
If the OS is not started, QEMU sends an event to the OS that is lost and cannot be recovered. An unplug is not able to restore QEMU in a coherent state. So, while the OS is not started, disable CPU and memory hotplug. We use option vector 6 to know if the OS is started Signed-off-by: Laurent Vivie