Re: [PATCH] virtio: fix balloon without VIRTIO_BALLOON_F_STATS_VQ

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

> Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
> Cc: Adam Litke <agl@xxxxxxxxxx>
> 
> 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

_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/virtualization

[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux