Advertisement
Guest User

Untitled

a guest
May 20th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.45 KB | None | 0 0
  1. <domain type='kvm' id='3'>
  2.   <name>ppc</name>
  3.   <uuid>76a74977-cb33-4ad8-8bb9-d8090902330f</uuid>
  4.   <metadata>
  5.     <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  6.       <libosinfo:os id="http://archlinux.org/archlinux/rolling"/>
  7.     </libosinfo:libosinfo>
  8.   </metadata>
  9.   <memory unit='KiB'>2097152</memory>
  10.   <currentMemory unit='KiB'>2097152</currentMemory>
  11.   <vcpu placement='static'>2</vcpu>
  12.   <resource>
  13.     <partition>/machine</partition>
  14.   </resource>
  15.   <os>
  16.     <type arch='x86_64' machine='pc-q35-4.0'>hvm</type>
  17.     <loader readonly='yes' type='pflash'>/usr/share/ovmf/x64/OVMF_CODE.fd</loader>
  18.     <nvram>/var/lib/libvirt/qemu/nvram/ppc_VARS.fd</nvram>
  19.     <bootmenu enable='yes'/>
  20.   </os>
  21.   <features>
  22.     <acpi/>
  23.     <apic/>
  24.     <vmport state='off'/>
  25.   </features>
  26.   <cpu mode='host-passthrough' check='partial'>
  27.     <topology sockets='1' cores='1' threads='2'/>
  28.   </cpu>
  29.   <clock offset='utc'>
  30.     <timer name='rtc' tickpolicy='catchup'/>
  31.     <timer name='pit' tickpolicy='delay'/>
  32.     <timer name='hpet' present='no'/>
  33.   </clock>
  34.   <on_poweroff>destroy</on_poweroff>
  35.   <on_reboot>restart</on_reboot>
  36.   <on_crash>destroy</on_crash>
  37.   <pm>
  38.     <suspend-to-mem enabled='no'/>
  39.     <suspend-to-disk enabled='no'/>
  40.   </pm>
  41.   <devices>
  42.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  43.     <disk type='file' device='disk'>
  44.       <driver name='qemu' type='raw' cache='none' io='native'/>
  45.       <source file='/dev/sde'/>
  46.       <backingStore/>
  47.       <target dev='sde' bus='sata'/>
  48.       <boot order='1'/>
  49.       <alias name='sata0-0-4'/>
  50.       <address type='drive' controller='0' bus='0' target='0' unit='4'/>
  51.     </disk>
  52.     <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  53.       <alias name='usb'/>
  54.       <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  55.     </controller>
  56.     <controller type='sata' index='0'>
  57.       <alias name='ide'/>
  58.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  59.     </controller>
  60.     <controller type='pci' index='0' model='pcie-root'>
  61.       <alias name='pcie.0'/>
  62.     </controller>
  63.     <controller type='pci' index='1' model='pcie-root-port'>
  64.       <model name='pcie-root-port'/>
  65.       <target chassis='1' port='0x10'/>
  66.       <alias name='pci.1'/>
  67.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  68.     </controller>
  69.     <controller type='pci' index='2' model='pcie-root-port'>
  70.       <model name='pcie-root-port'/>
  71.       <target chassis='2' port='0x11'/>
  72.       <alias name='pci.2'/>
  73.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  74.     </controller>
  75.     <controller type='pci' index='3' model='pcie-root-port'>
  76.       <model name='pcie-root-port'/>
  77.       <target chassis='3' port='0x12'/>
  78.       <alias name='pci.3'/>
  79.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  80.     </controller>
  81.     <controller type='pci' index='4' model='pcie-root-port'>
  82.       <model name='pcie-root-port'/>
  83.       <target chassis='4' port='0x13'/>
  84.       <alias name='pci.4'/>
  85.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
  86.     </controller>
  87.     <controller type='pci' index='5' model='pcie-root-port'>
  88.       <model name='pcie-root-port'/>
  89.       <target chassis='5' port='0x14'/>
  90.       <alias name='pci.5'/>
  91.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
  92.     </controller>
  93.     <controller type='pci' index='6' model='pcie-root-port'>
  94.       <model name='pcie-root-port'/>
  95.       <target chassis='6' port='0x15'/>
  96.       <alias name='pci.6'/>
  97.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
  98.     </controller>
  99.     <controller type='pci' index='7' model='pcie-root-port'>
  100.       <model name='pcie-root-port'/>
  101.       <target chassis='7' port='0x16'/>
  102.       <alias name='pci.7'/>
  103.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
  104.     </controller>
  105.     <controller type='pci' index='8' model='pcie-to-pci-bridge'>
  106.       <model name='pcie-pci-bridge'/>
  107.       <alias name='pci.8'/>
  108.       <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  109.     </controller>
  110.     <controller type='virtio-serial' index='0'>
  111.       <alias name='virtio-serial0'/>
  112.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  113.     </controller>
  114.     <controller type='scsi' index='0' model='virtio-scsi'>
  115.       <alias name='scsi0'/>
  116.       <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
  117.     </controller>
  118.     <interface type='direct'>
  119.       <mac address='52:54:00:1b:05:a1'/>
  120.       <source dev='enp0s31f6' mode='bridge'/>
  121.       <target dev='macvtap0'/>
  122.       <model type='virtio'/>
  123.       <alias name='net0'/>
  124.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  125.     </interface>
  126.     <serial type='pty'>
  127.       <source path='/dev/pts/1'/>
  128.       <target type='isa-serial' port='0'>
  129.         <model name='isa-serial'/>
  130.       </target>
  131.       <alias name='serial0'/>
  132.     </serial>
  133.     <console type='pty' tty='/dev/pts/1'>
  134.       <source path='/dev/pts/1'/>
  135.       <target type='serial' port='0'/>
  136.       <alias name='serial0'/>
  137.     </console>
  138.     <channel type='unix'>
  139.       <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-3-ppc/org.qemu.guest_agent.0'/>
  140.       <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
  141.       <alias name='channel0'/>
  142.       <address type='virtio-serial' controller='0' bus='0' port='1'/>
  143.     </channel>
  144.     <channel type='spicevmc'>
  145.       <target type='virtio' name='com.redhat.spice.0' state='disconnected'/>
  146.       <alias name='channel1'/>
  147.       <address type='virtio-serial' controller='0' bus='0' port='2'/>
  148.     </channel>
  149.     <input type='tablet' bus='usb'>
  150.       <alias name='input0'/>
  151.       <address type='usb' bus='0' port='1'/>
  152.     </input>
  153.     <input type='mouse' bus='ps2'>
  154.       <alias name='input1'/>
  155.     </input>
  156.     <input type='keyboard' bus='ps2'>
  157.       <alias name='input2'/>
  158.     </input>
  159.     <graphics type='spice' port='5900' autoport='yes' listen='127.0.0.1'>
  160.       <listen type='address' address='127.0.0.1'/>
  161.       <image compression='off'/>
  162.     </graphics>
  163.     <sound model='ich9'>
  164.       <alias name='sound0'/>
  165.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
  166.     </sound>
  167.     <video>
  168.       <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
  169.       <alias name='video0'/>
  170.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
  171.     </video>
  172.     <redirdev bus='usb' type='spicevmc'>
  173.       <alias name='redir0'/>
  174.       <address type='usb' bus='0' port='2'/>
  175.     </redirdev>
  176.     <redirdev bus='usb' type='spicevmc'>
  177.       <alias name='redir1'/>
  178.       <address type='usb' bus='0' port='3'/>
  179.     </redirdev>
  180.     <memballoon model='virtio'>
  181.       <alias name='balloon0'/>
  182.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  183.     </memballoon>
  184.     <rng model='virtio'>
  185.       <backend model='random'>/dev/urandom</backend>
  186.       <alias name='rng0'/>
  187.       <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  188.     </rng>
  189.   </devices>
  190.   <seclabel type='dynamic' model='dac' relabel='yes'>
  191.     <label>+1000:+992</label>
  192.     <imagelabel>+1000:+992</imagelabel>
  193.   </seclabel>
  194. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement