Skip to content

Commit

Permalink
virtio: balloon might not be a legacy device
Browse files Browse the repository at this point in the history
We added transitional device support to balloon driver,
so we don't need to black-list it in core anymore.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  • Loading branch information
Michael S. Tsirkin authored and Rusty Russell committed Apr 15, 2015
1 parent df81b29 commit 2343dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/virtio/virtio.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ static struct bus_type virtio_bus = {

bool virtio_device_is_legacy_only(struct virtio_device_id id)
{
return id.device == VIRTIO_ID_BALLOON;
return false;
}
EXPORT_SYMBOL_GPL(virtio_device_is_legacy_only);

Expand Down

0 comments on commit 2343dab

Please sign in to comment.