Advertisement
Guest User

Untitled

a guest
Feb 24th, 2020
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.42 KB | None | 0 0
  1. <domain type='kvm' id='4'>
  2.  
  3. <name>XXXXXX</name>
  4.  
  5. <uuid>a887b414-0b7f-41f8-b38a-e1da4812c48f</uuid>
  6.  
  7. <memory unit='KiB'>8388608</memory>
  8.  
  9. <currentMemory unit='KiB'>8388608</currentMemory>
  10.  
  11. <vcpu placement='static'>8</vcpu>
  12.  
  13. <resource>
  14.  
  15. <partition>/machine</partition>
  16.  
  17. </resource>
  18.  
  19. <os>
  20.  
  21. <type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type>
  22.  
  23. <boot dev='hd'/>
  24.  
  25. </os>
  26.  
  27. <features>
  28.  
  29. <acpi/>
  30.  
  31. <apic/>
  32.  
  33. <hyperv>
  34.  
  35. <relaxed state='on'/>
  36.  
  37. <vapic state='on'/>
  38.  
  39. <spinlocks state='on' retries='8191'/>
  40.  
  41. </hyperv>
  42.  
  43. </features>
  44.  
  45. <cpu mode='custom' match='exact' check='full'>
  46.  
  47. <model fallback='forbid'>Broadwell</model>
  48.  
  49. <topology sockets='2' cores='4' threads='1'/>
  50.  
  51. <feature policy='require' name='hypervisor'/>
  52.  
  53. <feature policy='require' name='xsaveopt'/>
  54.  
  55. </cpu>
  56.  
  57. <clock offset='localtime'>
  58.  
  59. <timer name='rtc' tickpolicy='catchup'/>
  60.  
  61. <timer name='pit' tickpolicy='delay'/>
  62.  
  63. <timer name='hpet' present='no'/>
  64.  
  65. <timer name='hypervclock' present='yes'/>
  66.  
  67. </clock>
  68.  
  69. <on_poweroff>destroy</on_poweroff>
  70.  
  71. <on_reboot>restart</on_reboot>
  72.  
  73. <on_crash>destroy</on_crash>
  74.  
  75. <pm>
  76.  
  77. <suspend-to-mem enabled='no'/>
  78.  
  79. <suspend-to-disk enabled='no'/>
  80.  
  81. </pm>
  82.  
  83. <devices>
  84.  
  85. <emulator>/usr/libexec/qemu-kvm</emulator>
  86.  
  87. <disk type='file' device='disk'>
  88.  
  89. <driver name='qemu' type='qcow2'/>
  90.  
  91. <source file='/XXXXXXXX/VMS2.qcow2'/>
  92.  
  93. <backingStore/>
  94.  
  95. <target dev='hda' bus='ide'/>
  96.  
  97. <alias name='ide0-0-0'/>
  98.  
  99. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  100.  
  101. </disk>
  102.  
  103. <controller type='usb' index='0' model='nec-xhci' ports='15'>
  104.  
  105. <alias name='usb'/>
  106.  
  107. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  108.  
  109. </controller>
  110.  
  111. <controller type='pci' index='0' model='pci-root'>
  112.  
  113. <alias name='pci.0'/>
  114.  
  115. </controller>
  116.  
  117. <controller type='ide' index='0'>
  118.  
  119. <alias name='ide'/>
  120.  
  121. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  122.  
  123. </controller>
  124.  
  125. <controller type='virtio-serial' index='0'>
  126.  
  127. <alias name='virtio-serial0'/>
  128.  
  129. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  130.  
  131. </controller>
  132.  
  133. <interface type='bridge'>
  134.  
  135. <mac address='52:54:00:39:24:92'/>
  136.  
  137. <source network='XXXXXXXX' portgroup='XXXXXX' bridge='XXXXXXX'/>
  138.  
  139. <vlan>
  140.  
  141. <tag id='XXX'/>
  142.  
  143. </vlan>
  144.  
  145. <virtualport type='openvswitch'>
  146.  
  147. <parameters interfaceid='4b6cffa7-54a8-487d-b2d0-8a242157b87d'/>
  148.  
  149. </virtualport>
  150.  
  151. <target dev='vnet2'/>
  152.  
  153. <model type='rtl8139'/>
  154.  
  155. <alias name='net0'/>
  156.  
  157. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  158.  
  159. </interface>
  160.  
  161. <serial type='pty'>
  162.  
  163. <source path='/dev/pts/2'/>
  164.  
  165. <target port='0'/>
  166.  
  167. <alias name='serial0'/>
  168.  
  169. </serial>
  170.  
  171. <console type='pty' tty='/dev/pts/2'>
  172.  
  173. <source path='/dev/pts/2'/>
  174.  
  175. <target type='serial' port='0'/>
  176.  
  177. <alias name='serial0'/>
  178.  
  179. </console>
  180.  
  181. <channel type='spicevmc'>
  182.  
  183. <target type='virtio' name='com.redhat.spice.0' state='disconnected'/>
  184.  
  185. <alias name='channel0'/>
  186.  
  187. <address type='virtio-serial' controller='0' bus='0' port='1'/>
  188.  
  189. </channel>
  190.  
  191. <input type='tablet' bus='usb'>
  192.  
  193. <alias name='input0'/>
  194.  
  195. <address type='usb' bus='0' port='1'/>
  196.  
  197. </input>
  198.  
  199. <input type='mouse' bus='ps2'>
  200.  
  201. <alias name='input1'/>
  202.  
  203. </input>
  204.  
  205. <input type='keyboard' bus='ps2'>
  206.  
  207. <alias name='input2'/>
  208.  
  209. </input>
  210.  
  211. <graphics type='vnc' port='5902' autoport='no' listen='0.0.0.0' keymap='en-us'>
  212.  
  213. <listen type='address' address='0.0.0.0'/>
  214.  
  215. </graphics>
  216.  
  217. <video>
  218.  
  219. <model type='cirrus' vram='16384' heads='1' primary='yes'/>
  220.  
  221. <alias name='video0'/>
  222.  
  223. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  224.  
  225. </video>
  226.  
  227. <hostdev mode='subsystem' type='pci' managed='yes'>
  228.  
  229. <driver name='vfio'/>
  230.  
  231. <source>
  232.  
  233. <address domain='0x0000' bus='0x82' slot='0x00' function='0x0'/>
  234.  
  235. </source>
  236.  
  237. <alias name='hostdev0'/>
  238.  
  239. <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
  240.  
  241. </hostdev>
  242.  
  243. <hostdev mode='subsystem' type='pci' managed='yes'>
  244.  
  245. <driver name='vfio'/>
  246.  
  247. <source>
  248.  
  249. <address domain='0x0000' bus='0x82' slot='0x00' function='0x1'/>
  250.  
  251. </source>
  252.  
  253. <alias name='hostdev1'/>
  254.  
  255. <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
  256.  
  257. </hostdev>
  258.  
  259. <hostdev mode='subsystem' type='pci' managed='yes'>
  260.  
  261. <driver name='vfio'/>
  262.  
  263. <source>
  264.  
  265. <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  266.  
  267. </source>
  268.  
  269. <alias name='hostdev2'/>
  270.  
  271. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  272.  
  273. </hostdev>
  274.  
  275. <hostdev mode='subsystem' type='usb' managed='yes'>
  276.  
  277. <source>
  278.  
  279. <vendor id='0x8087'/>
  280.  
  281. <product id='0x8002'/>
  282.  
  283. <address bus='2' device='2'/>
  284.  
  285. </source>
  286.  
  287. <alias name='hostdev3'/>
  288.  
  289. <address type='usb' bus='0' port='5'/>
  290.  
  291. </hostdev>
  292.  
  293. <hostdev mode='subsystem' type='usb' managed='yes'>
  294.  
  295. <source>
  296.  
  297. <vendor id='0x8087'/>
  298.  
  299. <product id='0x800a'/>
  300.  
  301. <address bus='1' device='2'/>
  302.  
  303. </source>
  304.  
  305. <alias name='hostdev4'/>
  306.  
  307. <address type='usb' bus='0' port='6'/>
  308.  
  309. </hostdev>
  310.  
  311. <hostdev mode='subsystem' type='usb' managed='yes'>
  312.  
  313. <source>
  314.  
  315. <vendor id='0x0624'/>
  316.  
  317. <product id='0x0410'/>
  318.  
  319. <address bus='3' device='5'/>
  320.  
  321. </source>
  322.  
  323. <alias name='hostdev5'/>
  324.  
  325. <address type='usb' bus='0' port='7'/>
  326.  
  327. </hostdev>
  328.  
  329. <hostdev mode='subsystem' type='usb' managed='yes'>
  330.  
  331. <source>
  332.  
  333. <vendor id='0x0557'/>
  334.  
  335. <product id='0x2419'/>
  336.  
  337. <address bus='3' device='7'/>
  338.  
  339. </source>
  340.  
  341. <alias name='hostdev6'/>
  342.  
  343. <address type='usb' bus='0' port='8'/>
  344.  
  345. </hostdev>
  346.  
  347. <hostdev mode='subsystem' type='usb' managed='yes'>
  348.  
  349. <source>
  350.  
  351. <vendor id='0x0d3d'/>
  352.  
  353. <product id='0x0040'/>
  354.  
  355. <address bus='3' device='2'/>
  356.  
  357. </source>
  358.  
  359. <alias name='hostdev7'/>
  360.  
  361. <address type='usb' bus='0' port='9'/>
  362.  
  363. </hostdev>
  364.  
  365. <redirdev bus='usb' type='spicevmc'>
  366.  
  367. <alias name='redir0'/>
  368.  
  369. <address type='usb' bus='0' port='2'/>
  370.  
  371. </redirdev>
  372.  
  373. <redirdev bus='usb' type='spicevmc'>
  374.  
  375. <alias name='redir1'/>
  376.  
  377. <address type='usb' bus='0' port='3'/>
  378.  
  379. </redirdev>
  380.  
  381. <memballoon model='virtio'>
  382.  
  383. <alias name='balloon0'/>
  384.  
  385. <address type='pci' domain='0x0000' bus='0x00' slot='0x10' function='0x0'/>
  386.  
  387. </memballoon>
  388.  
  389. </devices>
  390.  
  391. <seclabel type='dynamic' model='selinux' relabel='yes'>
  392.  
  393. <label>system_u:system_r:svirt_t:s0:c524,c748</label>
  394.  
  395. <imagelabel>system_u:object_r:svirt_image_t:s0:c524,c748</imagelabel>
  396.  
  397. </seclabel>
  398.  
  399. <seclabel type='dynamic' model='dac' relabel='yes'>
  400.  
  401. <label>+107:+107</label>
  402.  
  403. <imagelabel>+107:+107</imagelabel>
  404.  
  405. </seclabel>
  406.  
  407. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement