mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
cli: add --features hyperv.runtime.state=on/off
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
committed by
Cole Robinson
parent
d2a29245cd
commit
d7976a883a
@@ -138,6 +138,7 @@
|
||||
<vapic state="on"/>
|
||||
<spinlocks state="on" retries="5678"/>
|
||||
<vpindex state="on"/>
|
||||
<runtime state="on"/>
|
||||
<synic state="on"/>
|
||||
<reset state="on"/>
|
||||
</hyperv>
|
||||
|
||||
@@ -568,6 +568,7 @@ hyperv.vapic.state=off,hyperv_vapic=on,\
|
||||
hyperv.spinlocks.state=on,hyperv_spinlocks=on,\
|
||||
hyperv.spinlocks.retries=5678,hyperv_spinlocks_retries=5678,\
|
||||
hyperv.vpindex.state=on,\
|
||||
hyperv.runtime.state=on,\
|
||||
hyperv.synic.state=on,hyperv_synic=on,\
|
||||
hyperv.reset.state=off,hyperv_reset=on
|
||||
|
||||
|
||||
@@ -3011,6 +3011,7 @@ class ParserFeatures(VirtCLIParser):
|
||||
cls.add_arg("hyperv.spinlocks.state", "hyperv_spinlocks", is_onoff=True)
|
||||
cls.add_arg("hyperv.spinlocks.retries", "hyperv_spinlocks_retries")
|
||||
cls.add_arg("hyperv.vpindex.state", "hyperv_vpindex", is_onoff=True)
|
||||
cls.add_arg("hyperv.runtime.state", "hyperv_runtime", is_onoff=True)
|
||||
cls.add_arg("hyperv.synic.state", "hyperv_synic", is_onoff=True)
|
||||
cls.add_arg("hyperv.reset.state", "hyperv_reset", is_onoff=True)
|
||||
|
||||
|
||||
@@ -32,6 +32,7 @@ class DomainFeatures(XMLBuilder):
|
||||
hyperv_spinlocks_retries = XMLProperty("./hyperv/spinlocks/@retries",
|
||||
is_int=True)
|
||||
hyperv_vpindex = XMLProperty("./hyperv/vpindex/@state", is_onoff=True)
|
||||
hyperv_runtime = XMLProperty("./hyperv/runtime/@state", is_onoff=True)
|
||||
hyperv_synic = XMLProperty("./hyperv/synic/@state", is_onoff=True)
|
||||
hyperv_reset = XMLProperty("./hyperv/reset/@state", is_onoff=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user