All of lore.kernel.org
 help / color / mirror / Atom feed
From: Liu Yuan <namei.unix@gmail.com>
To: qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>,
	sheepdog@lists.wpkg.org, Stefan Hajnoczi <stefanha@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] sheepdog: add missing .bdrv_has_zero_init
Date: Tue, 6 Aug 2013 14:53:58 +0800	[thread overview]
Message-ID: <20130806065358.GA14081@ubuntu-precise> (raw)
In-Reply-To: <1375771477-14277-1-git-send-email-namei.unix@gmail.com>

On Tue, Aug 06, 2013 at 02:44:37PM +0800, Liu Yuan wrote:
> Cc: Kevin Wolf <kwolf@redhat.com>
> Cc: Stefan Hajnoczi <stefanha@redhat.com>
> Signed-off-by: Liu Yuan <namei.unix@gmail.com>
> ---
>  block/sheepdog.c |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/block/sheepdog.c b/block/sheepdog.c
> index 46821df..eeb5617 100644
> --- a/block/sheepdog.c
> +++ b/block/sheepdog.c
> @@ -2421,6 +2421,7 @@ static BlockDriver bdrv_sheepdog = {
>      .bdrv_file_open = sd_open,
>      .bdrv_close     = sd_close,
>      .bdrv_create    = sd_create,
> +    .bdrv_has_zero_init = bdrv_has_zero_init_1,
>      .bdrv_getlength = sd_getlength,
>      .bdrv_truncate  = sd_truncate,
>  
> @@ -2448,6 +2449,7 @@ static BlockDriver bdrv_sheepdog_tcp = {
>      .bdrv_file_open = sd_open,
>      .bdrv_close     = sd_close,
>      .bdrv_create    = sd_create,
> +    .bdrv_has_zero_init = bdrv_has_zero_init_1,
>      .bdrv_getlength = sd_getlength,
>      .bdrv_truncate  = sd_truncate,
>  

This patch should go for v1.6 too, because qemu-img won't create expected sparse
images for sheepdog without this patch.

Thanks
Yuan

  reply	other threads:[~2013-08-06  6:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-06  6:44 [Qemu-devel] [PATCH] sheepdog: add missing .bdrv_has_zero_init Liu Yuan
2013-08-06  6:53 ` Liu Yuan [this message]
2013-08-06  7:37 ` [Qemu-devel] [sheepdog] " MORITA Kazutaka
2013-08-06  8:24   ` Kevin Wolf
2013-08-06  8:37     ` Liu Yuan

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=20130806065358.GA14081@ubuntu-precise \
    --to=namei.unix@gmail.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=sheepdog@lists.wpkg.org \
    --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 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.