summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoss Zwisler2018-06-08 00:31:11 +0200
committerMichael S. Tsirkin2018-06-11 21:19:57 +0200
commit11c39b5cd966ddc067a1ca0c5392ec9b666c45b7 (patch)
treeaff666dadd919b34c5dac5b69f73b956e40050b3 /tests
parenthw/i386: Update SSDT table used by "make check" (diff)
downloadqemu-11c39b5cd966ddc067a1ca0c5392ec9b666c45b7.tar.gz
qemu-11c39b5cd966ddc067a1ca0c5392ec9b666c45b7.tar.xz
qemu-11c39b5cd966ddc067a1ca0c5392ec9b666c45b7.zip
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/bios-tables-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c
index 256d463cb8..4e24930c4b 100644
--- a/tests/bios-tables-test.c
+++ b/tests/bios-tables-test.c
@@ -830,7 +830,7 @@ static void test_acpi_tcg_dimm_pxm(const char *machine)
memset(&data, 0, sizeof(data));
data.machine = machine;
data.variant = ".dimmpxm";
- test_acpi_one(" -machine nvdimm=on,nvdimm-cap=3"
+ test_acpi_one(" -machine nvdimm=on,nvdimm-persistence=cpu"
" -smp 4,sockets=4"
" -m 128M,slots=3,maxmem=1G"
" -numa node,mem=32M,nodeid=0"