From: Kevin Wolf <kwolf@redhat.com>
To: Pierre Riteau <Pierre.Riteau@irisa.fr>
Cc: qemu-devel@nongnu.org, tamura.yoshiaki@lab.ntt.co.jp
Subject: [Qemu-devel] Re: [PATCH v2] Fix block migration when the device size is not a multiple of 1 MB
Date: Fri, 21 Jan 2011 13:10:54 +0100 [thread overview]
Message-ID: <4D3977CE.6030403@redhat.com> (raw)
In-Reply-To: <1295610150-49752-1-git-send-email-Pierre.Riteau@irisa.fr>
Am 21.01.2011 12:42, schrieb Pierre Riteau:
> b02bea3a85cc939f09aa674a3f1e4f36d418c007 added a check on the return
> value of bdrv_write and aborts migration when it fails. However, if the
> size of the block device to migrate is not a multiple of BLOCK_SIZE
> (currently 1 MB), the last bdrv_write will fail with -EIO.
>
> Fixed by calling bdrv_write with the correct size of the last block.
>
> Signed-off-by: Pierre Riteau <Pierre.Riteau@irisa.fr>
Thanks, applied to the block branch.
Kevin
prev parent reply other threads:[~2011-01-21 12:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-21 11:42 [Qemu-devel] [PATCH v2] Fix block migration when the device size is not a multiple of 1 MB Pierre Riteau
2011-01-21 12:10 ` Kevin Wolf [this message]
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=4D3977CE.6030403@redhat.com \
--to=kwolf@redhat.com \
--cc=Pierre.Riteau@irisa.fr \
--cc=qemu-devel@nongnu.org \
--cc=tamura.yoshiaki@lab.ntt.co.jp \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.