NauTiluS1

VM gaming

Jun 24th, 2024
1,339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 14.29 KB | Gaming | 0 0
  1. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  2.   <name>win10</name>
  3.   <uuid>d87179c1-75ac-4ed4-97e4-617f11595340</uuid>
  4.   <title>Maquina de viciar</title>
  5.   <description>Para eso mismo, para viciar</description>
  6.   <memory unit='KiB'>16797696</memory>
  7.   <currentMemory unit='KiB'>16797696</currentMemory>
  8.   <vcpu placement='static' current='8'>16</vcpu>
  9.   <vcpus>
  10.     <vcpu id='0' enabled='yes' hotpluggable='no' order='1'/>
  11.     <vcpu id='1' enabled='yes' hotpluggable='yes' order='2'/>
  12.     <vcpu id='2' enabled='yes' hotpluggable='yes' order='3'/>
  13.     <vcpu id='3' enabled='yes' hotpluggable='yes' order='4'/>
  14.     <vcpu id='4' enabled='yes' hotpluggable='yes' order='5'/>
  15.     <vcpu id='5' enabled='no' hotpluggable='yes'/>
  16.     <vcpu id='6' enabled='no' hotpluggable='yes'/>
  17.     <vcpu id='7' enabled='no' hotpluggable='yes'/>
  18.     <vcpu id='8' enabled='yes' hotpluggable='yes' order='6'/>
  19.     <vcpu id='9' enabled='no' hotpluggable='yes'/>
  20.     <vcpu id='10' enabled='yes' hotpluggable='yes' order='7'/>
  21.     <vcpu id='11' enabled='no' hotpluggable='yes'/>
  22.     <vcpu id='12' enabled='yes' hotpluggable='yes' order='8'/>
  23.     <vcpu id='13' enabled='no' hotpluggable='yes'/>
  24.     <vcpu id='14' enabled='no' hotpluggable='yes'/>
  25.     <vcpu id='15' enabled='no' hotpluggable='yes'/>
  26.   </vcpus>
  27.   <iothreads>2</iothreads>
  28.   <iothreadids>
  29.     <iothread id='1'/>
  30.     <iothread id='2'/>
  31.   </iothreadids>
  32.   <cputune>
  33.     <vcpupin vcpu='0' cpuset='11'/>
  34.     <vcpupin vcpu='1' cpuset='5'/>
  35.     <vcpupin vcpu='2' cpuset='10'/>
  36.     <vcpupin vcpu='3' cpuset='4'/>
  37.     <vcpupin vcpu='4' cpuset='9'/>
  38.     <vcpupin vcpu='8' cpuset='8'/>
  39.     <vcpupin vcpu='10' cpuset='7'/>
  40.     <vcpupin vcpu='12' cpuset='6'/>
  41.     <emulatorpin cpuset='0,2'/>
  42.     <iothreadpin iothread='1' cpuset='1-3'/>
  43.     <iothreadpin iothread='2' cpuset='1-3'/>
  44.   </cputune>
  45.   <numatune>
  46.     <memory mode='strict' nodeset='0'/>
  47.   </numatune>
  48.   <resource>
  49.     <partition>/machine</partition>
  50.   </resource>
  51.   <os>
  52.     <type arch='x86_64' machine='pc-q35-9.0'>hvm</type>
  53.     <loader readonly='yes' type='pflash'>/usr/share/ovmf/x64/OVMF_CODE.fd</loader>
  54.     <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  55.     <bootmenu enable='yes'/>
  56.   </os>
  57.   <features>
  58.     <acpi/>
  59.     <apic/>
  60.     <hyperv mode='custom'>
  61.       <relaxed state='on'/>
  62.       <vapic state='on'/>
  63.       <spinlocks state='on' retries='8191'/>
  64.       <vpindex state='on'/>
  65.       <runtime state='on'/>
  66.       <synic state='off'/>
  67.       <stimer state='off'/>
  68.       <reset state='off'/>
  69.       <vendor_id state='on' value='PowerPro'/>
  70.       <frequencies state='on'/>
  71.       <tlbflush state='on'/>
  72.     </hyperv>
  73.     <kvm>
  74.       <hidden state='on'/>
  75.     </kvm>
  76.     <vmport state='off'/>
  77.     <ioapic driver='kvm'/>
  78.   </features>
  79.   <cpu mode='host-passthrough' check='partial' migratable='on'>
  80.     <topology sockets='1' dies='1' clusters='1' cores='8' threads='2'/>
  81.     <cache mode='passthrough'/>
  82.     <feature policy='require' name='topoext'/>
  83.     <feature policy='require' name='invtsc'/>
  84.     <feature policy='disable' name='monitor'/>
  85.     <feature policy='require' name='x2apic'/>
  86.     <feature policy='require' name='svm'/>
  87.     <feature policy='require' name='hypervisor'/>
  88.     <feature policy='require' name='rdrand'/>
  89.     <feature policy='require' name='tsc_adjust'/>
  90.     <feature policy='require' name='clflushopt'/>
  91.   </cpu>
  92.   <clock offset='localtime'>
  93.     <timer name='hpet' present='no'/>
  94.     <timer name='hypervclock' present='yes'/>
  95.     <timer name='pit' present='no' tickpolicy='discard'/>
  96.     <timer name='tsc' present='yes' mode='native'/>
  97.     <timer name='rtc' present='no' tickpolicy='catchup'/>
  98.   </clock>
  99.   <on_poweroff>destroy</on_poweroff>
  100.   <on_reboot>restart</on_reboot>
  101.   <on_crash>destroy</on_crash>
  102.   <pm>
  103.     <suspend-to-mem enabled='no'/>
  104.     <suspend-to-disk enabled='no'/>
  105.   </pm>
  106.   <devices>
  107.     <emulator>/home/nautilus/qemu9.0rc/bin/qemu-system-x86_64</emulator>
  108.     <disk type='file' device='disk'>
  109.       <driver name='qemu' type='raw' cache='none' io='threads'/>
  110.       <source file='/run/media/nautilus/disk1/VM-DISKS/DATOS-win10hdd2.raw'/>
  111.       <backingStore/>
  112.       <target dev='sde' bus='scsi'/>
  113.       <address type='drive' controller='3' bus='0' target='0' unit='4'/>
  114.     </disk>
  115.     <disk type='file' device='disk'>
  116.       <driver name='qemu' type='raw' cache='none' io='threads'/>
  117.       <source file='/run/media/nautilus/disk1/VM-DISKS/win10hdd3.raw'/>
  118.       <backingStore/>
  119.       <target dev='sdh' bus='scsi'/>
  120.       <address type='drive' controller='2' bus='0' target='0' unit='0'/>
  121.     </disk>
  122.     <disk type='file' device='disk'>
  123.       <driver name='qemu' type='raw' cache='none' io='threads'/>
  124.       <source file='/run/media/nautilus/disk1/VM-DISKS/win10hdd4.raw'/>
  125.       <backingStore/>
  126.       <target dev='sdi' bus='scsi'/>
  127.       <address type='drive' controller='1' bus='0' target='0' unit='1'/>
  128.     </disk>
  129.     <disk type='file' device='disk'>
  130.       <driver name='qemu' type='raw' cache='none' io='threads' discard='unmap'/>
  131.       <source file='/home/nautilus/KVM/windows10.raw'/>
  132.       <backingStore/>
  133.       <target dev='sdk' bus='scsi'/>
  134.       <boot order='1'/>
  135.       <address type='drive' controller='0' bus='0' target='0' unit='3'/>
  136.     </disk>
  137.     <disk type='file' device='cdrom'>
  138.       <driver name='qemu' type='raw' cache='none'/>
  139.       <backingStore/>
  140.       <target dev='sda' bus='sata'/>
  141.       <readonly/>
  142.       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  143.     </disk>
  144.     <disk type='file' device='cdrom'>
  145.       <driver name='qemu' type='raw' cache='none' io='threads'/>
  146.       <source file='/run/media/nautilus/disk1/WIN-ISOS/virtio-win-0.1.215.iso'/>
  147.       <backingStore/>
  148.       <target dev='sdj' bus='sata'/>
  149.       <readonly/>
  150.       <address type='drive' controller='1' bus='0' target='0' unit='3'/>
  151.     </disk>
  152.     <controller type='sata' index='0'>
  153.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  154.     </controller>
  155.     <controller type='sata' index='1'>
  156.       <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
  157.     </controller>
  158.     <controller type='pci' index='0' model='pcie-root'/>
  159.     <controller type='pci' index='1' model='pcie-root-port'>
  160.       <model name='pcie-root-port'/>
  161.       <target chassis='1' port='0x10'/>
  162.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  163.     </controller>
  164.     <controller type='pci' index='2' model='pcie-to-pci-bridge'>
  165.       <model name='pcie-pci-bridge'/>
  166.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  167.     </controller>
  168.     <controller type='pci' index='3' model='pcie-root-port'>
  169.       <model name='pcie-root-port'/>
  170.       <target chassis='3' port='0x11'/>
  171.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  172.     </controller>
  173.     <controller type='pci' index='4' model='pcie-root-port'>
  174.       <model name='pcie-root-port'/>
  175.       <target chassis='4' port='0x12'/>
  176.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  177.     </controller>
  178.     <controller type='pci' index='5' model='pcie-root-port'>
  179.       <model name='pcie-root-port'/>
  180.       <target chassis='5' port='0x13'/>
  181.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
  182.     </controller>
  183.     <controller type='pci' index='6' model='pcie-root-port'>
  184.       <model name='pcie-root-port'/>
  185.       <target chassis='6' port='0x14'/>
  186.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
  187.     </controller>
  188.     <controller type='pci' index='7' model='pcie-root-port'>
  189.       <model name='pcie-root-port'/>
  190.       <target chassis='7' port='0x8'/>
  191.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
  192.     </controller>
  193.     <controller type='pci' index='8' model='pcie-root-port'>
  194.       <model name='pcie-root-port'/>
  195.       <target chassis='8' port='0x9'/>
  196.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  197.     </controller>
  198.     <controller type='pci' index='9' model='pcie-root-port'>
  199.       <model name='pcie-root-port'/>
  200.       <target chassis='9' port='0xa'/>
  201.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  202.     </controller>
  203.     <controller type='pci' index='10' model='pcie-root-port'>
  204.       <model name='pcie-root-port'/>
  205.       <target chassis='10' port='0xb'/>
  206.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
  207.     </controller>
  208.     <controller type='pci' index='11' model='pcie-root-port'>
  209.       <model name='pcie-root-port'/>
  210.       <target chassis='11' port='0xc'/>
  211.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
  212.     </controller>
  213.     <controller type='pci' index='12' model='pcie-root-port'>
  214.       <model name='pcie-root-port'/>
  215.       <target chassis='12' port='0xd'/>
  216.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
  217.     </controller>
  218.     <controller type='pci' index='13' model='pcie-root-port'>
  219.       <model name='pcie-root-port'/>
  220.       <target chassis='13' port='0xe'/>
  221.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
  222.     </controller>
  223.     <controller type='pci' index='14' model='pcie-root-port'>
  224.       <model name='pcie-root-port'/>
  225.       <target chassis='14' port='0xf'/>
  226.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
  227.     </controller>
  228.     <controller type='pci' index='15' model='pcie-root-port'>
  229.       <model name='pcie-root-port'/>
  230.       <target chassis='15' port='0x15'/>
  231.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
  232.     </controller>
  233.     <controller type='virtio-serial' index='0'>
  234.       <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  235.     </controller>
  236.     <controller type='scsi' index='0' model='virtio-scsi'>
  237.       <driver queues='4' ioeventfd='on' iothread='1'/>
  238.       <address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
  239.     </controller>
  240.     <controller type='scsi' index='1' model='virtio-scsi'>
  241.       <driver queues='2' ioeventfd='on' iothread='2'/>
  242.       <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
  243.     </controller>
  244.     <controller type='scsi' index='2' model='virtio-scsi'>
  245.       <driver queues='2' ioeventfd='on' iothread='2'/>
  246.       <address type='pci' domain='0x0000' bus='0x09' slot='0x00' function='0x0'/>
  247.     </controller>
  248.     <controller type='scsi' index='3' model='virtio-scsi'>
  249.       <driver queues='2' ioeventfd='on' iothread='2'/>
  250.       <address type='pci' domain='0x0000' bus='0x0e' slot='0x00' function='0x0'/>
  251.     </controller>
  252.     <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  253.       <address type='pci' domain='0x0000' bus='0x0b' slot='0x00' function='0x0'/>
  254.     </controller>
  255.     <interface type='bridge'>
  256.       <mac address='52:54:00:4a:a1:10'/>
  257.       <source bridge='kvm_bridge'/>
  258.       <model type='virtio'/>
  259.       <address type='pci' domain='0x0000' bus='0x0a' slot='0x00' function='0x0'/>
  260.     </interface>
  261.     <interface type='network'>
  262.       <mac address='52:54:00:2b:1c:7d'/>
  263.       <source network='isolated'/>
  264.       <model type='virtio'/>
  265.       <address type='pci' domain='0x0000' bus='0x0c' slot='0x00' function='0x0'/>
  266.     </interface>
  267.     <input type='mouse' bus='virtio'>
  268.       <address type='pci' domain='0x0000' bus='0x00' slot='0x0e' function='0x0'/>
  269.     </input>
  270.     <input type='keyboard' bus='virtio'>
  271.       <address type='pci' domain='0x0000' bus='0x00' slot='0x0f' function='0x0'/>
  272.     </input>
  273.     <input type='mouse' bus='ps2'/>
  274.     <input type='keyboard' bus='ps2'/>
  275.     <audio id='1' type='none'/>
  276.     <hostdev mode='subsystem' type='pci' managed='yes'>
  277.       <driver name='vfio'/>
  278.       <source>
  279.         <address domain='0x0000' bus='0x29' slot='0x00' function='0x0'/>
  280.       </source>
  281.       <rom file='/etc/libvirt/hooks/qemu.d/bios_3070.rom'/>
  282.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  283.     </hostdev>
  284.     <hostdev mode='subsystem' type='pci' managed='yes'>
  285.       <driver name='vfio'/>
  286.       <source>
  287.         <address domain='0x0000' bus='0x29' slot='0x00' function='0x1'/>
  288.       </source>
  289.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  290.     </hostdev>
  291.     <hostdev mode='subsystem' type='pci' managed='yes'>
  292.       <source>
  293.         <address domain='0x0000' bus='0x27' slot='0x00' function='0x0'/>
  294.       </source>
  295.       <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  296.     </hostdev>
  297.     <hostdev mode='subsystem' type='usb' managed='yes'>
  298.       <source>
  299.         <vendor id='0x0b05'/>
  300.         <product id='0x17cb'/>
  301.       </source>
  302.       <address type='usb' bus='0' port='1'/>
  303.     </hostdev>
  304.     <watchdog model='itco' action='reset'/>
  305.     <memballoon model='none'/>
  306.     <rng model='virtio'>
  307.       <backend model='random'>/dev/random</backend>
  308.       <address type='pci' domain='0x0000' bus='0x0d' slot='0x00' function='0x0'/>
  309.     </rng>
  310.     <panic model='hyperv'/>
  311.     <shmem name='looking-glass'>
  312.       <model type='ivshmem-plain'/>
  313.       <size unit='M'>64</size>
  314.       <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/>
  315.     </shmem>
  316.     <shmem name='scream-ivshmem'>
  317.       <model type='ivshmem-plain'/>
  318.       <size unit='M'>2</size>
  319.       <address type='pci' domain='0x0000' bus='0x02' slot='0x11' function='0x0'/>
  320.     </shmem>
  321.   </devices>
  322.   <seclabel type='dynamic' model='dac' relabel='yes'/>
  323.   <qemu:commandline>
  324.     <qemu:arg value='-object'/>
  325.     <qemu:arg value='input-linux,id=mouse1,evdev=/dev/input/by-id/usb-SINOWEALTH_Wired_Gaming_Mouse-event-mouse'/>
  326.     <qemu:arg value='-object'/>
  327.     <qemu:arg value='input-linux,id=mouse2,evdev=/dev/input/by-id/usb-SINOWEALTH_Wired_Gaming_Mouse-if01-event-kbd'/>
  328.     <qemu:arg value='-object'/>
  329.     <qemu:arg value='input-linux,id=kbd1,evdev=/dev/input/by-id/usb-Dell_Dell_USB_Keyboard-event-kbd,grab_all=on,repeat=on'/>
  330.     <qemu:arg value='-object'/>
  331.     <qemu:arg value='input-linux,id=kbd2,evdev=/dev/input/by-id/usb-Dell_Dell_USB_Keyboard-event-if01'/>
  332.     <qemu:arg value='-overcommit'/>
  333.     <qemu:arg value='cpu-pm=on'/>
  334.   </qemu:commandline>
  335. </domain>
  336.  
  337.  
Advertisement
Add Comment
Please, Sign In to add comment