[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 0/4] spapr: disable hotplugging without OS
From: |
Laurent Vivier |
Subject: |
[Qemu-ppc] [PATCH 0/4] spapr: disable hotplugging without OS |
Date: |
Tue, 23 May 2017 13:18:08 +0200 |
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
This series moves error checking for memory hotplug
in a pre_plug function, and introduces the option
vector 6 management. It also revert previous
fix which was not really fixing the hotplug problem
when the OS is not running.
Laurent Vivier (4):
spapr: add pre_plug function for memory
spapr: add option vector 6
spapr: disable hotplugging without OS
Revert "spapr: fix memory hot-unplugging"
hw/ppc/spapr.c | 103 ++++++++++++++++++++++++++++++++++++--------
hw/ppc/spapr_drc.c | 20 ++-------
hw/ppc/spapr_hcall.c | 5 ++-
hw/ppc/spapr_ovec.c | 8 ++++
include/hw/ppc/spapr.h | 2 +
include/hw/ppc/spapr_drc.h | 1 -
include/hw/ppc/spapr_ovec.h | 7 +++
7 files changed, 109 insertions(+), 37 deletions(-)
--
2.9.4
- [Qemu-ppc] [PATCH 0/4] spapr: disable hotplugging without OS,
Laurent Vivier <=
- [Qemu-ppc] [PATCH 3/4] spapr: disable hotplugging without OS, Laurent Vivier, 2017/05/23
- Re: [Qemu-ppc] [PATCH 3/4] spapr: disable hotplugging without OS, David Gibson, 2017/05/24
- Re: [Qemu-ppc] [PATCH 3/4] spapr: disable hotplugging without OS, Greg Kurz, 2017/05/24
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/4] spapr: disable hotplugging without OS, Igor Mammedov, 2017/05/24
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/4] spapr: disable hotplugging without OS, Greg Kurz, 2017/05/24
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/4] spapr: disable hotplugging without OS, Laurent Vivier, 2017/05/24
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/4] spapr: disable hotplugging without OS, Michael Roth, 2017/05/24
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/4] spapr: disable hotplugging without OS, David Gibson, 2017/05/24
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/4] spapr: disable hotplugging without OS, Michael Roth, 2017/05/30
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/4] spapr: disable hotplugging without OS, David Gibson, 2017/05/31