Advertisement
Guest User

Fedora 25 multi-head configuration

a guest
Feb 27th, 2017
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.46 KB | None | 0 0
  1. <domain type='kvm' id='25'>
  2.   <name>fedora25-qxl</name>
  3.   <uuid>26d04ec1-9079-41fd-a6f4-14051072f7de</uuid>
  4.   <memory unit='KiB'>2097152</memory>
  5.   <currentMemory unit='KiB'>2097152</currentMemory>
  6.   <vcpu placement='static'>4</vcpu>
  7.   <os>
  8.     <type arch='x86_64' machine='pc-i440fx-2.7'>hvm</type>
  9.     <boot dev='hd'/>
  10.   </os>
  11.   <features>
  12.     <acpi/>
  13.     <apic/>
  14.     <vmport state='off'/>
  15.   </features>
  16.   <cpu mode='custom' match='exact'>
  17.     <model fallback='allow'>Westmere</model>
  18.   </cpu>
  19.   <clock offset='utc'>
  20.     <timer name='rtc' tickpolicy='catchup'/>
  21.     <timer name='pit' tickpolicy='delay'/>
  22.     <timer name='hpet' present='no'/>
  23.   </clock>
  24.   <on_poweroff>destroy</on_poweroff>
  25.   <on_reboot>restart</on_reboot>
  26.   <on_crash>restart</on_crash>
  27.   <pm>
  28.     <suspend-to-mem enabled='no'/>
  29.     <suspend-to-disk enabled='no'/>
  30.   </pm>
  31.   <devices>
  32.     <emulator>/usr/bin/qemu-kvm</emulator>
  33.     <disk type='file' device='disk'>
  34.       <driver name='qemu' type='qcow2'/>
  35.       <source file='/home/ddd/.local/share/libvirt/images/fedora25-qxl.qcow2'/>
  36.       <backingStore/>
  37.       <target dev='vda' bus='virtio'/>
  38.       <alias name='virtio-disk0'/>
  39.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  40.     </disk>
  41.     <disk type='file' device='cdrom'>
  42.       <driver name='qemu' type='raw'/>
  43.       <backingStore/>
  44.       <target dev='hda' bus='ide'/>
  45.       <readonly/>
  46.       <alias name='ide0-0-0'/>
  47.       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  48.     </disk>
  49.     <controller type='usb' index='0' model='ich9-ehci1'>
  50.       <alias name='usb'/>
  51.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x7'/>
  52.     </controller>
  53.     <controller type='usb' index='0' model='ich9-uhci1'>
  54.       <alias name='usb'/>
  55.       <master startport='0'/>
  56.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/>
  57.     </controller>
  58.     <controller type='usb' index='0' model='ich9-uhci2'>
  59.       <alias name='usb'/>
  60.       <master startport='2'/>
  61.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/>
  62.     </controller>
  63.     <controller type='usb' index='0' model='ich9-uhci3'>
  64.       <alias name='usb'/>
  65.       <master startport='4'/>
  66.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x2'/>
  67.     </controller>
  68.     <controller type='pci' index='0' model='pci-root'>
  69.       <alias name='pci.0'/>
  70.     </controller>
  71.     <controller type='ide' index='0'>
  72.       <alias name='ide'/>
  73.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  74.     </controller>
  75.     <controller type='virtio-serial' index='0'>
  76.       <alias name='virtio-serial0'/>
  77.       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  78.     </controller>
  79.     <interface type='bridge'>
  80.       <mac address='52:54:00:80:11:6d'/>
  81.       <source bridge='virbr0'/>
  82.       <target dev='tap2'/>
  83.       <model type='virtio'/>
  84.       <alias name='net0'/>
  85.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  86.     </interface>
  87.     <serial type='pty'>
  88.       <source path='/dev/pts/7'/>
  89.       <target port='0'/>
  90.       <alias name='serial0'/>
  91.     </serial>
  92.     <console type='pty' tty='/dev/pts/7'>
  93.       <source path='/dev/pts/7'/>
  94.       <target type='serial' port='0'/>
  95.       <alias name='serial0'/>
  96.     </console>
  97.     <channel type='unix'>
  98.       <source mode='bind' path='/home/ddd/.config/libvirt/qemu/channel/target/domain-25-fedora25-qxl/org.qemu.guest_agent.0'/>
  99.       <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
  100.       <alias name='channel0'/>
  101.       <address type='virtio-serial' controller='0' bus='0' port='1'/>
  102.     </channel>
  103.     <channel type='spicevmc'>
  104.       <target type='virtio' name='com.redhat.spice.0' state='connected'/>
  105.       <alias name='channel1'/>
  106.       <address type='virtio-serial' controller='0' bus='0' port='2'/>
  107.     </channel>
  108.     <input type='tablet' bus='usb'>
  109.       <alias name='input0'/>
  110.       <address type='usb' bus='0' port='1'/>
  111.     </input>
  112.     <input type='mouse' bus='ps2'>
  113.       <alias name='input1'/>
  114.     </input>
  115.     <input type='keyboard' bus='ps2'>
  116.       <alias name='input2'/>
  117.     </input>
  118.     <graphics type='spice' port='5901' autoport='yes' listen='127.0.0.1'>
  119.       <listen type='address' address='127.0.0.1'/>
  120.       <image compression='off'/>
  121.     </graphics>
  122.     <sound model='ich6'>
  123.       <alias name='sound0'/>
  124.       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  125.     </sound>
  126.     <video>
  127.       <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='4' primary='yes'/>
  128.       <alias name='video0'/>
  129.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  130.     </video>
  131.     <redirdev bus='usb' type='spicevmc'>
  132.       <alias name='redir0'/>
  133.       <address type='usb' bus='0' port='2'/>
  134.     </redirdev>
  135.     <redirdev bus='usb' type='spicevmc'>
  136.       <alias name='redir1'/>
  137.       <address type='usb' bus='0' port='3'/>
  138.     </redirdev>
  139.     <memballoon model='virtio'>
  140.       <alias name='balloon0'/>
  141.       <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
  142.     </memballoon>
  143.   </devices>
  144.   <seclabel type='dynamic' model='selinux' relabel='yes'>
  145.     <label>unconfined_u:unconfined_r:svirt_t:s0:c124,c633</label>
  146.     <imagelabel>unconfined_u:object_r:svirt_image_t:s0:c124,c633</imagelabel>
  147.   </seclabel>
  148. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement