Advertisement
CyanBlob

generic.xml

Sep 19th, 2016
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.00 KB | None | 0 0
  1. <domain type='kvm'>                                                                                                                                        
  2.   <name>generic</name>
  3.   <uuid>e14c24e1-2166-4906-8268-949e0e0aaaf1</uuid>
  4.   <memory unit='KiB'>8388608</memory>
  5.   <currentMemory unit='KiB'>8388608</currentMemory>
  6.   <vcpu placement='static'>3</vcpu>
  7.   <os>
  8.     <type arch='x86_64' machine='pc-i440fx-wily'>hvm</type>
  9.     <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
  10.     <nvram>/var/lib/libvirt/qemu/nvram/generic_VARS.fd</nvram>
  11.     <boot dev='hd'/>
  12.     <bootmenu enable='yes'/>
  13.   </os>
  14.   <features>
  15.     <acpi/>
  16.     <apic/>
  17.     <kvm>
  18.       <hidden state='on'/>
  19.     </kvm>
  20.   </features>
  21.   <cpu mode='custom' match='exact'>
  22.     <model fallback='allow'>Haswell</model>
  23.   </cpu>
  24.   <clock offset='utc'>
  25.     <timer name='rtc' tickpolicy='catchup'/>
  26.     <timer name='pit' tickpolicy='delay'/>
  27.     <timer name='hpet' present='no'/>
  28.   </clock>
  29.   <on_poweroff>destroy</on_poweroff>
  30.   <on_reboot>restart</on_reboot>
  31.   <on_crash>restart</on_crash>
  32.   <pm>
  33.     <suspend-to-mem enabled='no'/>
  34.     <suspend-to-disk enabled='no'/>
  35.   </pm>
  36.   <devices>
  37.     <emulator>/usr/bin/kvm-spice</emulator>
  38.     <disk type='file' device='disk'>
  39.       <driver name='qemu' type='raw'/>
  40.       <source file='/usr/VMs/Windows10.img'/>
  41.       <target dev='vda' bus='virtio'/>
  42.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  43.     </disk>
  44.     <controller type='usb' index='0' model='ich9-ehci1'>
  45.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x7'/>
  46.     </controller>
  47.     <controller type='usb' index='0' model='ich9-uhci1'>
  48.       <master startport='0'/>
  49.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/>
  50.     </controller>
  51.     <controller type='usb' index='0' model='ich9-uhci2'>
  52.       <master startport='2'/>
  53.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/>
  54.     </controller>
  55.     <controller type='usb' index='0' model='ich9-uhci3'>
  56.       <master startport='4'/>
  57.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x2'/>
  58.     </controller>
  59.     <controller type='pci' index='0' model='pci-root'/>
  60.     <controller type='ide' index='0'>
  61.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  62.     </controller>
  63.     <controller type='virtio-serial' index='0'>
  64.       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  65.     </controller>
  66.     <interface type='bridge'>
  67.       <mac address='52:54:00:b0:2b:28'/>
  68.       <source bridge='br1'/>
  69.       <model type='virtio'/>
  70.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  71.     </interface>
  72.     <serial type='pty'>
  73.       <target port='0'/>
  74.     </serial>
  75.     <console type='pty'>
  76.       <target type='serial' port='0'/>
  77.     </console>
  78.     <channel type='spicevmc'>
  79.       <target type='virtio' name='com.redhat.spice.0'/>
  80.       <address type='virtio-serial' controller='0' bus='0' port='1'/>
  81.     </channel>
  82.     <sound model='ich6'>
  83.       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  84.     </sound>
  85. <hostdev mode='subsystem' type='pci' managed='yes'>
  86.       <source>
  87.         <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  88.       </source>
  89.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  90.     </hostdev>
  91.     <hostdev mode='subsystem' type='pci' managed='yes'>
  92.       <source>
  93.         <address domain='0x0000' bus='0x02' slot='0x00' function='0x1'/>
  94.       </source>
  95.       <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
  96.     </hostdev>
  97.     <redirdev bus='usb' type='spicevmc'>
  98.     </redirdev>
  99.     <redirdev bus='usb' type='spicevmc'>
  100.     </redirdev>
  101.     <memballoon model='virtio'>
  102.       <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
  103.     </memballoon>
  104.   </devices>
  105. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement