qemu/hw/nvram
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
..
ds1225y.c hw: Clean up includes 2016-01-29 15:07:25 +00:00
eeprom93xx.c hw: Clean up includes 2016-01-29 15:07:25 +00:00
fw_cfg.c Add optionrom compatible with fw_cfg DMA version 2016-07-14 15:50:52 +02:00
mac_nvram.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
Makefile.objs hw: move NVRAM interfaces to hw/nvram/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
spapr_nvram.c spapr: fix spapr-nvram migration 2016-07-25 10:19:30 +10:00
trace-events trace: split out trace events for hw/nvram/ directory 2016-06-20 17:22:15 +01:00