mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
cli: add --features hyperv.tblflush.state=on/off
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
committed by
Cole Robinson
parent
c421ec1b75
commit
e3ec248cff
@@ -146,6 +146,7 @@
|
||||
<reset state="on"/>
|
||||
<frequencies state="on"/>
|
||||
<reenlightenment state="on"/>
|
||||
<tlbflush state="on"/>
|
||||
</hyperv>
|
||||
<vmport state="off"/>
|
||||
<kvm>
|
||||
|
||||
@@ -574,7 +574,8 @@ hyperv.stimer.state=on,\
|
||||
hyperv.stimer.direct.state=on,\
|
||||
hyperv.reset.state=off,hyperv_reset=on,\
|
||||
hyperv.frequencies.state=on,\
|
||||
hyperv.reenlightenment.state=on
|
||||
hyperv.reenlightenment.state=on,\
|
||||
hyperv.tlbflush.state=on
|
||||
|
||||
|
||||
--clock offset=utc,hpet_present=no,rtc_tickpolicy=merge,timer2.name=hypervclock,timer3.name=pit,timer1.present=yes,timer3.tickpolicy=delay,timer2.present=no,timer4.name=rtc,timer5.name=tsc,timer6.name=tsc,timer4.track=wall,timer5.frequency=10,timer6.mode=emulate,timer7.name=rtc,timer7.tickpolicy=catchup,timer7.catchup.threshold=123,timer7.catchup.slew=120,timer7.catchup.limit=10000,rtc_present=no,pit_present=yes,pit_tickpolicy=catchup,tsc_present=no,platform_present=no,hypervclock_present=no,platform_tickpolicy=foo,hpet_tickpolicy=bar,tsc_tickpolicy=wibble,kvmclock_tickpolicy=wobble,hypervclock_tickpolicy=woo
|
||||
|
||||
@@ -3018,6 +3018,7 @@ class ParserFeatures(VirtCLIParser):
|
||||
cls.add_arg("hyperv.reset.state", "hyperv_reset", is_onoff=True)
|
||||
cls.add_arg("hyperv.frequencies.state", "hyperv_frequencies", is_onoff=True)
|
||||
cls.add_arg("hyperv.reenlightenment.state", "hyperv_reenlightenment", is_onoff=True)
|
||||
cls.add_arg("hyperv.tlbflush.state", "hyperv_tlbflush", is_onoff=True)
|
||||
|
||||
cls.add_arg("vmport.state", "vmport", is_onoff=True)
|
||||
cls.add_arg("kvm.hidden.state", "kvm_hidden", is_onoff=True)
|
||||
|
||||
@@ -39,6 +39,7 @@ class DomainFeatures(XMLBuilder):
|
||||
hyperv_reset = XMLProperty("./hyperv/reset/@state", is_onoff=True)
|
||||
hyperv_frequencies = XMLProperty("./hyperv/frequencies/@state", is_onoff=True)
|
||||
hyperv_reenlightenment = XMLProperty("./hyperv/reenlightenment/@state", is_onoff=True)
|
||||
hyperv_tlbflush = XMLProperty("./hyperv/tlbflush/@state", is_onoff=True)
|
||||
|
||||
vmport = XMLProperty("./vmport/@state", is_onoff=True)
|
||||
kvm_hidden = XMLProperty("./kvm/hidden/@state", is_onoff=True)
|
||||
|
||||
Reference in New Issue
Block a user