]> git.proxmox.com Git - mirror_qemu.git/commit
spapr: add pre_plug function for memory
authorLaurent Vivier <lvivier@redhat.com>
Tue, 23 May 2017 11:18:09 +0000 (13:18 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 24 Aug 2017 21:46:50 +0000 (16:46 -0500)
commit7f4c9f5f3be4392479c00633a0bb92b7b4980d6b
treeb3555f2e931ab1be15fa6626a93f159ea3a517f3
parent592ee4007ee9c4ab89e0e163b2b0a313420e95de
spapr: add pre_plug function for memory

This allows to manage errors before the memory
has started to be hotplugged. We already have
the function for the CPU cores.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
[dwg: Fixed a couple of style nits]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
(cherry picked from commit c871bc70bb22d1d70451bc813ecb008fe98cc92b)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/ppc/spapr.c