mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-22 13:34:07 +03:00
cli: add --features hyperv.vpindex.state=on/off
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
1c3fb02543
commit
d2a29245cd
@ -137,6 +137,7 @@
|
||||
<relaxed state="off"/>
|
||||
<vapic state="on"/>
|
||||
<spinlocks state="on" retries="5678"/>
|
||||
<vpindex state="on"/>
|
||||
<synic state="on"/>
|
||||
<reset state="on"/>
|
||||
</hyperv>
|
||||
|
@ -567,6 +567,7 @@ hyperv.relaxed.state=off,\
|
||||
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.synic.state=on,hyperv_synic=on,\
|
||||
hyperv.reset.state=off,hyperv_reset=on
|
||||
|
||||
|
@ -3010,6 +3010,7 @@ class ParserFeatures(VirtCLIParser):
|
||||
cls.add_arg("hyperv.vapic.state", "hyperv_vapic", is_onoff=True)
|
||||
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.synic.state", "hyperv_synic", is_onoff=True)
|
||||
cls.add_arg("hyperv.reset.state", "hyperv_reset", is_onoff=True)
|
||||
|
||||
|
@ -31,6 +31,7 @@ class DomainFeatures(XMLBuilder):
|
||||
hyperv_spinlocks = XMLProperty("./hyperv/spinlocks/@state", is_onoff=True)
|
||||
hyperv_spinlocks_retries = XMLProperty("./hyperv/spinlocks/@retries",
|
||||
is_int=True)
|
||||
hyperv_vpindex = XMLProperty("./hyperv/vpindex/@state", is_onoff=True)
|
||||
hyperv_synic = XMLProperty("./hyperv/synic/@state", is_onoff=True)
|
||||
hyperv_reset = XMLProperty("./hyperv/reset/@state", is_onoff=True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user