lvivier@redhat.com cf472f48d5 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>
2016-07-25 10:19:30 +10:00
..
2016-07-21 20:44:20 +03:00
2016-07-19 20:18:02 +02:00
2016-07-21 20:44:20 +03:00
2016-06-17 16:33:48 +10:00
2016-06-14 15:59:13 +01:00
2016-07-21 20:44:20 +03:00
2016-05-18 15:04:27 +03:00
2016-06-07 18:02:48 +03:00
2016-06-29 14:03:48 +02:00
2016-07-20 19:30:26 +03:00
2016-07-25 10:19:30 +10:00
2016-01-29 15:07:25 +00:00
2016-06-24 05:13:57 +03:00
2016-07-12 12:34:41 +01:00
2016-07-21 20:44:20 +03:00
2015-12-22 18:39:19 +02:00