virtio: balloon might not be a legacy device
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>
This commit is contained in:
parent
df81b29c7b
commit
2343dabc60
|
@ -280,7 +280,7 @@ static struct bus_type virtio_bus = {
|
||||||
|
|
||||||
bool virtio_device_is_legacy_only(struct virtio_device_id id)
|
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);
|
EXPORT_SYMBOL_GPL(virtio_device_is_legacy_only);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue