qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, pbonzini@redhat.com, stefanha@redhat.com,
	quintela@redhat.com
Subject: [Qemu-devel] [PATCH 0/3] Fail migration on bdrv_flush_all() error
Date: Fri,  5 Jul 2013 14:03:50 +0200	[thread overview]
Message-ID: <1373025833-22859-1-git-send-email-kwolf@redhat.com> (raw)

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

             reply	other threads:[~2013-07-05 12:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-05 12:03 Kevin Wolf [this message]
2013-07-05 12:03 ` [Qemu-devel] [PATCH 1/3] block: Add return value for bdrv_flush_all() Kevin Wolf
2013-07-05 12:03 ` [Qemu-devel] [PATCH 2/3] cpus: Add return value for vm_stop() Kevin Wolf
2013-07-05 12:40   ` Paolo Bonzini
2013-07-05 12:03 ` [Qemu-devel] [PATCH 3/3] migration: Fail migration on bdrv_flush_all() error Kevin Wolf
2013-07-15  7:00 ` [Qemu-devel] [PATCH 0/3] " Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1373025833-22859-1-git-send-email-kwolf@redhat.com \
    --to=kwolf@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).