diff options
| author | Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com> | 2017-05-22 16:35:50 -0300 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2017-05-25 11:31:33 +1000 |
| commit | 16ee99805e069601ba3ce9da524bab377ab03866 (patch) | |
| tree | 1400ae11ecad90000b7cbdba4994c6d0dd88e825 /qapi/qobject-input-visitor.c | |
| parent | a50919dddf148b0a2008db4a0593dbe69e1059c0 (diff) | |
| download | focaccia-qemu-16ee99805e069601ba3ce9da524bab377ab03866.tar.gz focaccia-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 'qapi/qobject-input-visitor.c')
0 files changed, 0 insertions, 0 deletions