mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-23 17:34:21 +03:00
virt-install:support --features hyperv_synic=(on/off)
This commit is contained in:
parent
a72d368c4e
commit
66435cb03d
@ -78,6 +78,7 @@
|
||||
<hyperv>
|
||||
<reset state="on"/>
|
||||
<spinlocks state="on" retries="1234"/>
|
||||
<synic state="on"/>
|
||||
</hyperv>
|
||||
<vmport state="off"/>
|
||||
</features>
|
||||
@ -231,6 +232,7 @@
|
||||
<hyperv>
|
||||
<reset state="on"/>
|
||||
<spinlocks state="on" retries="1234"/>
|
||||
<synic state="on"/>
|
||||
</hyperv>
|
||||
<vmport state="off"/>
|
||||
</features>
|
||||
|
@ -426,7 +426,7 @@ c.add_compare("""--pxe \
|
||||
--memtune hard_limit=10,soft_limit=20,swap_hard_limit=30,min_guarantee=40 \
|
||||
--blkiotune weight=100,device_path=/home/test/1.img,device_weight=200 \
|
||||
--memorybacking size=1,unit='G',nodeset='1,2-5',nosharepages=yes,locked=yes \
|
||||
--features acpi=off,eoi=on,privnet=on,hyperv_reset=on,hyperv_spinlocks=on,hyperv_spinlocks_retries=1234,vmport=off,pmu=off \
|
||||
--features acpi=off,eoi=on,privnet=on,hyperv_synic=on,hyperv_reset=on,hyperv_spinlocks=on,hyperv_spinlocks_retries=1234,vmport=off,pmu=off \
|
||||
--clock offset=utc,hpet_present=no,rtc_tickpolicy=merge \
|
||||
--sysinfo type=smbios,bios_vendor="Acme LLC",bios_version=1.2.3,bios_date=01/01/1970,bios_release=10.22 \
|
||||
--sysinfo type=smbios,system_manufacturer="Acme Inc.",system_product=Computer,system_version=3.2.1,system_serial=123456789,system_uuid=00000000-1111-2222-3333-444444444444,system_sku=abc-123,system_family=Server \
|
||||
|
@ -1681,6 +1681,7 @@ ParserFeatures.add_arg("hyperv_relaxed", "hyperv_relaxed", is_onoff=True)
|
||||
ParserFeatures.add_arg("hyperv_spinlocks", "hyperv_spinlocks", is_onoff=True)
|
||||
ParserFeatures.add_arg("hyperv_spinlocks_retries",
|
||||
"hyperv_spinlocks_retries")
|
||||
ParserFeatures.add_arg("hyperv_synic", "hyperv_synic", is_onoff=True)
|
||||
|
||||
ParserFeatures.add_arg("vmport", "vmport", is_onoff=True)
|
||||
ParserFeatures.add_arg("kvm_hidden", "kvm_hidden", is_onoff=True)
|
||||
|
@ -48,6 +48,7 @@ class DomainFeatures(XMLBuilder):
|
||||
hyperv_spinlocks = XMLProperty("./hyperv/spinlocks/@state", is_onoff=True)
|
||||
hyperv_spinlocks_retries = XMLProperty("./hyperv/spinlocks/@retries",
|
||||
is_int=True)
|
||||
hyperv_synic = XMLProperty("./hyperv/synic/@state", is_onoff=True)
|
||||
|
||||
vmport = XMLProperty("./vmport/@state", is_onoff=True,
|
||||
default_name="default", default_cb=lambda s: False)
|
||||
|
Loading…
Reference in New Issue
Block a user