summary refs log tree commit diff stats
path: root/scripts/qtest.py
diff options
context:
space:
mode:
authorlvivier@redhat.com <lvivier@redhat.com>2016-07-21 14:05:46 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2016-07-25 10:19:30 +1000
commitcf472f48d57a533cc46ee651159abcbe0b362df0 (patch)
treefbb54f4b49b1c4ad5ecea8120ebd612894b6da6c /scripts/qtest.py
parentc573fc03da65e35bf44bce0448ea12801e3631ac (diff)
downloadfocaccia-qemu-cf472f48d57a533cc46ee651159abcbe0b362df0.tar.gz
focaccia-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 'scripts/qtest.py')
0 files changed, 0 insertions, 0 deletions