wkchu

virt-manager

May 8th, 2020
447
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.58 KB | None | 0 0
  1. <domain type="kvm">
  2.   <name>win10-diskimage</name>
  3.   <uuid>179ec4b8-5ff7-48ab-967b-62a60a3192e8</uuid>
  4.   <metadata>
  5.     <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  6.       <libosinfo:os id="http://microsoft.com/win/10"/>
  7.     </libosinfo:libosinfo>
  8.   </metadata>
  9.   <memory unit="KiB">16777216</memory>
  10.   <currentMemory unit="KiB">16777216</currentMemory>
  11.   <vcpu placement="static">14</vcpu>
  12.   <os>
  13.     <type arch="x86_64" machine="pc-q35-5.0">hvm</type>
  14.     <loader readonly="yes" type="pflash">/usr/share/edk2-ovmf/x64/OVMF_CODE.fd</loader>
  15.     <nvram>/var/lib/libvirt/qemu/nvram/win10-diskimage_VARS.fd</nvram>
  16.     <boot dev="hd"/>
  17.   </os>
  18.   <features>
  19.     <acpi/>
  20.     <apic/>
  21.     <hyperv>
  22.       <relaxed state="on"/>
  23.       <vapic state="on"/>
  24.       <spinlocks state="on" retries="8191"/>
  25.     </hyperv>
  26.     <vmport state="off"/>
  27.   </features>
  28.   <cpu mode="host-model" check="partial">
  29.     <topology sockets="1" cores="7" threads="2"/>
  30.   </cpu>
  31.   <clock offset="localtime">
  32.     <timer name="rtc" tickpolicy="catchup"/>
  33.     <timer name="pit" tickpolicy="delay"/>
  34.     <timer name="hpet" present="no"/>
  35.     <timer name="hypervclock" present="yes"/>
  36.   </clock>
  37.   <on_poweroff>destroy</on_poweroff>
  38.   <on_reboot>restart</on_reboot>
  39.   <on_crash>destroy</on_crash>
  40.   <pm>
  41.     <suspend-to-mem enabled="no"/>
  42.     <suspend-to-disk enabled="no"/>
  43.   </pm>
  44.   <devices>
  45.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  46.     <disk type="file" device="disk">
  47.       <driver name="qemu" type="qcow2"/>
  48.       <source file="/var/lib/libvirt/images/win10-diskimage.qcow2"/>
  49.       <target dev="sda" bus="sata"/>
  50.       <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  51.     </disk>
  52.     <controller type="usb" index="0" model="qemu-xhci" ports="15">
  53.       <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  54.     </controller>
  55.     <controller type="sata" index="0">
  56.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  57.     </controller>
  58.     <controller type="pci" index="0" model="pcie-root"/>
  59.     <controller type="pci" index="1" model="pcie-root-port">
  60.       <model name="pcie-root-port"/>
  61.       <target chassis="1" port="0x10"/>
  62.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  63.     </controller>
  64.     <controller type="pci" index="2" model="pcie-root-port">
  65.       <model name="pcie-root-port"/>
  66.       <target chassis="2" port="0x11"/>
  67.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  68.     </controller>
  69.     <controller type="pci" index="3" model="pcie-root-port">
  70.       <model name="pcie-root-port"/>
  71.       <target chassis="3" port="0x12"/>
  72.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  73.     </controller>
  74.     <controller type="pci" index="4" model="pcie-root-port">
  75.       <model name="pcie-root-port"/>
  76.       <target chassis="4" port="0x13"/>
  77.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  78.     </controller>
  79.     <controller type="pci" index="5" model="pcie-root-port">
  80.       <model name="pcie-root-port"/>
  81.       <target chassis="5" port="0x14"/>
  82.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  83.     </controller>
  84.     <controller type="virtio-serial" index="0">
  85.       <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  86.     </controller>
  87.     <serial type="pty">
  88.       <target type="isa-serial" port="0">
  89.         <model name="isa-serial"/>
  90.       </target>
  91.     </serial>
  92.     <console type="pty">
  93.       <target type="serial" port="0"/>
  94.     </console>
  95.     <channel type="spicevmc">
  96.       <target type="virtio" name="com.redhat.spice.0"/>
  97.       <address type="virtio-serial" controller="0" bus="0" port="1"/>
  98.     </channel>
  99.     <input type="mouse" bus="ps2"/>
  100.     <input type="keyboard" bus="ps2"/>
  101.     <graphics type="spice" autoport="yes">
  102.       <listen type="address"/>
  103.       <image compression="off"/>
  104.     </graphics>
  105.     <video>
  106.       <model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes"/>
  107.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  108.     </video>
  109.     <redirdev bus="usb" type="spicevmc">
  110.       <address type="usb" bus="0" port="2"/>
  111.     </redirdev>
  112.     <redirdev bus="usb" type="spicevmc">
  113.       <address type="usb" bus="0" port="3"/>
  114.     </redirdev>
  115.     <memballoon model="virtio">
  116.       <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  117.     </memballoon>
  118.   </devices>
  119. </domain>
Add Comment
Please, Sign In to add comment