mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-22 13:34:07 +03:00
74fd503b9e
We will not enable hyperv_reset feature as modern Hyper-V versions don't export it. We also don't enable hyperv_reenlightenment as it is mostly relevant when migrating VMs that are running Hyper-V inside and requires other bits to work correctly. Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
198 lines
6.3 KiB
XML
198 lines
6.3 KiB
XML
<domain type="kvm">
|
|
<name>win7</name>
|
|
<uuid>00000000-1111-2222-3333-444444444444</uuid>
|
|
<metadata>
|
|
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
|
<libosinfo:os id="http://microsoft.com/win/7"/>
|
|
</libosinfo:libosinfo>
|
|
</metadata>
|
|
<memory>65536</memory>
|
|
<currentMemory>65536</currentMemory>
|
|
<vcpu>2</vcpu>
|
|
<os>
|
|
<type arch="x86_64" machine="q35">hvm</type>
|
|
<boot dev="cdrom"/>
|
|
</os>
|
|
<features>
|
|
<acpi/>
|
|
<apic/>
|
|
<hyperv>
|
|
<relaxed state="on"/>
|
|
<vapic state="on"/>
|
|
<spinlocks state="on" retries="8191"/>
|
|
<vpindex state="on"/>
|
|
<runtime state="on"/>
|
|
<synic state="on"/>
|
|
<stimer state="on"/>
|
|
<frequencies state="on"/>
|
|
<tlbflush state="on"/>
|
|
<ipi state="on"/>
|
|
<evmcs state="on"/>
|
|
<avic state="on"/>
|
|
</hyperv>
|
|
</features>
|
|
<cpu mode="host-passthrough"/>
|
|
<clock offset="localtime">
|
|
<timer name="rtc" tickpolicy="catchup"/>
|
|
<timer name="pit" tickpolicy="delay"/>
|
|
<timer name="hpet" present="no"/>
|
|
<timer name="hypervclock" present="yes"/>
|
|
</clock>
|
|
<pm>
|
|
<suspend-to-mem enabled="no"/>
|
|
<suspend-to-disk enabled="no"/>
|
|
</pm>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
|
<disk type="file" device="cdrom">
|
|
<driver name="qemu"/>
|
|
<source file="TESTSUITE_SCRUBBED/tests/data/fakemedia/fake-win7.iso"/>
|
|
<target dev="sda" bus="sata"/>
|
|
<readonly/>
|
|
</disk>
|
|
<controller type="usb" model="ich9-ehci1"/>
|
|
<controller type="usb" model="ich9-uhci1">
|
|
<master startport="0"/>
|
|
</controller>
|
|
<controller type="usb" model="ich9-uhci2">
|
|
<master startport="2"/>
|
|
</controller>
|
|
<controller type="usb" model="ich9-uhci3">
|
|
<master startport="4"/>
|
|
</controller>
|
|
<controller type="pci" model="pcie-root"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<interface type="bridge">
|
|
<source bridge="testsuitebr0"/>
|
|
<mac address="00:11:22:33:44:55"/>
|
|
<model type="virtio"/>
|
|
</interface>
|
|
<console type="pty"/>
|
|
<channel type="unix">
|
|
<source mode="bind"/>
|
|
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
|
</channel>
|
|
<memballoon model="virtio"/>
|
|
<rng model="virtio">
|
|
<backend model="random">/dev/urandom</backend>
|
|
</rng>
|
|
<disk type="file" device="cdrom">
|
|
<driver name="qemu" type="raw"/>
|
|
<source file="/VIRTINST-TESTSUITE/unattended.iso"/>
|
|
<target dev="sdb" bus="sata"/>
|
|
<readonly/>
|
|
</disk>
|
|
</devices>
|
|
<on_reboot>destroy</on_reboot>
|
|
</domain>
|
|
<domain type="kvm">
|
|
<name>win7</name>
|
|
<uuid>00000000-1111-2222-3333-444444444444</uuid>
|
|
<metadata>
|
|
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
|
<libosinfo:os id="http://microsoft.com/win/7"/>
|
|
</libosinfo:libosinfo>
|
|
</metadata>
|
|
<memory>65536</memory>
|
|
<currentMemory>65536</currentMemory>
|
|
<vcpu>2</vcpu>
|
|
<os>
|
|
<type arch="x86_64" machine="q35">hvm</type>
|
|
<boot dev="cdrom"/>
|
|
</os>
|
|
<features>
|
|
<acpi/>
|
|
<apic/>
|
|
<hyperv>
|
|
<relaxed state="on"/>
|
|
<vapic state="on"/>
|
|
<spinlocks state="on" retries="8191"/>
|
|
<vpindex state="on"/>
|
|
<runtime state="on"/>
|
|
<synic state="on"/>
|
|
<stimer state="on"/>
|
|
<frequencies state="on"/>
|
|
<tlbflush state="on"/>
|
|
<ipi state="on"/>
|
|
<evmcs state="on"/>
|
|
<avic state="on"/>
|
|
</hyperv>
|
|
</features>
|
|
<cpu mode="host-passthrough"/>
|
|
<clock offset="localtime">
|
|
<timer name="rtc" tickpolicy="catchup"/>
|
|
<timer name="pit" tickpolicy="delay"/>
|
|
<timer name="hpet" present="no"/>
|
|
<timer name="hypervclock" present="yes"/>
|
|
</clock>
|
|
<pm>
|
|
<suspend-to-mem enabled="no"/>
|
|
<suspend-to-disk enabled="no"/>
|
|
</pm>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
|
<disk type="file" device="cdrom">
|
|
<driver name="qemu"/>
|
|
<source file="TESTSUITE_SCRUBBED/tests/data/fakemedia/fake-win7.iso"/>
|
|
<target dev="sda" bus="sata"/>
|
|
<readonly/>
|
|
</disk>
|
|
<controller type="usb" model="ich9-ehci1"/>
|
|
<controller type="usb" model="ich9-uhci1">
|
|
<master startport="0"/>
|
|
</controller>
|
|
<controller type="usb" model="ich9-uhci2">
|
|
<master startport="2"/>
|
|
</controller>
|
|
<controller type="usb" model="ich9-uhci3">
|
|
<master startport="4"/>
|
|
</controller>
|
|
<controller type="pci" model="pcie-root"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<interface type="bridge">
|
|
<source bridge="testsuitebr0"/>
|
|
<mac address="00:11:22:33:44:55"/>
|
|
<model type="virtio"/>
|
|
</interface>
|
|
<console type="pty"/>
|
|
<channel type="unix">
|
|
<source mode="bind"/>
|
|
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
|
</channel>
|
|
<memballoon model="virtio"/>
|
|
<rng model="virtio">
|
|
<backend model="random">/dev/urandom</backend>
|
|
</rng>
|
|
<disk type="file" device="cdrom">
|
|
<target dev="sdb" bus="sata"/>
|
|
<readonly/>
|
|
</disk>
|
|
</devices>
|
|
</domain>
|