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>
This commit is contained in:
		
							parent
							
								
									fbdc6892dd
								
							
						
					
					
						commit
						40de55affd
					
				@ -312,7 +312,7 @@ static void virtio_balloon_set_config(VirtIODevice *vdev,
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
static uint64_t virtio_balloon_get_features(VirtIODevice *vdev, uint64_t f)
 | 
					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;
 | 
					    return f;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user