diff --git a/tests/data/cli/compare/virt-install-many-devices.xml b/tests/data/cli/compare/virt-install-many-devices.xml index eccbefe2d..f70034c41 100644 --- a/tests/data/cli/compare/virt-install-many-devices.xml +++ b/tests/data/cli/compare/virt-install-many-devices.xml @@ -145,6 +145,7 @@ + diff --git a/tests/test_cli.py b/tests/test_cli.py index 334cfedd9..17db14cc4 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -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 diff --git a/virtinst/cli.py b/virtinst/cli.py index ea772089d..970151f4d 100644 --- a/virtinst/cli.py +++ b/virtinst/cli.py @@ -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) diff --git a/virtinst/domain/features.py b/virtinst/domain/features.py index 3b9e87a21..88167af04 100644 --- a/virtinst/domain/features.py +++ b/virtinst/domain/features.py @@ -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)