Received: from eggs.gnu.org ([2001:4830:134:3::10]:45759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yhcaj-0003Pw-Ng for qemu-devel@nongnu.org; Mon, 13 Apr 2015 07:31:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yhcag-00015Y-Ir for qemu-devel@nongnu.org; Mon, 13 Apr 2015 07:31:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yhcag-00015R-Bn for qemu-devel@nongnu.org; Mon, 13 Apr 2015 07:31:46 -0400 Date: Mon, 13 Apr 2015 13:31:40 +0200 From: "Michael S. Tsirkin" Message-ID: <20150413133131-mutt-send-email-mst@redhat.com> References: <1428920195-57338-1-git-send-email-cornelia.huck@de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1428920195-57338-1-git-send-email-cornelia.huck@de.ibm.com> Subject: Re: [Qemu-devel] [PATCH] virtio-balloon: switch to virtio_add_feature List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cornelia Huck Cc: qemu-devel@nongnu.org On Mon, Apr 13, 2015 at 12:16:35PM +0200, Cornelia Huck wrote: > This was missed during the conversion of feature bit manipulation. > > Signed-off-by: Cornelia Huck Applied to virtio 1.0 branch. > --- > hw/virtio/virtio-balloon.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/virtio/virtio-balloon.c b/hw/virtio/virtio-balloon.c > index 95b0643..2c5c7d0 100644 > --- a/hw/virtio/virtio-balloon.c > +++ b/hw/virtio/virtio-balloon.c > @@ -312,7 +312,7 @@ static void virtio_balloon_set_config(VirtIODevice *vdev, > > static uint32_t virtio_balloon_get_features(VirtIODevice *vdev, uint32_t f) > { > - f |= (1 << VIRTIO_BALLOON_F_STATS_VQ); > + virtio_add_feature(&f, VIRTIO_BALLOON_F_STATS_VQ); > return f; > } > > -- > 2.1.4