提交 94fbf38c 编写于 作者: Y Yihuang Yu

Support nvdimm.nvdimm_basic on pseries

pseries supports nvdimm device since qemu-5.0, add the basic test case
for it.
Signed-off-by: NYihuang Yu <yihyu@redhat.com>
上级 fc308c75
......@@ -5,7 +5,13 @@
vm_mem_limit = 30G
kill_vm_on_error = yes
login_timeout = 240
only x86_64
only x86_64, ppc64le
ppc64le:
required_qemu = [5, )
only nvdimm_basic
# PowerPC guests need to create the persistent memory device manually so far
nvdimm_ns_create_cmd = "ndctl create-namespace"
dimm_extra_params = "label-size=256m"
no Windows
no RHEL.6 RHEL.5 RHEL.4 RHEL.3
no RHEL.7.2 RHEL.7.1 RHEL.7.0
......
......@@ -152,6 +152,9 @@ def run(test, params, env):
time.sleep(10)
mems += target_mems
error_context.context("Verify nvdimm in monitor and guest", logging.info)
nvdimm_ns_create_cmd = params.get("nvdimm_ns_create_cmd")
if nvdimm_ns_create_cmd:
nvdimm_test.run_guest_cmd(nvdimm_ns_create_cmd)
nvdimm_test.verify_nvdimm(vm, mems)
error_context.context("Format and mount nvdimm in guest", logging.info)
nvdimm_test.mount_nvdimm()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册