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 <pbonz...@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é <phi...@redhat.com>