]> git.karo-electronics.de Git - linux-beck.git/commit
virtio: add API to detect legacy devices
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 4 Dec 2014 16:49:58 +0000 (18:49 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 10:06:33 +0000 (12:06 +0200)
commitb6098c30423cb1f0f5a4d0a5495e2670e274e544
tree6f3c5ebe2d6fe46677444406eddc8d3a9943a0ea
parent48b36066b48025b7cd7d46c9a879f2f72fd9086a
virtio: add API to detect legacy devices

transports need to be able to detect legacy-only
devices (ATM balloon only) to use legacy path
to drive them.

Add a core API to do just that.
The implementation just blacklists balloon:
not too pretty, but let's not over-engineer.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
drivers/virtio/virtio.c
include/linux/virtio.h