diff options
| author | Daniel Henrique Barboza | 2017-05-22 21:35:50 +0200 |
|---|---|---|
| committer | David Gibson | 2017-05-25 03:31:33 +0200 |
| commit | 16ee99805e069601ba3ce9da524bab377ab03866 (patch) | |
| tree | 1400ae11ecad90000b7cbdba4994c6d0dd88e825 /include/exec | |
| parent | hw/ppc: migrating the DRC state of hotplugged devices (diff) | |
| download | qemu-16ee99805e069601ba3ce9da524bab377ab03866.tar.gz qemu-16ee99805e069601ba3ce9da524bab377ab03866.tar.xz qemu-16ee99805e069601ba3ce9da524bab377ab03866.zip | |
hw/ppc/spapr.c: recover pending LMB unplug info in spapr_lmb_release
When a LMB hot unplug starts, the current DRC LMB status is stored at
spapr->pending_dimm_unplugs QTAILQ. This queue isn't migrated, thus
if a migration occurs in the middle of a LMB unplug the
spapr_lmb_release callback will lost track of the LMB unplug progress.
This patch implements a new recover function spapr_recover_pending_dimm_state
that is used inside spapr_lmb_release to recover this DRC LMB release
status that is lost during the migration.
Signed-off-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
[dwg: Minor stylistic changes, simplify error handling]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
