[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/3] Fail migration on bdrv_flush_all() error
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] [PATCH 0/3] Fail migration on bdrv_flush_all() error |
Date: |
Fri, 5 Jul 2013 14:03:50 +0200 |
If bdrv_flush_all() returns an error, there is an inconsistency in the
view of an image file between the source and the destination host.
Completing the migration would lead to corruption. Better abort
migration in this case.
Kevin Wolf (3):
block: Add return value for bdrv_flush_all()
cpus: Add return value for vm_stop()
migration: Fail migration on bdrv_flush_all() error
block.c | 10 ++++++++--
cpus.c | 20 +++++++++++++-------
include/block/block.h | 2 +-
include/sysemu/sysemu.h | 4 ++--
migration.c | 17 ++++++++++++++---
stubs/vm-stop.c | 2 +-
6 files changed, 39 insertions(+), 16 deletions(-)
--
1.8.1.4
- [Qemu-devel] [PATCH 0/3] Fail migration on bdrv_flush_all() error,
Kevin Wolf <=