Guest User

kvm

a guest
Apr 26th, 2016
258
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>WinServ</name>
  3.   <uuid>dc953232-6ca2-4f1d-a177-c9e49fed1d13</uuid>
  4.   <memory unit='KiB'>1048576</memory>
  5.   <currentMemory unit='KiB'>1048576</currentMemory>
  6.   <vcpu placement='static'>1</vcpu>
  7.   <os>
  8.     <type arch='x86_64' machine='pc-i440fx-2.4'>hvm</type>
  9.     <boot dev='hd'/>
  10.   </os>
  11.   <features>
  12.     <acpi/>
  13.     <apic/>
  14.     <hyperv>
  15.       <relaxed state='on'/>
  16.       <vapic state='on'/>
  17.       <spinlocks state='on' retries='8191'/>
  18.     </hyperv>
  19.   </features>
  20.   <cpu mode='custom' match='exact'>
  21.     <model fallback='allow'>Opteron_G2</model>
  22.   </cpu>
  23.   <clock offset='localtime'>
  24.     <timer name='rtc' tickpolicy='catchup'/>
  25.     <timer name='pit' tickpolicy='delay'/>
  26.     <timer name='hpet' present='no'/>
  27.     <timer name='hypervclock' present='yes'/>
  28.   </clock>
  29.   <on_poweroff>destroy</on_poweroff>
  30.   <on_reboot>restart</on_reboot>
  31.   <on_crash>restart</on_crash>
  32.   <pm>
  33.     <suspend-to-mem enabled='no'/>
  34.     <suspend-to-disk enabled='no'/>
  35.   </pm>
  36.   <devices>
  37.     <emulator>/usr/bin/qemu-kvm</emulator>
  38.     <disk type='file' device='disk'>
  39.       <driver name='qemu' type='qcow2' cache='none'/>
  40.       <source file='/virt/WinServ.qcow2'/>
  41.       <target dev='vda' bus='virtio'/>
  42.       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  43.     </disk>
  44.     <disk type='file' device='cdrom'>
  45.       <driver name='qemu' type='raw'/>
  46.       <source file='/usr/share/virtio-win/virtio-win.iso'/>
  47.       <target dev='hda' bus='ide'/>
  48.       <readonly/>
  49.       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  50.     </disk>
  51.     <disk type='file' device='cdrom'>
  52.       <driver name='qemu' type='raw'/>
  53.       <source file='/virt/iso/winserv.iso'/>
  54.       <target dev='hdb' bus='ide'/>
  55.       <readonly/>
  56.       <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  57.     </disk>
  58.     <controller type='usb' index='0' model='ich9-ehci1'>
  59.       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x7'/>
  60.     </controller>
  61.     <controller type='usb' index='0' model='ich9-uhci1'>
  62.       <master startport='0'/>
  63.       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
  64.     </controller>
  65.     <controller type='usb' index='0' model='ich9-uhci2'>
  66.       <master startport='2'/>
  67.       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
  68.     </controller>
  69.     <controller type='usb' index='0' model='ich9-uhci3'>
  70.       <master startport='4'/>
  71.       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x2'/>
  72.     </controller>
  73.     <controller type='pci' index='0' model='pci-root'/>
  74.     <controller type='ide' index='0'>
  75.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  76.     </controller>
  77.     <interface type='bridge'>
  78.       <mac address='52:54:00:5a:80:ab'/>
  79.       <source bridge='br0'/>
  80.       <model type='e1000'/>
  81.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  82.     </interface>
  83.     <serial type='pty'>
  84.       <target port='0'/>
  85.     </serial>
  86.     <console type='pty'>
  87.       <target type='serial' port='0'/>
  88.     </console>
  89.     <input type='tablet' bus='usb'/>
  90.     <input type='mouse' bus='ps2'/>
  91.     <input type='keyboard' bus='ps2'/>
  92.     <graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' keymap='ru' passwd='!@#ZAQZAQ'>
  93.       <listen type='address' address='0.0.0.0'/>
  94.     </graphics>
  95.     <video>
  96.       <model type='vga' vram='16384' heads='1'/>
  97.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  98.     </video>
  99.     <memballoon model='virtio'>
  100.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  101.     </memballoon>
  102.   </devices>
  103. </domain>
Add Comment
Please, Sign In to add comment