Advertisement
Guest User

Untitled

a guest
Apr 12th, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.52 KB | None | 0 0
  1. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  2.   <name>xubuntu-clone</name>
  3.   <uuid>57dc615f-9c5e-44e7-9728-c9fb01787ba4</uuid>
  4.   <memory unit='KiB'>2097152</memory>
  5.   <currentMemory unit='KiB'>2097152</currentMemory>
  6.   <vcpu placement='static'>2</vcpu>
  7.   <os>
  8.     <type arch='x86_64' machine='pc-i440fx-wily'>hvm</type>
  9.     <loader readonly='yes' type='pflash'>/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
  10.     <nvram>/var/lib/libvirt/qemu/nvram/xubuntu_VARS.fd</nvram>
  11.     <boot dev='hd'/>
  12.     <bootmenu enable='no'/>
  13.   </os>
  14.   <features>
  15.     <acpi/>
  16.     <apic/>
  17.     <vmport state='off'/>
  18.   </features>
  19.   <cpu mode='host-passthrough'/>
  20.   <clock offset='utc'>
  21.     <timer name='rtc' tickpolicy='catchup'/>
  22.     <timer name='pit' tickpolicy='delay'/>
  23.     <timer name='hpet' present='no'/>
  24.   </clock>
  25.   <on_poweroff>destroy</on_poweroff>
  26.   <on_reboot>restart</on_reboot>
  27.   <on_crash>restart</on_crash>
  28.   <pm>
  29.     <suspend-to-mem enabled='no'/>
  30.     <suspend-to-disk enabled='no'/>
  31.   </pm>
  32.   <devices>
  33.     <emulator>/usr/bin/kvm-spice</emulator>
  34.     <disk type='file' device='disk'>
  35.       <driver name='qemu' type='raw'/>
  36.       <source file='/data/libvirt/images/data/xubuntu.img'/>
  37.       <target dev='hda' bus='ide'/>
  38.       <shareable/>
  39.       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  40.     </disk>
  41.     <controller type='usb' index='0' model='ich9-ehci1'>
  42.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x7'/>
  43.     </controller>
  44.     <controller type='usb' index='0' model='ich9-uhci1'>
  45.       <master startport='0'/>
  46.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/>
  47.     </controller>
  48.     <controller type='usb' index='0' model='ich9-uhci2'>
  49.       <master startport='2'/>
  50.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/>
  51.     </controller>
  52.     <controller type='usb' index='0' model='ich9-uhci3'>
  53.       <master startport='4'/>
  54.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x2'/>
  55.     </controller>
  56.     <controller type='pci' index='0' model='pci-root'/>
  57.     <controller type='ide' index='0'>
  58.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  59.     </controller>
  60.     <controller type='virtio-serial' index='0'>
  61.       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  62.     </controller>
  63.     <interface type='network'>
  64.       <mac address='52:54:00:45:33:ac'/>
  65.       <source network='default'/>
  66.       <model type='rtl8139'/>
  67.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  68.     </interface>
  69.     <serial type='pty'>
  70.       <target port='0'/>
  71.     </serial>
  72.     <console type='pty'>
  73.       <target type='serial' port='0'/>
  74.     </console>
  75.     <channel type='spicevmc'>
  76.       <target type='virtio' name='com.redhat.spice.0'/>
  77.       <address type='virtio-serial' controller='0' bus='0' port='1'/>
  78.     </channel>
  79.     <input type='mouse' bus='ps2'/>
  80.     <input type='keyboard' bus='ps2'/>
  81.     <graphics type='spice' autoport='yes'>
  82.       <image compression='off'/>
  83.     </graphics>
  84.     <sound model='ich6'>
  85.       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  86.     </sound>
  87.     <video>
  88.       <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1'/>
  89.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  90.     </video>
  91.     <hostdev mode='subsystem' type='pci' managed='yes'>
  92.       <source>
  93.         <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  94.       </source>
  95.       <rom bar='on' file='Gigabyte.HD7850.1024.121024.rom'/>
  96.       <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
  97.     </hostdev>
  98.     <hostdev mode='subsystem' type='pci' managed='yes'>
  99.       <source>
  100.         <address domain='0x0000' bus='0x04' slot='0x00' function='0x1'/>
  101.       </source>
  102.       <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
  103.     </hostdev>
  104.     <redirdev bus='usb' type='spicevmc'>
  105.     </redirdev>
  106.     <redirdev bus='usb' type='spicevmc'>
  107.     </redirdev>
  108.     <memballoon model='virtio'>
  109.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  110.     </memballoon>
  111.   </devices>
  112.   <qemu:commandline>
  113.     <qemu:arg value='-global'/>
  114.     <qemu:arg value='isa-debugcon.iobase=0x402'/>
  115.     <qemu:arg value='-debugcon'/>
  116.     <qemu:arg value='file:/tmp/xubuntu-clone.log'/>
  117.   </qemu:commandline>
  118. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement