Received: from eggs.gnu.org ([2001:4830:134:3::10]:60245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhbQE-0006YM-0x for qemu-devel@nongnu.org; Mon, 13 Apr 2015 06:16:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YhbQ9-0003IW-1O for qemu-devel@nongnu.org; Mon, 13 Apr 2015 06:16:53 -0400 Received: from e06smtp11.uk.ibm.com ([195.75.94.107]:45708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhbQ8-0003IG-PL for qemu-devel@nongnu.org; Mon, 13 Apr 2015 06:16:48 -0400 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 13 Apr 2015 11:16:43 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 707521B0805F for ; Mon, 13 Apr 2015 11:17:13 +0100 (BST) Received: from d06av08.portsmouth.uk.ibm.com (d06av08.portsmouth.uk.ibm.com [9.149.37.249]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t3DAGeUZ5702036 for ; Mon, 13 Apr 2015 10:16:40 GMT Received: from d06av08.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av08.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t3DAGc5X024014 for ; Mon, 13 Apr 2015 04:16:39 -0600 From: Cornelia Huck Date: Mon, 13 Apr 2015 12:16:35 +0200 Message-Id: <1428920195-57338-1-git-send-email-cornelia.huck@de.ibm.com> Subject: [Qemu-devel] [PATCH] virtio-balloon: switch to virtio_add_feature List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Cornelia Huck , qemu-devel@nongnu.org This was missed during the conversion of feature bit manipulation. Signed-off-by: Cornelia Huck --- 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