Michael S. Tsirkin
2015-Apr-01 10:35 UTC
[PATCH v3 2/6] 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 at redhat.com> --- drivers/virtio/virtio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c index 5ce2aa4..5fa67b5 100644 --- a/drivers/virtio/virtio.c +++ b/drivers/virtio/virtio.c @@ -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); -- MST
Cornelia Huck
2015-Apr-01 11:57 UTC
[PATCH v3 2/6] virtio: balloon might not be a legacy device
On Wed, 1 Apr 2015 12:35:48 +0200 "Michael S. Tsirkin" <mst at redhat.com> wrote:> 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 at redhat.com> > --- > drivers/virtio/virtio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >Reviewed-by: Cornelia Huck <cornelia.huck at de.ibm.com>
Possibly Parallel Threads
- [PATCH v3 2/6] virtio: balloon might not be a legacy device
- [PATCH v2 2/6] virtio: balloon might not be a legacy device
- [PATCH v2 2/6] virtio: balloon might not be a legacy device
- [PATCH RFC 1/3] virtio: add API to detect legacy devices
- [PATCH RFC 1/3] virtio: add API to detect legacy devices