]> git.proxmox.com Git - mirror_qemu.git/commit
nvdimm: make persistence option symbolic
authorRoss Zwisler <ross.zwisler@linux.intel.com>
Thu, 7 Jun 2018 22:31:11 +0000 (16:31 -0600)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 11 Jun 2018 19:19:57 +0000 (22:19 +0300)
commit11c39b5cd966ddc067a1ca0c5392ec9b666c45b7
treeaff666dadd919b34c5dac5b69f73b956e40050b3
parent0f3ef1c0628d15e27b1cc4bf9fbd0e5532c59c76
nvdimm: make persistence option symbolic

Replace the "nvdimm-cap" option which took numeric arguments such as "2"
with a more user friendly "nvdimm-persistence" option which takes symbolic
arguments "cpu" or "mem-ctrl".

Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Suggested-by: Michael S. Tsirkin <mst@redhat.com>
Suggested-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
docs/nvdimm.txt
hw/acpi/nvdimm.c
hw/i386/pc.c
include/hw/i386/pc.h
include/hw/mem/nvdimm.h
tests/bios-tables-test.c