Commit 40de55af authored by Cornelia Huck's avatar Cornelia Huck Committed by Michael S. Tsirkin
Browse files

virtio-balloon: switch to virtio_add_feature



This was missed during the conversion of feature bit manipulation.

Signed-off-by: default avatarCornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Reviewed-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent fbdc6892
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -312,7 +312,7 @@ static void virtio_balloon_set_config(VirtIODevice *vdev,

static uint64_t virtio_balloon_get_features(VirtIODevice *vdev, uint64_t f)
{
    f |= (1 << VIRTIO_BALLOON_F_STATS_VQ);
    virtio_add_feature(&f, VIRTIO_BALLOON_F_STATS_VQ);
    return f;
}