spapr/drc: don't migrate DRC of cold-plugged CPUs and LMBs
commita32e900b8abf3541414ef192ef72b6381fde8d0c
authorGreg Kurz <groug@kaod.org>
Fri, 2 Jun 2017 10:09:35 +0000 (2 12:09 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 5 Jun 2017 23:22:02 +0000 (6 09:22 +1000)
tree6be11735d99152261fe84699adf9da34ad1d427e
parentc4e13492afad2c49d41ec2abf4727c69be637f9f
spapr/drc: don't migrate DRC of cold-plugged CPUs and LMBs

As explained in commit 5c0139a8c2f0 ("spapr: fix default DRC state for
coldplugged LMBs"), guests expect cold-plugged LMBs to be pre-allocated
and unisolated. The same goes for cold-plugged CPUs.

While here, let's convert g_assert(false) to the better self documenting
g_assert_not_reached().

Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_drc.c