NeverLoved

Working

Oct 6th, 2014
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.17 KB | None | 0 0
  1. <domain type='kvm' id='2'>
  2.   <name>qwerty_nosound</name>
  3.   <uuid>d616d9cd-aa9d-564a-7999-704787e5ea6c</uuid>
  4.   <memory unit='KiB'>4194304</memory>
  5.   <currentMemory unit='KiB'>4194304</currentMemory>
  6.   <vcpu placement='static'>8</vcpu>
  7.   <resource>
  8.     <partition>/machine</partition>
  9.   </resource>
  10.   <os>
  11.     <type arch='x86_64' machine='pc-i440fx-2.0'>hvm</type>
  12.     <boot dev='hd'/>
  13.     <bootmenu enable='no'/>
  14.   </os>
  15.   <features>
  16.     <acpi/>
  17.     <apic/>
  18.     <pae/>
  19.   </features>
  20.   <cpu mode='host-passthrough'>
  21.     <topology sockets='1' cores='8' threads='1'/>
  22.   </cpu>
  23.   <clock offset='localtime'/>
  24.   <on_poweroff>destroy</on_poweroff>
  25.   <on_reboot>restart</on_reboot>
  26.   <on_crash>restart</on_crash>
  27.   <devices>
  28.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  29.     <disk type='file' device='disk'>
  30.       <driver name='qemu' type='qcow2' cache='none' io='native'/>
  31.       <source file='/home/neverloved/work/qemu_windows/windows.img'/>
  32.       <backingStore/>
  33.       <target dev='vda' bus='virtio'/>
  34.       <shareable/>
  35.       <alias name='virtio-disk0'/>
  36.       <address type='pci' domain='0x0000' bus='0x00' slot='0x0e' function='0x0'/>
  37.     </disk>
  38.     <disk type='file' device='disk'>
  39.       <driver name='qemu' type='qcow2' cache='none' io='native'/>
  40.       <source file='/home/neverloved/work/qemu_windows/windows_games.img'/>
  41.       <backingStore/>
  42.       <target dev='vdb' bus='virtio'/>
  43.       <alias name='virtio-disk1'/>
  44.       <address type='pci' domain='0x0000' bus='0x00' slot='0x0d' function='0x0'/>
  45.     </disk>
  46.     <controller type='usb' index='0'>
  47.       <alias name='usb0'/>
  48.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  49.     </controller>
  50.     <controller type='pci' index='0' model='pci-root'>
  51.       <alias name='pci.0'/>
  52.     </controller>
  53.     <controller type='ide' index='0'>
  54.       <alias name='ide0'/>
  55.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  56.     </controller>
  57.     <controller type='virtio-serial' index='0'>
  58.       <alias name='virtio-serial0'/>
  59.       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  60.     </controller>
  61.     <controller type='sata' index='0'>
  62.       <alias name='sata0'/>
  63.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  64.     </controller>
  65.     <filesystem type='mount' accessmode='mapped'>
  66.       <source dir='/home/neverloved'/>
  67.       <target dir='share'/>
  68.       <alias name='fs0'/>
  69.       <address type='pci' domain='0x0000' bus='0x00' slot='0x0c' function='0x0'/>
  70.     </filesystem>
  71.     <interface type='bridge'>
  72.       <mac address='52:54:00:34:a4:74'/>
  73.       <source bridge='br0'/>
  74.       <target dev='vnet0'/>
  75.       <model type='virtio'/>
  76.       <alias name='net0'/>
  77.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  78.     </interface>
  79.     <serial type='pty'>
  80.       <source path='/dev/pts/3'/>
  81.       <target port='0'/>
  82.       <alias name='serial0'/>
  83.     </serial>
  84.     <console type='pty' tty='/dev/pts/3'>
  85.       <source path='/dev/pts/3'/>
  86.       <target type='serial' port='0'/>
  87.       <alias name='serial0'/>
  88.     </console>
  89.     <input type='mouse' bus='ps2'/>
  90.     <input type='keyboard' bus='ps2'/>
  91.     <graphics type='vnc' port='5900' autoport='yes' listen='127.0.0.1'>
  92.       <listen type='address' address='127.0.0.1'/>
  93.     </graphics>
  94.     <sound model='ich6'>
  95.       <alias name='sound0'/>
  96.       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  97.     </sound>
  98.     <video>
  99.       <model type='qxl' ram='65536' vram='65536' heads='1'/>
  100.       <alias name='video0'/>
  101.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  102.     </video>
  103.     <hostdev mode='subsystem' type='pci' managed='yes'>
  104.       <driver name='vfio'/>
  105.       <source>
  106.         <address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
  107.       </source>
  108.       <alias name='hostdev0'/>
  109.       <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
  110.     </hostdev>
  111.     <hostdev mode='subsystem' type='pci' managed='yes'>
  112.       <driver name='vfio'/>
  113.       <source>
  114.         <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  115.       </source>
  116.       <alias name='hostdev1'/>
  117.       <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
  118.     </hostdev>
  119.     <hostdev mode='subsystem' type='pci' managed='yes'>
  120.       <driver name='vfio'/>
  121.       <source>
  122.         <address domain='0x0000' bus='0x00' slot='0x12' function='0x0'/>
  123.       </source>
  124.       <alias name='hostdev2'/>
  125.       <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
  126.     </hostdev>
  127.     <hostdev mode='subsystem' type='pci' managed='yes'>
  128.       <driver name='vfio'/>
  129.       <source>
  130.         <address domain='0x0000' bus='0x00' slot='0x12' function='0x2'/>
  131.       </source>
  132.       <alias name='hostdev3'/>
  133.       <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
  134.     </hostdev>
  135.     <memballoon model='virtio'>
  136.       <alias name='balloon0'/>
  137.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  138.     </memballoon>
  139.   </devices>
  140.   <seclabel type='none'/>
  141. </domain>
Advertisement
Add Comment
Please, Sign In to add comment