diff mbox series

kconfig: do not select VMMOUSE

Message ID 20190716211343.10792-1-pbonzini@redhat.com
State New
Headers show
Series kconfig: do not select VMMOUSE | expand

Commit Message

Paolo Bonzini July 16, 2019, 9:13 p.m. UTC
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).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 hw/i386/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Montes, Julio July 16, 2019, 9:36 p.m. UTC | #1
Thanks Paolo

On Tue, 2019-07-16 at 23:13 +0200, Paolo Bonzini wrote:
> 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).
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  hw/i386/Kconfig | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig
> index b9c96ac361..83a5d9c7c4 100644
> --- a/hw/i386/Kconfig
> +++ b/hw/i386/Kconfig
> @@ -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

Reviewed-by: Julio Montes <julio.montes@intel.com>
Tested-by: Julio
Montes <julio.montes@intel.com>
Philippe Mathieu-Daudé July 16, 2019, 9:52 p.m. UTC | #2
On 7/16/19 11:13 PM, Paolo Bonzini wrote:
> 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).
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  hw/i386/Kconfig | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig
> index b9c96ac361..83a5d9c7c4 100644
> --- a/hw/i386/Kconfig
> +++ b/hw/i386/Kconfig
> @@ -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
> 

Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
diff mbox series

Patch

diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig
index b9c96ac361..83a5d9c7c4 100644
--- a/hw/i386/Kconfig
+++ b/hw/i386/Kconfig
@@ -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