Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 28th, 2011  |  syntax: XML  |  size: 1.98 KB  |  views: 62  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <domain type='kvm'>
  2.   <name>SRVDC01</name>
  3.   <uuid>64cb4b34-55d9-1016-a984-a3ef4bf8a210</uuid>
  4.   <memory>2097152</memory>
  5.   <currentMemory>2097152</currentMemory>
  6.   <vcpu>1</vcpu>
  7.   <os>
  8.     <type arch='i686' machine='rhel5.4.0'>hvm</type>
  9.     <boot dev='hd'/>
  10.   </os>
  11.   <features>
  12.     <acpi/>
  13.     <apic/>
  14.     <pae/>
  15.   </features>
  16.   <clock offset='localtime'>
  17.     <timer name='pit' tickpolicy='delay'/>
  18.   </clock>
  19.   <on_poweroff>destroy</on_poweroff>
  20.   <on_reboot>restart</on_reboot>
  21.   <on_crash>restart</on_crash>
  22.   <devices>
  23.     <emulator>/usr/libexec/qemu-kvm</emulator>
  24.     <disk type='file' device='cdrom'>
  25.       <driver name='qemu' type='raw'/>
  26.       <source file='/var/lib/libvirt/images/vio-win.iso'/>
  27.       <target dev='hdc' bus='ide'/>
  28.       <readonly/>
  29.       <address type='drive' controller='0' bus='1' unit='0'/>
  30.     </disk>
  31.     <disk type='block' device='disk'>
  32.       <driver name='qemu' type='raw' cache='none'/>
  33.       <source dev='/dev/datastore/SRVDC01'/>
  34.       <target dev='vda' bus='virtio'/>
  35.       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  36.     </disk>
  37.     <controller type='ide' index='0'>
  38.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  39.     </controller>
  40.     <controller type='fdc' index='0'/>
  41.     <interface type='bridge'>
  42.       <mac address='52:54:00:0a:c7:08'/>
  43.       <source bridge='vswitch0'/>
  44.       <model type='virtio'/>
  45.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  46.     </interface>
  47.     <serial type='pty'>
  48.       <target port='0'/>
  49.     </serial>
  50.     <console type='pty'>
  51.       <target port='0'/>
  52.     </console>
  53.     <input type='tablet' bus='usb'/>
  54.     <input type='mouse' bus='ps2'/>
  55.     <graphics type='vnc' port='-1' autoport='yes' keymap='it'/>
  56.     <video>
  57.       <model type='cirrus' vram='9216' heads='1'/>
  58.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  59.     </video>
  60.   </devices>
  61. </domain>
clone this paste RAW Paste Data