diff options
author | David Gibson | 2019-05-17 06:10:44 +0200 |
---|---|---|
committer | David Gibson | 2019-05-29 03:39:45 +0200 |
commit | 64d4a53431733fe9d50e94a5a33b15d151f7f8e9 (patch) | |
tree | 175f3c1ffc7ecd4cfab21d2bceda8c1d14f5eb36 /include/hw | |
parent | target/ppc: Set PSSCR_EC on cpu halt to prevent spurious wakeup (diff) | |
download | qemu-64d4a53431733fe9d50e94a5a33b15d151f7f8e9.tar.gz qemu-64d4a53431733fe9d50e94a5a33b15d151f7f8e9.tar.xz qemu-64d4a53431733fe9d50e94a5a33b15d151f7f8e9.zip |
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>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/ppc/spapr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h index 7e32f309c2..9fc91c8f5e 100644 --- a/include/hw/ppc/spapr.h +++ b/include/hw/ppc/spapr.h @@ -849,6 +849,7 @@ extern const VMStateDescription vmstate_spapr_cap_dfp; extern const VMStateDescription vmstate_spapr_cap_cfpc; extern const VMStateDescription vmstate_spapr_cap_sbbc; extern const VMStateDescription vmstate_spapr_cap_ibs; +extern const VMStateDescription vmstate_spapr_cap_hpt_maxpagesize; extern const VMStateDescription vmstate_spapr_cap_nested_kvm_hv; extern const VMStateDescription vmstate_spapr_cap_large_decr; extern const VMStateDescription vmstate_spapr_cap_ccf_assist; |