diff options
author | lvivier@redhat.com | 2016-07-21 14:05:46 +0200 |
---|---|---|
committer | David Gibson | 2016-07-25 02:19:30 +0200 |
commit | cf472f48d57a533cc46ee651159abcbe0b362df0 (patch) | |
tree | fbb54f4b49b1c4ad5ecea8120ebd612894b6da6c /target-ppc | |
parent | hw/ppc/spapr: Make sure to close the htab_fd when migration is canceled (diff) | |
download | qemu-cf472f48d57a533cc46ee651159abcbe0b362df0.tar.gz qemu-cf472f48d57a533cc46ee651159abcbe0b362df0.tar.xz qemu-cf472f48d57a533cc46ee651159abcbe0b362df0.zip |
spapr: fix spapr-nvram migration
When spapr-nvram is backed by a file using pflash interface,
migration fails on the destination guest with assert:
bdrv_co_pwritev: Assertion `!(bs->open_flags & 0x0800)' failed.
This avoids the problem by delaying the pflash update until after
the device loads complete.
This fix is similar to the one for the pflash_cfi01 migration:
90c647d Fix pflash migration
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target-ppc')
0 files changed, 0 insertions, 0 deletions