Commit 8bd5f769 authored by Yuto KAWAMURA(kawamuray)'s avatar Yuto KAWAMURA(kawamuray) Committed by Hrvoje Ribicic

QA: Add additional modify test parameter for LXC hypervisor

Currently there are no hvparam modification tests for the LXC
hypervisor, so we should add additional LXC-specific parameters that can
be used for instance modification tests of hypervisor parameters.
Signed-off-by: default avatarYuto KAWAMURA(kawamuray) <>
Reviewed-by: default avatarHrvoje Ribicic <>
parent 4a0283b8
......@@ -643,6 +643,13 @@ def TestInstanceModify(instance):
["--disk", "-1:add,size=1G", "--hotplug"],
["--disk", "-1:remove", "--hotplug"],
elif default_hv == constants.HT_LXC:
["-H", "%s=0" % constants.HV_CPU_MASK],
["-H", "%s=%s" % (constants.HV_CPU_MASK, constants.VALUE_DEFAULT)],
["-H", "%s=0" % constants.HV_LXC_TTY],
["-H", "%s=%s" % (constants.HV_LXC_TTY, constants.VALUE_DEFAULT)],
url = ""
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment