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>
This commit is contained in:
Michael S. Tsirkin
2014-12-01 15:50:29 +02:00
parent 1f0f9106f9
commit df1b57fe59
2 changed files with 3 additions and 0 deletions

View File

@@ -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,