]> 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)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 24 May 2017 07:27:39 +0000 (17:27 +1000)
commitc871bc70bb22d1d70451bc813ecb008fe98cc92b
tree1ef96adb6898e419a2068502324d90805ec9876a
parent459264ef24cf2d409b8baf2047fa86e697d6e9ab
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>
hw/ppc/spapr.c