Advertisement
Guest User

Untitled

a guest
Jan 8th, 2016
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.74 KB | None | 0 0
  1. <domain type='kvm'>
  2.   <name>Windows10</name>
  3.   <uuid>689bd708-b702-4f74-cb5d-21fa404e2617</uuid>
  4.   <description>Gaming Rig</description>
  5.   <metadata>
  6.     <vmtemplate name="Custom" icon="windows.png" os="windows"/>
  7.   </metadata>
  8.   <memory unit='KiB'>7340032</memory>
  9.   <currentMemory unit='KiB'>7340032</currentMemory>
  10.   <memoryBacking>
  11.     <nosharepages/>
  12.     <locked/>
  13.   </memoryBacking>
  14.   <vcpu placement='static'>1</vcpu>
  15.   <cputune>
  16.     <vcpupin vcpu='0' cpuset='0'/>
  17.   </cputune>
  18.   <os>
  19.     <type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type>
  20.   </os>
  21.   <features>
  22.     <acpi/>
  23.     <apic/>
  24.     <hyperv>
  25.       <relaxed state='on'/>
  26.       <vapic state='on'/>
  27.       <spinlocks state='on' retries='8191'/>
  28.     </hyperv>
  29.   </features>
  30.   <cpu mode='host-passthrough'>
  31.     <topology sockets='1' cores='1' threads='1'/>
  32.   </cpu>
  33.   <clock offset='localtime'>
  34.     <timer name='hypervclock' present='yes'/>
  35.     <timer name='hpet' present='no'/>
  36.   </clock>
  37.   <on_poweroff>destroy</on_poweroff>
  38.   <on_reboot>restart</on_reboot>
  39.   <on_crash>restart</on_crash>
  40.   <devices>
  41.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  42.     <disk type='file' device='disk'>
  43.       <driver name='qemu' type='raw' cache='writeback'/>
  44.       <source file='/mnt/cache/domains/win10/vdisk.img'/>
  45.       <target dev='hdc' bus='virtio'/>
  46.       <boot order='1'/>
  47.       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  48.     </disk>
  49.     <disk type='file' device='cdrom'>
  50.       <driver name='qemu' type='raw'/>
  51.       <source file='/mnt/user/isos/Windows10-64bit-en.iso'/>
  52.       <target dev='hda' bus='ide'/>
  53.       <readonly/>
  54.       <boot order='2'/>
  55.       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  56.     </disk>
  57.     <disk type='file' device='cdrom'>
  58.       <driver name='qemu' type='raw'/>
  59.       <source file='/mnt/user/isos/virtio-win-0.1.112.iso'/>
  60.       <target dev='hdb' bus='ide'/>
  61.       <readonly/>
  62.       <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  63.     </disk>
  64.     <controller type='usb' index='0'>
  65.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  66.     </controller>
  67.     <controller type='pci' index='0' model='pci-root'/>
  68.     <controller type='ide' index='0'>
  69.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  70.     </controller>
  71.     <controller type='virtio-serial' index='0'>
  72.       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  73.     </controller>
  74.     <interface type='bridge'>
  75.       <mac address='52:54:00:82:65:41'/>
  76.       <source bridge='virbr0'/>
  77.       <model type='virtio'/>
  78.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  79.     </interface>
  80.     <serial type='pty'>
  81.       <target port='0'/>
  82.     </serial>
  83.     <console type='pty'>
  84.       <target type='serial' port='0'/>
  85.     </console>
  86.     <channel type='unix'>
  87.       <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/Windows10.org.qemu.guest_agent.0'/>
  88.       <target type='virtio' name='org.qemu.guest_agent.0'/>
  89.       <address type='virtio-serial' controller='0' bus='0' port='1'/>
  90.     </channel>
  91.     <input type='tablet' bus='usb'/>
  92.     <input type='mouse' bus='ps2'/>
  93.     <input type='keyboard' bus='ps2'/>
  94.     <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'>
  95.       <listen type='address' address='0.0.0.0'/>
  96.     </graphics>
  97.     <video>
  98.       <model type='vmvga' vram='16384' heads='1'/>
  99.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  100.     </video>
  101.     <memballoon model='virtio'>
  102.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  103.     </memballoon>
  104.   </devices>
  105. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement