virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: Adam Litke <agl@us.ibm.com>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: virtualization@lists.linux-foundation.org
Subject: Re: [PATCH] virtio: fix balloon without VIRTIO_BALLOON_F_STATS_VQ
Date: Mon, 08 Feb 2010 07:33:45 -0600	[thread overview]
Message-ID: <1265636025.3457.0.camel@aglitke> (raw)
In-Reply-To: <201002082102.42331.rusty@rustcorp.com.au>

On Mon, 2010-02-08 at 21:02 +1030, Rusty Russell wrote:
> need_stats_update should be zero-initialized.

Yes indeed.
Acked-by: Adam Litke <agl@us.ibm.com>

> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
> Cc: Adam Litke <agl@us.ibm.com>
> 
> diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
> --- a/drivers/virtio/virtio_balloon.c
> +++ b/drivers/virtio/virtio_balloon.c
> @@ -292,6 +292,7 @@ static int virtballoon_probe(struct virt
>  	vb->num_pages = 0;
>  	init_waitqueue_head(&vb->config_change);
>  	vb->vdev = vdev;
> +	vb->need_stats_update = 0;
> 
>  	/* We expect two virtqueues: inflate and deflate,
>  	 * and optionally stat. */


-- 
Thanks,
Adam

      reply	other threads:[~2010-02-08 13:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-08 10:32 [PATCH] virtio: fix balloon without VIRTIO_BALLOON_F_STATS_VQ Rusty Russell
2010-02-08 13:33 ` Adam Litke [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=1265636025.3457.0.camel@aglitke \
    --to=agl@us.ibm.com \
    --cc=rusty@rustcorp.com.au \
    --cc=virtualization@lists.linux-foundation.org \
    /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).