mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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 <[email protected]>
This commit is contained in:
parent
1f0f9106f9
commit
df1b57fe59
2 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue