Skip to contentSkip to conversation

virtio: drop default for virtio-mem

PATCH In review Michael S. Tsirkin 2 participants 2 messages Feb 25, 2022 virtio core

lore
Share & tools
lore

Michael S. Tsirkin

author maintainer
#0 lore raw

PATCH 1/1 virtio: drop default for virtio-mem

There's no special reason why virtio-mem needs a default that's different from what kconfig provides, any more than e.g. virtio blk.

---
 drivers/virtio/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/virtio/Kconfig +0 -1
index 34f80b7a8a64..492fc26f0b65 100644
@@ -105,7 +105,6 @@ config VIRTIO_BALLOON
 
 config VIRTIO_MEM
 	tristate "Virtio mem driver"
-	default m
 	depends on X86_64
 	depends on VIRTIO
 	depends on MEMORY_HOTPLUG
Signature · 1 line
MST
Acked-by on v1 1/1
#1 lore raw
Quoted 13 lines · Michael S. Tsirkin

There's no special reason why virtio-mem needs a default that's different from what kconfig provides, any more than e.g. virtio blk.

---
 drivers/virtio/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/virtio/Kconfig +0 -0
index 34f80b7a8a64..492fc26f0b65 100644

drivers/virtio/Kconfig config VIRTIO_BALLOON · line 110

Quoted 7 lines
drivers/virtio/Kconfig +0 -1
@@ -105,7 +105,6 @@ config VIRTIO_BALLOON
 
 config VIRTIO_MEM
 	tristate "Virtio mem driver"
-	default m
 	depends on X86_64
 	depends on VIRTIO
 	depends on MEMORY_HOTPLUG

Yeah, why not

Signature · 8 lines
Thanks,

David / dhildenb

_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization