virtio-balloon: switch to virtio_add_feature
PATCH 1/1 virtio-balloon: switch to virtio_add_feature
This was missed during the conversion of feature bit manipulation.
Signed-off-by Cornelia Huck <[email protected]>
--- hw/virtio/virtio-balloon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/virtio/virtio-balloon.c +1 -1
@@ -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; }
Signature · 1 line
2.1.4
Michael S. Tsirkin
AppliedQuoted 3 lines · Cornelia Huck
This was missed during the conversion of feature bit manipulation.
Signed-off-by Cornelia Huck <[email protected]>
Applied to virtio 1.0 branch.
Quoted 19 lines
--- hw/virtio/virtio-balloon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/virtio/virtio-balloon.c +1
-1@@ -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; }Signature · 1 line
2.1.4