Guest User

Untitled

a guest
Dec 21st, 2020
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.75 KB | None | 0 0
  1. <domain type='kvm'>
  2.   <name>win10</name>
  3.   <uuid>eb701f01-f3aa-4652-9108-09ca68bf9f6e</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' cpuset='4-7'>4</vcpu>
  12.   <os>
  13.     <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
  14.     <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
  15.     <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  16.     <boot dev='cdrom'/>
  17.     <bootmenu enable='yes'/>
  18.   </os>
  19.   <features>
  20.     <acpi/>
  21.     <apic/>
  22.     <hyperv>
  23.       <relaxed state='on'/>
  24.       <vapic state='on'/>
  25.       <spinlocks state='on' retries='8191'/>
  26.       <vendor_id state='on' value='ca7bbeb9ea7f'/>
  27.     </hyperv>
  28.     <kvm>
  29.       <hidden state='on'/>
  30.     </kvm>
  31.     <vmport state='off'/>
  32.     <ioapic driver='kvm'/>
  33.   </features>
  34.   <cpu mode='host-passthrough' check='partial'/>
  35.   <clock offset='localtime'>
  36.     <timer name='rtc' tickpolicy='catchup'/>
  37.     <timer name='pit' tickpolicy='delay'/>
  38.     <timer name='hpet' present='yes'/>
  39.     <timer name='hypervclock' present='yes'/>
  40.   </clock>
  41.   <on_poweroff>destroy</on_poweroff>
  42.   <on_reboot>restart</on_reboot>
  43.   <on_crash>restart</on_crash>
  44.   <pm>
  45.     <suspend-to-mem enabled='no'/>
  46.     <suspend-to-disk enabled='no'/>
  47.   </pm>
  48.   <devices>
  49.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  50.     <disk type='block' device='disk'>
  51.       <driver name='qemu' type='raw' cache='none'/>
  52.       <source dev='/dev/disk/by-id/ata-SanDisk_SDSSDH3_500G_202951801156'/>
  53.       <backingStore/>
  54.       <target dev='sda' bus='virtio'/>
  55.       <serial>202951801157</serial>
  56.       <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
  57.     </disk>
  58.     <disk type='file' device='cdrom'>
  59.       <driver name='qemu' type='raw'/>
  60.       <source file='/home/QEMU/archlinux.iso'/>
  61.       <target dev='sdb' bus='sata'/>
  62.       <readonly/>
  63.       <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  64.     </disk>
  65.     <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  66.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  67.     </controller>
  68.     <controller type='sata' index='0'>
  69.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  70.     </controller>
  71.     <controller type='pci' index='0' model='pcie-root'/>
  72.     <controller type='pci' index='1' model='pcie-root-port'>
  73.       <model name='pcie-root-port'/>
  74.       <target chassis='1' port='0x10'/>
  75.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  76.     </controller>
  77.     <controller type='pci' index='2' model='pcie-root-port'>
  78.       <model name='pcie-root-port'/>
  79.       <target chassis='2' port='0x11'/>
  80.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  81.     </controller>
  82.     <controller type='pci' index='3' model='pcie-root-port'>
  83.       <model name='pcie-root-port'/>
  84.       <target chassis='3' port='0x12'/>
  85.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  86.     </controller>
  87.     <controller type='pci' index='4' model='pcie-root-port'>
  88.       <model name='pcie-root-port'/>
  89.       <target chassis='4' port='0x13'/>
  90.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
  91.     </controller>
  92.     <controller type='pci' index='5' model='pcie-to-pci-bridge'>
  93.       <model name='pcie-pci-bridge'/>
  94.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  95.     </controller>
  96.     <controller type='pci' index='6' model='pcie-root-port'>
  97.       <model name='pcie-root-port'/>
  98.       <target chassis='6' port='0x14'/>
  99.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
  100.     </controller>
  101.     <controller type='pci' index='7' model='pcie-root-port'>
  102.       <model name='pcie-root-port'/>
  103.       <target chassis='7' port='0x15'/>
  104.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
  105.     </controller>
  106.     <controller type='virtio-serial' index='0'>
  107.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  108.     </controller>
  109.     <controller type='pci' index='8' model='pcie-root-port'>
  110.       <model name='pcie-root-port'/>
  111.       <target chassis='8' port='0x16'/>
  112.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
  113.     </controller>
  114.     <interface type='bridge'>
  115.       <mac address='3c:ec:ef:0c:fb:01'/>
  116.       <source bridge='kvmbr0'/>
  117.       <target dev='tap0'/>
  118.       <model type='virtio'/>
  119.       <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  120.     </interface>
  121.     <serial type='pty'>
  122.       <target type='isa-serial' port='0'>
  123.         <model name='isa-serial'/>
  124.       </target>
  125.     </serial>
  126.     <console type='pty'>
  127.       <target type='serial' port='0'/>
  128.     </console>
  129.     <channel type='spicevmc'>
  130.       <target type='virtio' name='com.redhat.spice.0'/>
  131.       <address type='virtio-serial' controller='0' bus='0' port='1'/>
  132.     </channel>
  133.     <input type='tablet' bus='usb'>
  134.       <address type='usb' bus='0' port='1'/>
  135.     </input>
  136.     <input type='mouse' bus='ps2'/>
  137.     <input type='keyboard' bus='ps2'/>
  138.     <graphics type='spice' autoport='yes'>
  139.       <listen type='address'/>
  140.     </graphics>
  141.     <graphics type='vnc' port='5901' autoport='no' listen='192.168.0.1'>
  142.       <listen type='address' address='192.168.0.1'/>
  143.     </graphics>
  144.     <video>
  145.       <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
  146.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
  147.     </video>
  148.     <hostdev mode='subsystem' type='pci' managed='yes'>
  149.       <source>
  150.         <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  151.       </source>
  152.       <rom bar='on' file='/usr/share/kvm/gt710.rom'/>
  153.       <address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0' multifunction='on'/>
  154.     </hostdev>
  155.     <hostdev mode='subsystem' type='pci' managed='yes'>
  156.       <source>
  157.         <address domain='0x0000' bus='0x02' slot='0x00' function='0x1'/>
  158.       </source>
  159.       <address type='pci' domain='0x0000' bus='0x09' slot='0x00' function='0x0'/>
  160.     </hostdev>
  161.     <redirdev bus='usb' type='spicevmc'>
  162.       <address type='usb' bus='0' port='2'/>
  163.     </redirdev>
  164.     <redirdev bus='usb' type='spicevmc'>
  165.       <address type='usb' bus='0' port='3'/>
  166.     </redirdev>
  167.     <memballoon model='virtio'>
  168.       <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  169.     </memballoon>
  170.   </devices>
  171. </domain>
Advertisement
Add Comment
Please, Sign In to add comment