summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-12-01 15:50:29 +0200
committerMichael S. Tsirkin <mst@redhat.com>2014-12-09 12:06:32 +0200
commitdf1b57fe59bc5b1486fe142e6ee76c493c52c543 (patch)
tree413edac9309ff5fe4d38c964177bc104061c8e0c /drivers/virtio
parent1f0f9106f92c7d49ec92baa6ac757aa8b0590eff (diff)
downloadop-kernel-dev-df1b57fe59bc5b1486fe142e6ee76c493c52c543.zip
op-kernel-dev-df1b57fe59bc5b1486fe142e6ee76c493c52c543.tar.gz
virtio_balloon: add legacy_only flag
We have no plans to support virtio 1.0 in balloon driver. Add an explicit flag to mark it legacy only. This will be used by follow-up patches. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio')
-rw-r--r--drivers/virtio/virtio_balloon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
index c9703d4..4497def 100644
--- a/drivers/virtio/virtio_balloon.c
+++ b/drivers/virtio/virtio_balloon.c
@@ -518,6 +518,7 @@ static unsigned int features[] = {
};
static struct virtio_driver virtio_balloon_driver = {
+ .legacy_only = true,
.feature_table = features,
.feature_table_size = ARRAY_SIZE(features),
.driver.name = KBUILD_MODNAME,
OpenPOWER on IntegriCloud