diff options
| author | Dr. David Alan Gilbert | 2016-04-15 13:41:30 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2016-04-15 17:27:34 +0200 |
| commit | 90c647db8d59e47c9000affc0d81754eb346e939 (patch) | |
| tree | cf91e4494449229974a9feede8a3f5ff17518c4e /tests | |
| parent | block: Don't ignore flags in blk_{,co,aio}_write_zeroes() (diff) | |
| download | qemu-90c647db8d59e47c9000affc0d81754eb346e939.tar.gz qemu-90c647db8d59e47c9000affc0d81754eb346e939.tar.xz qemu-90c647db8d59e47c9000affc0d81754eb346e939.zip | |
Fix pflash migration
Pflash migration (e.g. q35 + EFI variable storage) fails
with the assert:
bdrv_co_do_pwritev: Assertion `!(bs->open_flags & 0x0800)' failed.
This avoids the problem by delaying the pflash update until after
the device loads complete.
Tested by:
Migrating Q35/EFI vm.
Changing efi variable content (with efiboot in the guest)
md5sum'ing the variable file before migration and after.
This is a fix that Paolo posted in the message
570244B3.4070105@redhat.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
