qemu/hw
Igor Mammedov 55810e90cc ppc/spapr: cleanup -machine pseries,nvdimm=X handling
Since NVDIMM support was introduced on pseries machine,
it ignored machine's nvdimm=on|off option and effectively
was always enabled on machines that support NVDIMM.
Later on commit
  (28f5a71621 ppc/spapr_nvdimm: do not enable support with 'nvdimm=off')
makes QEMU error out in case user explicitly set 'nvdimm=off'
on CLI by peeking at machine_opts.

However that's a workaround and leaves 'nvdimms_state->is_enabled'
in inconsistent state (false) when it should be set true
by default.

Instead of using on machine_opts, set default to true for pseries
machine in initfn time. If user sets manually 'nvdimm=off'
it will overwrite default value to false and QEMU will error
as expected without need to peek into machine_opts.

That way pseries will have, nvdimm enabled by default and
will honor user provided 'nvdimm=on|off'.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201208164606.4109134-1-imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-12-15 12:51:53 -05:00
..
9pfs hw/9pfs: Fix Kconfig dependency problem between 9pfs and Xen 2020-11-05 15:21:11 +01:00
acpi x86: acpi: let the firmware handle pending "CPU remove" events in SMM 2020-12-09 13:04:17 -05:00
adc
alpha vl: extract softmmu/datadir.c 2020-12-10 12:15:18 -05:00
arm Machine queue, 2020-12-15 2020-12-15 15:35:47 +00:00
audio cs4231: Get rid of empty property array 2020-12-15 10:02:07 -05:00
avr vl: extract softmmu/datadir.c 2020-12-10 12:15:18 -05:00
block qdev: Make qdev_get_prop_ptr() get Object* arg 2020-12-15 10:02:07 -05:00
char hw/char/serial: Clean up unnecessary code 2020-12-10 12:15:10 -05:00
core machine: introduce MachineInitPhase 2020-12-15 12:51:52 -05:00
cpu
cris cris: do not use ram_size global 2020-12-10 12:15:07 -05:00
display ads7846: moves from the hw/display folder to the hw/input folder. 2020-12-13 17:54:55 +01:00
dma hw/dma/xilinx_axidma: Rename StreamSlave as StreamSink 2020-12-10 12:15:04 -05:00
gpio nomaintainer: Fix Lesser GPL version number 2020-11-15 17:04:40 +01:00
hppa vl: extract softmmu/datadir.c 2020-12-10 12:15:18 -05:00
hyperv
i2c nomaintainer: Fix Lesser GPL version number 2020-11-15 17:04:40 +01:00
i386 vl: extract softmmu/datadir.c 2020-12-10 12:15:18 -05:00
ide ide: atapi: assert that the buffer pointer is in range 2020-12-01 15:23:05 +00:00
input ads7846: moves from the hw/display folder to the hw/input folder. 2020-12-13 17:54:55 +01:00
intc xive: Add trace events 2020-12-14 15:54:12 +11:00
ipack
ipmi
isa x86: ich9: let firmware negotiate 'CPU hot-unplug with SMI' feature 2020-12-09 13:04:17 -05:00
lm32 vl: extract softmmu/datadir.c 2020-12-10 12:15:18 -05:00
m68k hw/m68k/q800.c: Make the GLUE chip an actual QOM device 2020-12-12 18:06:01 +01:00
mem nomaintainer: Fix Lesser GPL version number 2020-11-15 17:04:40 +01:00
microblaze vl: extract softmmu/datadir.c 2020-12-10 12:15:18 -05:00
mips hw/mips/malta: Rewrite CP0_MVPConf0 access using deposit() 2020-12-13 20:26:02 +01:00
misc tmp421: Register properties as class properties 2020-12-14 14:25:44 -05:00
moxie moxie: do not use ram_size global 2020-12-10 12:15:08 -05:00
net hw/net/xilinx_axienet: Rename StreamSlave as StreamSink 2020-12-10 12:15:04 -05:00
nios2 vl: extract softmmu/datadir.c 2020-12-10 12:15:18 -05:00
nubus
nvram vl: extract softmmu/datadir.c 2020-12-10 12:15:18 -05:00
openrisc
pci machine: introduce MachineInitPhase 2020-12-15 12:51:52 -05:00
pci-bridge nomaintainer: Fix Lesser GPL version number 2020-11-15 17:04:40 +01:00
pci-host hw/pci-host/pam: Replace magic number by PAM_REGIONS_COUNT definition 2020-12-13 17:07:05 +01:00
pcmcia
ppc ppc/spapr: cleanup -machine pseries,nvdimm=X handling 2020-12-15 12:51:53 -05:00
rdma
riscv vl: extract softmmu/datadir.c 2020-12-10 12:15:18 -05:00
rtc m48t59: remove legacy m48t59_init() function 2020-10-18 16:21:42 +01:00
rx rx: move BIOS load from MCU to board 2020-12-10 12:15:06 -05:00
s390x qdev: Make error_set_from_qdev_prop_error() get Object* argument 2020-12-15 10:02:07 -05:00
scsi scsi-disk: convert more errno values back to SCSI statuses 2020-11-16 13:22:17 -05:00
sd hw/ssi: Rename SSI 'slave' as 'peripheral' 2020-12-10 12:15:03 -05:00
semihosting
sh4 sh4: remove bios_name 2020-12-10 12:15:06 -05:00
smbios i386: do not use ram_size global 2020-12-10 12:15:08 -05:00
sparc vl: extract softmmu/datadir.c 2020-12-10 12:15:18 -05:00
sparc64 vl: extract softmmu/datadir.c 2020-12-10 12:15:18 -05:00
ssi hw/core/stream: Rename StreamSlave as StreamSink 2020-12-10 12:15:04 -05:00
timer exynos: Fix bad printf format specifiers 2020-11-17 12:56:32 +00:00
tpm tpm: Fix Lesser GPL version number 2020-11-15 16:44:18 +01:00
tricore tricore tcg cpus: Fix Lesser GPL version number 2020-11-15 16:40:30 +01:00
unicore32
usb machine: introduce MachineInitPhase 2020-12-15 12:51:52 -05:00
vfio qdev: Make qdev_get_prop_ptr() get Object* arg 2020-12-15 10:02:07 -05:00
virtio machine: introduce MachineInitPhase 2020-12-15 12:51:52 -05:00
watchdog hw/watchdog/wdt_diag288: Remove unnecessary includes 2020-12-11 11:38:10 +01:00
xen hw/xen: Don't use '#' flag of printf format 2020-12-13 17:02:42 +01:00
xenpv
xtensa
Kconfig hw/net/can: Introduce Xilinx ZynqMP CAN controller 2020-12-10 11:30:44 +00:00
meson.build