virtio: balloon might not be a legacy device
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 15 Apr 2015 00:47:44 +0000 (10:17 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 15 Apr 2015 03:11:11 +0000 (12:41 +0930)
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>
drivers/virtio/virtio.c

index 5ce2aa4..5fa67b5 100644 (file)
@@ -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);