Skip to content

Commit

Permalink
virtio-balloon: switch to virtio_add_feature
Browse files Browse the repository at this point in the history
This was missed during the conversion of feature bit manipulation.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
  • Loading branch information
cohuck authored and mstsirkin committed Jun 10, 2015
1 parent fbdc689 commit 40de55a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/virtio/virtio-balloon.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 40de55a

Please sign in to comment.