Skip to content

Commit

Permalink
Merge pull request #4993 from Yingshun/svirt_umask_rsl
Browse files Browse the repository at this point in the history
svirt: Fix a permission issue
  • Loading branch information
chloerh authored Jun 27, 2023
2 parents 91badd8 + c3598ff commit 9eccd75
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from avocado.utils import process

from virttest import test_setup
from virttest import utils_libvirtd
from virttest.libvirt_xml import vm_xml
from virttest.libvirt_xml.vm_xml import VMXML

Expand All @@ -28,6 +29,7 @@ def run(test, params, env):
test.log.info(f"TEST_STEP: Delete {hp_path} and create hugepages in the host.")
if os.path.exists(hp_path):
shutil.rmtree(hp_path)
utils_libvirtd.Libvirtd().restart()
hp_cfg = test_setup.HugePageConfig(params)
hp_cfg.set_hugepages()

Expand Down

0 comments on commit 9eccd75

Please sign in to comment.