Advertisement
Guest User

VM XML

a guest
Nov 19th, 2015
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.53 KB | None | 0 0
  1. <domain type='kvm' id='4'>
  2.   <name>debian8</name>
  3.   <uuid>e512f81d-427b-4b70-b189-fa3f9cd2f33c</uuid>
  4.   <memory unit='KiB'>1048576</memory>
  5.   <currentMemory unit='KiB'>1048576</currentMemory>
  6.   <vcpu placement='static'>1</vcpu>
  7.   <resource>
  8.     <partition>/machine</partition>
  9.   </resource>
  10.   <os>
  11.     <type arch='x86_64' machine='pc-i440fx-2.1'>hvm</type>
  12.     <kernel>/var/lib/libvirt/boot/virtinst-linux.kCCyfc</kernel>
  13.     <initrd>/var/lib/libvirt/boot/virtinst-initrd.gz.7uJhk6</initrd>
  14.     <cmdline>method=http://ftp.nl.debian.org/debian/dists/jessie/main/installer-amd64/ console=ttyS0,115200n8 serial</cmdline>
  15.     <boot dev='hd'/>
  16.   </os>
  17.   <features>
  18.     <acpi/>
  19.     <apic/>
  20.     <pae/>
  21.   </features>
  22.   <cpu mode='custom' match='exact'>
  23.     <model fallback='allow'>SandyBridge</model>
  24.   </cpu>
  25.   <clock offset='utc'>
  26.     <timer name='rtc' tickpolicy='catchup'/>
  27.     <timer name='pit' tickpolicy='delay'/>
  28.     <timer name='hpet' present='no'/>
  29.   </clock>
  30.   <on_poweroff>destroy</on_poweroff>
  31.   <on_reboot>destroy</on_reboot>
  32.   <on_crash>destroy</on_crash>
  33.   <devices>
  34.     <emulator>/usr/bin/kvm</emulator>
  35.     <disk type='file' device='disk'>
  36.       <driver name='qemu' type='raw'/>
  37.       <source file='/var/lib/libvirt/images/debian8.qcow2'/>
  38.       <backingStore/>
  39.       <target dev='hda' bus='ide'/>
  40.       <alias name='ide0-0-0'/>
  41.       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  42.     </disk>
  43.     <controller type='usb' index='0' model='ich9-ehci1'>
  44.       <alias name='usb0'/>
  45.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x7'/>
  46.     </controller>
  47.     <controller type='usb' index='0' model='ich9-uhci1'>
  48.       <alias name='usb0'/>
  49.       <master startport='0'/>
  50.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
  51.     </controller>
  52.     <controller type='usb' index='0' model='ich9-uhci2'>
  53.       <alias name='usb0'/>
  54.       <master startport='2'/>
  55.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
  56.     </controller>
  57.     <controller type='usb' index='0' model='ich9-uhci3'>
  58.       <alias name='usb0'/>
  59.       <master startport='4'/>
  60.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
  61.     </controller>
  62.     <controller type='pci' index='0' model='pci-root'>
  63.       <alias name='pci.0'/>
  64.     </controller>
  65.     <controller type='ide' index='0'>
  66.       <alias name='ide0'/>
  67.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  68.     </controller>
  69.     <interface type='bridge'>
  70.       <mac address='52:54:00:27:ed:36'/>
  71.       <source bridge='extbr'/>
  72.       <target dev='vnet0'/>
  73.       <model type='rtl8139'/>
  74.       <alias name='net0'/>
  75.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  76.     </interface>
  77.     <serial type='pty'>
  78.       <source path='/dev/pts/2'/>
  79.       <target type='isa-serial' port='0'/>
  80.       <alias name='serial0'/>
  81.     </serial>
  82.     <console type='pty' tty='/dev/pts/2'>
  83.       <source path='/dev/pts/2'/>
  84.       <target type='serial' port='0'/>
  85.       <alias name='serial0'/>
  86.     </console>
  87.     <memballoon model='virtio'>
  88.       <alias name='balloon0'/>
  89.       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  90.     </memballoon>
  91.   </devices>
  92.   <seclabel type='dynamic' model='apparmor' relabel='yes'>
  93.     <label>libvirt-e512f81d-427b-4b70-b189-fa3f9cd2f33c</label>
  94.     <imagelabel>libvirt-e512f81d-427b-4b70-b189-fa3f9cd2f33c</imagelabel>
  95.   </seclabel>
  96. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement