cli: add --features hyperv.reenlightenment.state=on/off

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Pavel Hrdina 2024-06-12 13:26:37 +02:00 committed by Cole Robinson
parent 2786ea5df2
commit c421ec1b75
4 changed files with 5 additions and 1 deletions

View File

@ -145,6 +145,7 @@
</stimer>
<reset state="on"/>
<frequencies state="on"/>
<reenlightenment state="on"/>
</hyperv>
<vmport state="off"/>
<kvm>

View File

@ -573,7 +573,8 @@ hyperv.synic.state=on,hyperv_synic=on,\
hyperv.stimer.state=on,\
hyperv.stimer.direct.state=on,\
hyperv.reset.state=off,hyperv_reset=on,\
hyperv.frequencies.state=on
hyperv.frequencies.state=on,\
hyperv.reenlightenment.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

View File

@ -3017,6 +3017,7 @@ class ParserFeatures(VirtCLIParser):
cls.add_arg("hyperv.stimer.direct.state", "hyperv_stimer_direct", is_onoff=True)
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("vmport.state", "vmport", is_onoff=True)
cls.add_arg("kvm.hidden.state", "kvm_hidden", is_onoff=True)

View File

@ -38,6 +38,7 @@ class DomainFeatures(XMLBuilder):
hyperv_stimer_direct = XMLProperty("./hyperv/stimer/direct/@state", is_onoff=True)
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)
vmport = XMLProperty("./vmport/@state", is_onoff=True)
kvm_hidden = XMLProperty("./kvm/hidden/@state", is_onoff=True)