Skip to contentSkip to conversation

kconfig: do not select VMMOUSE

PATCH In review Paolo Bonzini 3 participants 3 messages Jul 16, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kconfig: do not select VMMOUSE

Just make it a default device, so that it is automatically removed if VMPORT is not included in the binary (as is the case with --with-default-devices).

---
 hw/i386/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
hw/i386/Kconfig +1 -2
index b9c96ac361..83a5d9c7c4 100644
@@ -59,7 +59,6 @@ config I440FX
     select IDE_PIIX
     select DIMM
     select SMBIOS
-    select VMMOUSE
     select FW_CFG_DMA
 
 config ISAPC
@@ -85,7 +84,6 @@ config Q35
     select AHCI_ICH9
     select DIMM
     select SMBIOS
-    select VMMOUSE
     select FW_CFG_DMA
 
 config VTD
@@ -99,4 +97,5 @@ config VMPORT
 
 config VMMOUSE
     bool
+    default y
     depends on VMPORT
Signature · 1 line
2.21.0
Reviewed-by Tested-by Julio on v1 1/1
#1 lore raw

Thanks Paolo

Quoted 31 lines · Paolo Bonzini

Just make it a default device, so that it is automatically removed if VMPORT
is not included in the binary (as is the case with --with-default- devices).

---
 hw/i386/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
hw/i386/Kconfig +0 -2
index b9c96ac361..83a5d9c7c4 100644
@@ -59,7 +59,6 @@ config I440FX
     select IDE_PIIX
     select DIMM
     select SMBIOS
-    select VMMOUSE
     select FW_CFG_DMA
 
 config ISAPC
@@ -85,7 +84,6 @@ config Q35
     select AHCI_ICH9
     select DIMM
     select SMBIOS
-    select VMMOUSE
     select FW_CFG_DMA
 
 config VTD

hw/i386/Kconfig config VMPORT · line 101

Quoted 5 lines
hw/i386/Kconfig +1 -0
@@ -99,4 +97,5 @@ config VMPORT
 
 config VMMOUSE
     bool
+    default y
     depends on VMPORT
Tested-by Julio

Montes <[email protected]>

Tested-by on v1 1/1
#2 lore raw
In reply to Paolo Bonzini
Quoted 30 lines · Paolo Bonzini

Just make it a default device, so that it is automatically removed if VMPORT is not included in the binary (as is the case with --with-default-devices).

---
 hw/i386/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
hw/i386/Kconfig +0 -2
index b9c96ac361..83a5d9c7c4 100644
@@ -59,7 +59,6 @@ config I440FX
     select IDE_PIIX
     select DIMM
     select SMBIOS
-    select VMMOUSE
     select FW_CFG_DMA
 
 config ISAPC
@@ -85,7 +84,6 @@ config Q35
     select AHCI_ICH9
     select DIMM
     select SMBIOS
-    select VMMOUSE
     select FW_CFG_DMA
 
 config VTD

hw/i386/Kconfig config VMPORT · line 101

Quoted 5 lines
hw/i386/Kconfig +1 -0
@@ -99,4 +97,5 @@ config VMPORT
 
 config VMMOUSE
     bool
+    default y
     depends on VMPORT