Skip to content

Commit

Permalink
Merge pull request avocado-framework#3741 from dzhengfy/fix_conflict_…
Browse files Browse the repository at this point in the history
…param_name

test_setup: rename parameter for hugepage path
  • Loading branch information
Yingshun authored Aug 16, 2023
2 parents 3ee245e + 4f74af3 commit 3f054a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virttest/test_setup/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def __init__(self, params):
self.max_vms = int(params.get("max_vms", 0))
self.qemu_overhead = int(params.get("hugepages_qemu_overhead", 128))
self.deallocate = params.get("hugepages_deallocate", "yes") == "yes"
self.hugepage_path = params.get("hugepage_path", "/mnt/kvm_hugepage")
self.hugepage_path = params.get("vm_hugepage_mountpoint", "/mnt/kvm_hugepage")
self.kernel_hp_file = params.get("kernel_hp_file", "/proc/sys/vm/nr_hugepages")
if not os.path.exists(self.kernel_hp_file):
raise exceptions.TestSkipError("Hugepage config file is not found: "
Expand Down

0 comments on commit 3f054a3

Please sign in to comment.