Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.41 KB | None | 0 0
  1. <domain type='kvm' id='1'>
  2.   <name>testxp3</name>
  3.   <uuid>b611ac52-b8bd-6b1e-9961-a67b0f8908ab</uuid>
  4.   <memory>2097152</memory>
  5.   <currentMemory>2097152</currentMemory>
  6.   <vcpu>3</vcpu>
  7.   <os>
  8.     <type arch='x86_64' 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.   <on_poweroff>destroy</on_poweroff>
  18.   <on_reboot>restart</on_reboot>
  19.   <on_crash>restart</on_crash>
  20.   <devices>
  21.     <emulator>/usr/libexec/qemu-kvm</emulator>
  22.     <disk type='block' device='disk'>
  23.       <driver name='qemu' type='raw'/>
  24.       <source dev='/dev/vg00/test'/>
  25.       <target dev='hda' bus='ide'/>
  26.     </disk>
  27.     <disk type='file' device='cdrom'>
  28.       <driver name='qemu' type='raw'/>
  29.       <source file='/var/lib/libvirt/images/winxp.iso'/>
  30.       <target dev='hdc' bus='ide'/>
  31.       <readonly/>
  32.     </disk>
  33.     <interface type='network'>
  34.       <mac address='52:54:00:3d:ca:f8'/>
  35.       <source network='test'/>
  36.     </interface>
  37.     <serial type='pty'>
  38.       <source path='/dev/pts/2'/>
  39.       <target port='0'/>
  40.     </serial>
  41.     <console type='pty' tty='/dev/pts/2'>
  42.       <source path='/dev/pts/2'/>
  43.       <target port='0'/>
  44.     </console>
  45.  
  46.     <input type='tablet' bus='usb'/>
  47.     <input type='mouse' bus='ps2'/>
  48.     <graphics type='vnc' port='5900' autoport='yes' keymap='en-us'/>
  49.   </devices>
  50. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement