Advertisement
Guest User

Untitled

a guest
Jun 10th, 2018
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.65 KB | None | 0 0
  1. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  2.   <name>Debian-Gaymin</name>
  3.   <uuid>63ca29b6-6d44-4808-85d8-0c2beebd753d</uuid>
  4.   <memory unit='KiB'>12582912</memory>
  5.   <currentMemory unit='KiB'>12582912</currentMemory>
  6.   <vcpu placement='static'>4</vcpu>
  7.   <cputune>
  8.     <vcpupin vcpu='0' cpuset='2'/>
  9.     <vcpupin vcpu='1' cpuset='3'/>
  10.     <vcpupin vcpu='2' cpuset='6'/>
  11.     <vcpupin vcpu='3' cpuset='7'/>
  12.     <emulatorpin cpuset='0,4'/>
  13.   </cputune>
  14.   <os>
  15.     <type arch='x86_64' machine='pc-q35-2.8'>hvm</type>
  16.     <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
  17.     <nvram>/var/lib/libvirt/qemu/nvram/Debian-Gaymin_VARS.fd</nvram>
  18.   </os>
  19.   <features>
  20.     <acpi/>
  21.     <apic/>
  22.     <kvm>
  23.       <hidden state='on'/>
  24.     </kvm>
  25.     <vmport state='off'/>
  26.   </features>
  27.   <cpu mode='host-passthrough'/>
  28.   <clock offset='utc'>
  29.     <timer name='rtc' tickpolicy='catchup'/>
  30.     <timer name='pit' tickpolicy='delay'/>
  31.     <timer name='hpet' present='no'/>
  32.   </clock>
  33.   <on_poweroff>destroy</on_poweroff>
  34.   <on_reboot>restart</on_reboot>
  35.   <on_crash>destroy</on_crash>
  36.   <pm>
  37.     <suspend-to-mem enabled='no'/>
  38.     <suspend-to-disk enabled='no'/>
  39.   </pm>
  40.   <devices>
  41.     <emulator>/usr/bin/kvm</emulator>
  42.     <disk type='block' device='disk'>
  43.       <driver name='qemu' type='raw' cache='none' io='native'/>
  44.       <source dev='/dev/disk/by-id/wwn-0x5000cca041206ef8'/>
  45.       <target dev='vdb' bus='virtio'/>
  46.       <boot order='2'/>
  47.       <address type='pci' domain='0x0000' bus='0x0b' slot='0x00' function='0x0'/>
  48.     </disk>
  49.     <disk type='file' device='cdrom'>
  50.       <driver name='qemu' type='raw'/>
  51.       <target dev='sda' bus='sata'/>
  52.       <readonly/>
  53.       <boot order='1'/>
  54.       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  55.     </disk>
  56.     <controller type='usb' index='0' model='ich9-ehci1'>
  57.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x7'/>
  58.     </controller>
  59.     <controller type='usb' index='0' model='ich9-uhci1'>
  60.       <master startport='0'/>
  61.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x0' multifunction='on'/>
  62.     </controller>
  63.     <controller type='usb' index='0' model='ich9-uhci2'>
  64.       <master startport='2'/>
  65.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x1'/>
  66.     </controller>
  67.     <controller type='usb' index='0' model='ich9-uhci3'>
  68.       <master startport='4'/>
  69.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' 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='ioh3420'/>
  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='dmi-to-pci-bridge'>
  78.       <model name='i82801b11-bridge'/>
  79.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
  80.     </controller>
  81.     <controller type='pci' index='3' model='pci-bridge'>
  82.       <model name='pci-bridge'/>
  83.       <target chassisNr='3'/>
  84.       <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  85.     </controller>
  86.     <controller type='pci' index='4' model='pcie-root-port'>
  87.       <model name='ioh3420'/>
  88.       <target chassis='4' port='0x11'/>
  89.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  90.     </controller>
  91.     <controller type='pci' index='5' model='pcie-root-port'>
  92.       <model name='ioh3420'/>
  93.       <target chassis='5' port='0x12'/>
  94.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  95.     </controller>
  96.     <controller type='pci' index='6' model='pcie-root-port'>
  97.       <model name='ioh3420'/>
  98.       <target chassis='6' port='0x13'/>
  99.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
  100.     </controller>
  101.     <controller type='pci' index='7' model='pcie-root-port'>
  102.       <model name='ioh3420'/>
  103.       <target chassis='7' port='0x14'/>
  104.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
  105.     </controller>
  106.     <controller type='pci' index='8' model='pcie-root-port'>
  107.       <model name='ioh3420'/>
  108.       <target chassis='8' port='0x15'/>
  109.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
  110.     </controller>
  111.     <controller type='pci' index='9' model='pcie-root-port'>
  112.       <model name='ioh3420'/>
  113.       <target chassis='9' port='0x16'/>
  114.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
  115.     </controller>
  116.     <controller type='pci' index='10' model='pcie-root-port'>
  117.       <model name='ioh3420'/>
  118.       <target chassis='10' port='0x17'/>
  119.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
  120.     </controller>
  121.     <controller type='pci' index='11' model='pcie-root-port'>
  122.       <model name='ioh3420'/>
  123.       <target chassis='11' port='0x18'/>
  124.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  125.     </controller>
  126.     <controller type='virtio-serial' index='0'>
  127.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  128.     </controller>
  129.     <controller type='scsi' index='0' model='virtio-scsi'>
  130.       <address type='pci' domain='0x0000' bus='0x0a' slot='0x00' function='0x0'/>
  131.     </controller>
  132.     <controller type='sata' index='0'>
  133.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  134.     </controller>
  135.     <controller type='sata' index='1'>
  136.       <address type='pci' domain='0x0000' bus='0x03' slot='0x02' function='0x0'/>
  137.     </controller>
  138.     <interface type='bridge'>
  139.       <mac address='52:54:00:c3:6f:b5'/>
  140.       <source bridge='br0'/>
  141.       <model type='virtio'/>
  142.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  143.     </interface>
  144.     <serial type='pty'>
  145.       <target port='0'/>
  146.     </serial>
  147.     <console type='pty'>
  148.       <target type='serial' port='0'/>
  149.     </console>
  150.     <channel type='unix'>
  151.       <target type='virtio' name='org.qemu.guest_agent.0'/>
  152.       <address type='virtio-serial' controller='0' bus='0' port='1'/>
  153.     </channel>
  154.     <channel type='spicevmc'>
  155.       <target type='virtio' name='com.redhat.spice.0'/>
  156.       <address type='virtio-serial' controller='0' bus='0' port='2'/>
  157.     </channel>
  158.     <input type='tablet' bus='usb'>
  159.       <address type='usb' bus='0' port='4'/>
  160.     </input>
  161.     <input type='mouse' bus='ps2'/>
  162.     <input type='keyboard' bus='ps2'/>
  163.     <graphics type='spice' autoport='yes'>
  164.       <listen type='address'/>
  165.       <gl enable='no'/>
  166.     </graphics>
  167.     <sound model='ich6'>
  168.       <address type='pci' domain='0x0000' bus='0x03' slot='0x01' function='0x0'/>
  169.     </sound>
  170.     <video>
  171.       <model type='virtio' heads='1' primary='yes'/>
  172.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
  173.     </video>
  174.     <hostdev mode='subsystem' type='usb' managed='yes'>
  175.       <source>
  176.         <vendor id='0x04d9'/>
  177.         <product id='0x1702'/>
  178.       </source>
  179.       <address type='usb' bus='0' port='1'/>
  180.     </hostdev>
  181.     <hostdev mode='subsystem' type='usb' managed='yes'>
  182.       <source>
  183.         <vendor id='0x062a'/>
  184.         <product id='0x4102'/>
  185.       </source>
  186.       <address type='usb' bus='0' port='2'/>
  187.     </hostdev>
  188.     <hostdev mode='subsystem' type='usb' managed='yes'>
  189.       <source>
  190.         <vendor id='0x0a12'/>
  191.         <product id='0x0001'/>
  192.       </source>
  193.       <address type='usb' bus='0' port='3'/>
  194.     </hostdev>
  195.     <hostdev mode='subsystem' type='pci' managed='yes'>
  196.       <source>
  197.         <address domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  198.       </source>
  199.       <address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0' multifunction='on'/>
  200.     </hostdev>
  201.     <hostdev mode='subsystem' type='pci' managed='yes'>
  202.       <source>
  203.         <address domain='0x0000' bus='0x05' slot='0x00' function='0x1'/>
  204.       </source>
  205.       <address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x1' multifunction='on'/>
  206.     </hostdev>
  207.     <memballoon model='virtio'>
  208.       <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  209.     </memballoon>
  210.     <rng model='virtio'>
  211.       <backend model='random'>/dev/urandom</backend>
  212.       <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
  213.     </rng>
  214.   </devices>
  215.   <qemu:commandline>
  216.     <qemu:arg value='-cpu'/>
  217.     <qemu:arg value='host,hv_time,kvm=off,hv_vendor_id=Nvidia43FIX'/>
  218.   </qemu:commandline>
  219. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement