]> git.proxmox.com Git - mirror_qemu.git/commit - hw/ppc/spapr_caps.c
spapr: Add forgotten capability to migration stream
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 17 May 2019 04:10:44 +0000 (14:10 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 29 May 2019 01:39:45 +0000 (11:39 +1000)
commit64d4a53431733fe9d50e94a5a33b15d151f7f8e9
tree175f3c1ffc7ecd4cfab21d2bceda8c1d14f5eb36
parent70de096748dc0243b9c6aec5458b3ff270fe13e6
spapr: Add forgotten capability to migration stream

spapr machine capabilities are supposed to be sent in the migration stream
so that we can sanity check the source and destination have compatible
configuration.  Unfortunately, when we added the hpt-max-page-size
capability, we forgot to add it to the migration state.  This means that we
can generate spurious warnings when both ends are configured for large
pages, or potentially fail to warn if the source is configured for huge
pages, but the destination is not.

Fixes: 2309832afda "spapr: Maximum (HPT) pagesize property"
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
hw/ppc/spapr.c
hw/ppc/spapr_caps.c
include/hw/ppc/spapr.h