hw/ppc/Kconfig: NVDIMM is a hard requirement for the pseries machine
authorThomas Huth <thuth@redhat.com>
Thu, 4 May 2023 18:05:21 +0000 (20:05 +0200)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 5 May 2023 15:34:22 +0000 (12:34 -0300)
When building QEMU with "--without-default-devices", the pseries
machine fails to start even when running with the --nodefaults option:

 $ ./qemu-system-ppc64 --nodefaults -M pseries
 Type 'spapr-nvdimm' is missing its parent 'nvdimm'
 Aborted (core dumped)

Looks like NVDIMM is a hard requirement for this machine nowadays.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20230504180521.220404-1-thuth@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/ppc/Kconfig

index c898021b5fc0821206c5b3eaa569a24510f2940e..a689d9b219a5f75722fe1eeac98999cb36bd32b3 100644 (file)
@@ -3,7 +3,7 @@ config PSERIES
     imply PCI_DEVICES
     imply TEST_DEVICES
     imply VIRTIO_VGA
-    imply NVDIMM
+    select NVDIMM
     select DIMM
     select PCI
     select SPAPR_VSCSI