qemu-e2k/hw/acpi
Haozhong Zhang cb836434cd nvdimm: add 'unarmed' option
Currently the only vNVDIMM backend can guarantee the guest write
persistence is device DAX on Linux, because no host-side kernel cache
is involved in the guest access to it. The approach to detect whether
the backend is device DAX needs to access sysfs, which may not work
with SELinux.

Instead, we add the 'unarmed' option to device 'nvdimm', so that users
or management utils, which have enough knowledge about the backend,
can control the unarmed flag in guest ACPI NFIT via this option. The
guest Linux NVDIMM driver, for example, will mark the corresponding
vNVDIMM device read-only if the unarmed flag in guest NFIT is set.

The default value of 'unarmed' option is 'off' in order to keep the
backwards compatibility.

Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com>
Message-Id: <20171211072806.2812-4-haozhong.zhang@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2018-01-19 11:18:51 -02:00
..
acpi_interface.c
acpi-stub.c
aml-build.c pci, virtio, vhost: fixes 2017-05-18 10:01:08 +01:00
bios-linker-loader.c vmgenid: replace x-write-pointer-available hack 2017-09-08 16:15:17 +03:00
core.c hw/acpi: ACPI_PM_* defines are not restricted to i386 arch 2017-12-18 17:07:02 +03:00
cpu_hotplug.c
cpu.c pc: get numa node mapping from possible_cpus instead of numa_get_node_for_cpu() 2017-05-11 16:08:49 -03:00
ich9.c include/exec/poison: Mark CONFIG_KVM as poisoned, too 2017-07-04 14:30:03 +02:00
ipmi-stub.c hw: use "qemu/osdep.h" as first #include in source files 2017-12-18 17:07:02 +03:00
ipmi.c
Makefile.objs
memory_hotplug.c pc-dimm: make "size" property uint64 2017-06-20 14:31:32 +02:00
nvdimm.c nvdimm: add 'unarmed' option 2018-01-19 11:18:51 -02:00
pcihp.c pci: Eliminate redundant PCIDevice::bus pointer 2017-12-05 19:13:45 +02:00
piix4.c pci: Eliminate redundant PCIDevice::bus pointer 2017-12-05 19:13:45 +02:00
tco.c tco: add trace events 2017-10-16 18:03:52 +02:00
trace-events tco: add trace events 2017-10-16 18:03:52 +02:00
vmgenid.c vmgenid: use UUID property type 2017-12-05 19:13:45 +02:00