Advertisement
Guest User

not working KVM config

a guest
Jan 9th, 2011
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.66 KB | None | 0 0
  1. <domain type='kvm' id='1'>
  2.   <name>vm1</name>
  3.   <uuid>b74a1e55-2f71-3090-9872-96dacd1d4dc6</uuid>
  4.   <memory>1048576</memory>
  5.   <currentMemory>1048576</currentMemory>
  6.   <vcpu>1</vcpu>
  7.   <os>
  8.     <type arch='x86_64' machine='pc-0.12'>hvm</type>
  9.     <boot dev='hd'/>
  10.   </os>
  11.   <features>
  12.     <acpi/>
  13.     <apic/>
  14.     <pae/>
  15.   </features>
  16.   <clock offset='utc'/>
  17.   <on_poweroff>destroy</on_poweroff>
  18.   <on_reboot>restart</on_reboot>
  19.   <on_crash>restart</on_crash>
  20.   <devices>
  21.     <emulator>/usr/bin/kvm</emulator>
  22.     <disk type='block' device='disk'>
  23.       <driver name='qemu' type='raw'/>
  24.       <source dev='/dev/vg/lv_vm1_boot'/>
  25.       <target dev='sda' bus='scsi'/>
  26.       <alias name='scsi0-0-0'/>
  27.       <address type='drive' controller='0' bus='0' unit='0'/>
  28.     </disk>
  29.     <disk type='block' device='disk'>
  30.       <driver name='qemu' type='raw'/>
  31.       <source dev='/dev/vg/lv_vm1_root'/>
  32.       <target dev='sdb' bus='scsi'/>
  33.       <alias name='scsi0-0-1'/>
  34.       <address type='drive' controller='0' bus='0' unit='1'/>
  35.     </disk>
  36.     <disk type='block' device='disk'>
  37.       <driver name='qemu' type='raw'/>
  38.       <source dev='/dev/vg/lv_vm1_swap'/>
  39.       <target dev='sdc' bus='scsi'/>
  40.       <alias name='scsi0-0-2'/>
  41.       <address type='drive' controller='0' bus='0' unit='2'/>
  42.     </disk>
  43.     <disk type='block' device='disk'>
  44.       <driver name='qemu' type='raw'/>
  45.       <source dev='/dev/vg/lv_vm1_data'/>
  46.       <target dev='sdd' bus='scsi'/>
  47.       <alias name='scsi0-0-3'/>
  48.       <address type='drive' controller='0' bus='0' unit='3'/>
  49.     </disk>
  50.     <controller type='scsi' index='0'>
  51.       <alias name='scsi0'/>
  52.       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  53.     </controller>
  54.     <interface type='bridge'>
  55.       <mac address='52:54:00:25:0b:ed'/>
  56.       <source bridge='br34'/>
  57.       <target dev='vnet0'/>
  58.       <alias name='net0'/>
  59.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  60.     </interface>
  61.     <input type='mouse' bus='ps2'/>
  62.     <graphics type='vnc' port='5900' autoport='yes' keymap='de'/>
  63.     <video>
  64.       <model type='cirrus' vram='9216' heads='1'/>
  65.       <alias name='video0'/>
  66.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  67.     </video>
  68.     <memballoon model='virtio'>
  69.       <alias name='balloon0'/>
  70.       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  71.     </memballoon>
  72.   </devices>
  73.   <seclabel type='dynamic' model='apparmor'>
  74.     <label>libvirt-b74a1e55-2f71-3090-9872-96dacd1d4dc6</label>
  75.     <imagelabel>libvirt-b74a1e55-2f71-3090-9872-96dacd1d4dc6</imagelabel>
  76.   </seclabel>
  77. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement