diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2015-06-04 12:34:32 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-06-10 18:15:06 +0200 |
commit | 40de55affda76392627e68d3b1ba5a6a11c492bc (patch) | |
tree | 2fd7a79a66f859db755a1499c3975ef3bf96b3c0 /hw/virtio/virtio-balloon.c | |
parent | fbdc6892dd8a842a3d86b8315ff56399e0387b74 (diff) | |
download | hqemu-40de55affda76392627e68d3b1ba5a6a11c492bc.zip hqemu-40de55affda76392627e68d3b1ba5a6a11c492bc.tar.gz |
virtio-balloon: switch to virtio_add_feature
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>
Diffstat (limited to 'hw/virtio/virtio-balloon.c')
-rw-r--r-- | hw/virtio/virtio-balloon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio/virtio-balloon.c b/hw/virtio/virtio-balloon.c index f915c7b..78bc14f 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 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; } |