hw/mem/nvdimm: Use Kconfig 'imply' instead of 'depends on'
commitcfa1f4bceea02c386bd7408fcc29544ac4679657
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 11 May 2021 15:53:50 +0000 (11 17:53 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 26 May 2021 12:49:45 +0000 (26 14:49 +0200)
tree49ae1fed129118a9ba1e32dcdb2e95bf9b0945b3
parent2d652f24cc0064bc314dc9775dbd5ba4d8282f10
hw/mem/nvdimm: Use Kconfig 'imply' instead of 'depends on'

Per the kconfig.rst:

  A device should be listed [...] ``imply`` if (depending on
  the QEMU command line) the board may or  may not be started
  without it.

This is the case with the NVDIMM device, so use the 'imply'
weak reverse dependency to select the symbol.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210511155354.3069141-2-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
default-configs/devices/ppc64-softmmu.mak
hw/arm/Kconfig
hw/i386/Kconfig
hw/mem/Kconfig
hw/ppc/Kconfig