Advertisement
arter97

MPTCP 2 libvirt

Jan 27th, 2021
1,011
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.25 KB | None | 0 0
  1. <domain type="kvm">
  2.   <name>mptcp2</name>
  3.   <uuid>353cebe3-48ca-4ba4-a721-5cc4d662f68f</uuid>
  4.   <metadata>
  5.     <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  6.       <libosinfo:os id="http://ubuntu.com/ubuntu/20.04"/>
  7.     </libosinfo:libosinfo>
  8.   </metadata>
  9.   <memory unit="KiB">16777216</memory>
  10.   <currentMemory unit="KiB">16777216</currentMemory>
  11.   <memoryBacking>
  12.     <hugepages/>
  13.     <nosharepages/>
  14.     <locked/>
  15.   </memoryBacking>
  16.   <vcpu placement="static">8</vcpu>
  17.   <os>
  18.     <type arch="x86_64" machine="pc-q35-2.11">hvm</type>
  19.     <loader readonly="yes" type="pflash">/usr/share/OVMF/OVMF_CODE.fd</loader>
  20.     <nvram>/var/lib/libvirt/qemu/nvram/mptcp2_VARS.fd</nvram>
  21.     <boot dev="hd"/>
  22.   </os>
  23.   <features>
  24.     <acpi/>
  25.     <apic/>
  26.     <vmport state="off"/>
  27.   </features>
  28.   <cpu mode="host-model" check="partial">
  29.     <model fallback="allow"/>
  30.     <topology sockets="1" cores="8" threads="1"/>
  31.   </cpu>
  32.   <clock offset="utc">
  33.     <timer name="rtc" tickpolicy="catchup"/>
  34.     <timer name="pit" tickpolicy="delay"/>
  35.     <timer name="hpet" present="no"/>
  36.   </clock>
  37.   <on_poweroff>destroy</on_poweroff>
  38.   <on_reboot>restart</on_reboot>
  39.   <on_crash>destroy</on_crash>
  40.   <pm>
  41.     <suspend-to-mem enabled="no"/>
  42.     <suspend-to-disk enabled="no"/>
  43.   </pm>
  44.   <devices>
  45.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  46.     <disk type="file" device="disk">
  47.       <driver name="qemu" type="qcow2" cache="unsafe" discard="unmap" detect_zeroes="unmap"/>
  48.       <source file="/var/lib/libvirt/images/mptcp2.qcow2"/>
  49.       <target dev="vda" bus="virtio"/>
  50.       <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  51.     </disk>
  52.     <controller type="usb" index="0" model="ich9-ehci1">
  53.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1d" function="0x7"/>
  54.     </controller>
  55.     <controller type="usb" index="0" model="ich9-uhci1">
  56.       <master startport="0"/>
  57.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1d" function="0x0" multifunction="on"/>
  58.     </controller>
  59.     <controller type="usb" index="0" model="ich9-uhci2">
  60.       <master startport="2"/>
  61.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1d" function="0x1"/>
  62.     </controller>
  63.     <controller type="usb" index="0" model="ich9-uhci3">
  64.       <master startport="4"/>
  65.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1d" function="0x2"/>
  66.     </controller>
  67.     <controller type="sata" index="0">
  68.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  69.     </controller>
  70.     <controller type="pci" index="0" model="pcie-root"/>
  71.     <controller type="pci" index="1" model="pcie-root-port">
  72.       <model name="pcie-root-port"/>
  73.       <target chassis="1" port="0x10"/>
  74.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  75.     </controller>
  76.     <controller type="pci" index="2" model="pcie-root-port">
  77.       <model name="pcie-root-port"/>
  78.       <target chassis="2" port="0x11"/>
  79.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  80.     </controller>
  81.     <controller type="pci" index="3" model="pcie-root-port">
  82.       <model name="pcie-root-port"/>
  83.       <target chassis="3" port="0x12"/>
  84.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  85.     </controller>
  86.     <controller type="pci" index="4" model="pcie-root-port">
  87.       <model name="pcie-root-port"/>
  88.       <target chassis="4" port="0x13"/>
  89.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  90.     </controller>
  91.     <controller type="pci" index="5" model="pcie-root-port">
  92.       <model name="pcie-root-port"/>
  93.       <target chassis="5" port="0x14"/>
  94.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  95.     </controller>
  96.     <controller type="pci" index="6" model="pcie-root-port">
  97.       <model name="pcie-root-port"/>
  98.       <target chassis="6" port="0x15"/>
  99.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  100.     </controller>
  101.     <controller type="virtio-serial" index="0">
  102.       <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  103.     </controller>
  104.     <controller type="scsi" index="0">
  105.       <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  106.     </controller>
  107.     <interface type="network">
  108.       <mac address="52:54:00:5c:2e:01"/>
  109.       <source network="default"/>
  110.       <model type="virtio"/>
  111.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  112.     </interface>
  113.     <serial type="pty">
  114.       <target type="isa-serial" port="0">
  115.         <model name="isa-serial"/>
  116.       </target>
  117.     </serial>
  118.     <console type="pty">
  119.       <target type="serial" port="0"/>
  120.     </console>
  121.     <channel type="unix">
  122.       <target type="virtio" name="org.qemu.guest_agent.0"/>
  123.       <address type="virtio-serial" controller="0" bus="0" port="1"/>
  124.     </channel>
  125.     <channel type="spicevmc">
  126.       <target type="virtio" name="com.redhat.spice.0"/>
  127.       <address type="virtio-serial" controller="0" bus="0" port="2"/>
  128.     </channel>
  129.     <input type="tablet" bus="usb">
  130.       <address type="usb" bus="0" port="1"/>
  131.     </input>
  132.     <input type="mouse" bus="ps2"/>
  133.     <input type="keyboard" bus="ps2"/>
  134.     <graphics type="spice" autoport="yes">
  135.       <listen type="address"/>
  136.       <image compression="off"/>
  137.     </graphics>
  138.     <sound model="ich9">
  139.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  140.     </sound>
  141.     <video>
  142.       <model type="virtio" heads="1" primary="yes"/>
  143.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  144.     </video>
  145.     <redirdev bus="usb" type="spicevmc">
  146.       <address type="usb" bus="0" port="2"/>
  147.     </redirdev>
  148.     <redirdev bus="usb" type="spicevmc">
  149.       <address type="usb" bus="0" port="3"/>
  150.     </redirdev>
  151.     <memballoon model="virtio">
  152.       <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  153.     </memballoon>
  154.     <rng model="virtio">
  155.       <backend model="random">/dev/urandom</backend>
  156.       <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  157.     </rng>
  158.   </devices>
  159. </domain>
  160.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement