mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-12 09:18:00 +03:00
97ea737386
libvirt will use rtl8139, but the qemu default changed a while ago to e1000, and libvirt has diverged. e1000 is more modern and considered the better default here, so use it
103 lines
2.7 KiB
XML
103 lines
2.7 KiB
XML
<domain type="test">
|
|
<name>foobar</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/2k3"/>
|
|
</libosinfo:libosinfo>
|
|
</metadata>
|
|
<memory>65536</memory>
|
|
<currentMemory>65536</currentMemory>
|
|
<vcpu>4</vcpu>
|
|
<os>
|
|
<type arch="i686">hvm</type>
|
|
<boot dev="cdrom"/>
|
|
<boot dev="hd"/>
|
|
</os>
|
|
<features>
|
|
<pae/>
|
|
<hyperv>
|
|
<relaxed state="on"/>
|
|
<vapic state="on"/>
|
|
<spinlocks state="on" retries="8191"/>
|
|
</hyperv>
|
|
</features>
|
|
<cpu>
|
|
<topology sockets="1" cores="4" threads="1"/>
|
|
</cpu>
|
|
<clock offset="localtime"/>
|
|
<on_reboot>destroy</on_reboot>
|
|
<pm>
|
|
<suspend-to-mem enabled="no"/>
|
|
<suspend-to-disk enabled="no"/>
|
|
</pm>
|
|
<devices>
|
|
<emulator>/usr/bin/test-hv</emulator>
|
|
<disk type="file" device="disk">
|
|
<source file="/dev/default-pool/testvol1.img"/>
|
|
<target dev="hda" bus="ide"/>
|
|
</disk>
|
|
<disk type="file" device="cdrom">
|
|
<source file="/dev/default-pool/testvol2.img"/>
|
|
<target dev="hdb" bus="ide"/>
|
|
<readonly/>
|
|
</disk>
|
|
<controller type="usb" index="0" model="none"/>
|
|
<interface type="user">
|
|
<mac address="00:11:22:33:44:55"/>
|
|
<model type="e1000"/>
|
|
</interface>
|
|
<console type="pty"/>
|
|
</devices>
|
|
</domain>
|
|
<domain type="test">
|
|
<name>foobar</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/2k3"/>
|
|
</libosinfo:libosinfo>
|
|
</metadata>
|
|
<memory>65536</memory>
|
|
<currentMemory>65536</currentMemory>
|
|
<vcpu>4</vcpu>
|
|
<os>
|
|
<type arch="i686">hvm</type>
|
|
<boot dev="hd"/>
|
|
</os>
|
|
<features>
|
|
<pae/>
|
|
<hyperv>
|
|
<relaxed state="on"/>
|
|
<vapic state="on"/>
|
|
<spinlocks state="on" retries="8191"/>
|
|
</hyperv>
|
|
</features>
|
|
<cpu>
|
|
<topology sockets="1" cores="4" threads="1"/>
|
|
</cpu>
|
|
<clock offset="localtime"/>
|
|
<pm>
|
|
<suspend-to-mem enabled="no"/>
|
|
<suspend-to-disk enabled="no"/>
|
|
</pm>
|
|
<devices>
|
|
<emulator>/usr/bin/test-hv</emulator>
|
|
<disk type="file" device="disk">
|
|
<source file="/dev/default-pool/testvol1.img"/>
|
|
<target dev="hda" bus="ide"/>
|
|
</disk>
|
|
<disk type="file" device="cdrom">
|
|
<source file="/dev/default-pool/testvol2.img"/>
|
|
<target dev="hdb" bus="ide"/>
|
|
<readonly/>
|
|
</disk>
|
|
<controller type="usb" index="0" model="none"/>
|
|
<interface type="user">
|
|
<mac address="00:11:22:33:44:55"/>
|
|
<model type="e1000"/>
|
|
</interface>
|
|
<console type="pty"/>
|
|
</devices>
|
|
</domain>
|