diff options
author | lvivier@redhat.com <lvivier@redhat.com> | 2016-07-21 14:05:46 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2016-07-25 10:19:30 +1000 |
commit | cf472f48d57a533cc46ee651159abcbe0b362df0 (patch) | |
tree | fbb54f4b49b1c4ad5ecea8120ebd612894b6da6c /hmp.c | |
parent | c573fc03da65e35bf44bce0448ea12801e3631ac (diff) | |
download | qemu-cf472f48d57a533cc46ee651159abcbe0b362df0.zip qemu-cf472f48d57a533cc46ee651159abcbe0b362df0.tar.gz qemu-cf472f48d57a533cc46ee651159abcbe0b362df0.tar.bz2 |
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 'hmp.c')
0 files changed, 0 insertions, 0 deletions