Update server configs

This commit is contained in:
Albert Stefanov 2023-11-11 09:49:58 +02:00
parent 52e2ab2800
commit 917d77729e
33 changed files with 2600 additions and 269 deletions

View File

@ -1,9 +0,0 @@
# Server related configs
As of 2023, a hypervisor running KVM is created.
VM's are named as follows:
* dns - DNS and DHCP server
* gateway - router/NAT/firewall/failover
* monitoring
* voip

View File

@ -0,0 +1,2 @@
Specify interfaces in /etc/default/isc-dhcp-server, section INTERFACESv4
Leave INTERFACESv6 empty

View File

@ -0,0 +1,105 @@
# dhcpd.conf
default-lease-time 600;
max-lease-time 7200;
# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style none;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
subnet 10.20.0.0 netmask 255.255.255.0 {
option routers 10.20.0.1;
option domain-name-servers 10.20.0.2;
option domain-name "openfest.org";
range 10.20.0.100 10.20.0.250;
default-lease-time 7200;
}
subnet 10.21.0.0 netmask 255.255.252.0 {
option routers 10.21.0.1;
option domain-name-servers 10.21.0.2;
option domain-name "net.openfest.org";
range 10.21.0.100 10.21.3.250;
default-lease-time 600;
}
subnet 10.22.0.0 netmask 255.255.252.0 {
option routers 10.22.0.1;
option domain-name-servers 10.22.0.2;
option domain-name "net.openfest.org";
range 10.22.0.100 10.22.3.250;
default-lease-time 600;
}
subnet 10.23.0.0 netmask 255.255.255.0 {
option routers 10.23.0.1;
option domain-name-servers 10.23.0.2;
option domain-name "video.openfest.org";
range 10.23.0.100 10.23.0.250;
default-lease-time 7200;
}
subnet 10.24.0.0 netmask 255.255.255.0 {
option routers 10.24.0.1;
option domain-name-servers 10.24.0.2;
option domain-name "overflow.openfest.org";
range 10.24.0.100 10.24.0.250;
default-lease-time 7200;
}
subnet 10.25.0.0 netmask 255.255.255.0 {
option routers 10.25.0.1;
option domain-name-servers 10.25.0.2;
option domain-name "reception.openfest.org";
range 10.25.0.100 10.25.0.250;
default-lease-time 7200;
}
subnet 10.26.0.0 netmask 255.255.255.0 {
option routers 10.26.0.1;
option domain-name-servers 10.26.0.2;
option domain-name "voice.openfest.org";
range 10.26.0.100 10.26.0.250;
default-lease-time 7200;
}
subnet 10.27.0.0 netmask 255.255.255.0 {
option routers 10.27.0.1;
option domain-name-servers 10.27.0.2;
option domain-name "ws.openfest.org";
range 10.27.0.100 10.27.0.250;
default-lease-time 7200;
}
host pi2 {
hardware ethernet b8:27:eb:d0:b2:51;
fixed-address 10.24.0.10;
}
host pi3 {
hardware ethernet b8:27:eb:6b:5e:e6;
fixed-address 10.24.0.11;
}
host pi4 {
hardware ethernet dc:a6:32:89:9c:c8;
fixed-address 10.24.0.12;
}
host printer-reception {
hardware ethernet 00:23:7d:85:82:05;
fixed-address 10.25.0.10;
}
host overflow-think {
hardware ethernet F0:DE:F1:FE:42:09;
fixed-address 10.24.0.103;
}

View File

@ -1,13 +1,5 @@
# Virtual Machines # Server related configs
As of 2023, a hypervisor running KVM is created.
## Resources used
| Name | vCPU | Memory (MiB) | Disk (GiB) | VLANs |
| --------------- | ---- | ------------ | ---------- | ----- |
| gateway-openwrt | 8 | 4096 | 1 | all |
| dns | 2 | 4096 | 20 | all |
| monitoring | 4 | 4096 | 40 | 20 |
| voip | 2 | 2048 | 20 | 26 |
## SR-IOV ## SR-IOV

View File

@ -0,0 +1 @@
KERNEL=="0000:01:00.0", SUBSYSTEM=="pci", DRIVER=="ixgbe", ATTR{vendor}=="0x8086", ATTR{device}=="0x154d", ATTR{sriov_numvfs}="15"

View File

@ -1,4 +1,11 @@
<domain type='kvm' id='2'> <!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit dns
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>dns</name> <name>dns</name>
<uuid>3c603d11-23d5-46b0-b944-390923af9f3d</uuid> <uuid>3c603d11-23d5-46b0-b944-390923af9f3d</uuid>
<metadata> <metadata>
@ -9,9 +16,6 @@
<memory unit='KiB'>4194304</memory> <memory unit='KiB'>4194304</memory>
<currentMemory unit='KiB'>4194304</currentMemory> <currentMemory unit='KiB'>4194304</currentMemory>
<vcpu placement='static'>2</vcpu> <vcpu placement='static'>2</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<os> <os>
<type arch='x86_64' machine='pc-q35-7.2'>hvm</type> <type arch='x86_64' machine='pc-q35-7.2'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
@ -37,171 +41,124 @@
<emulator>/usr/bin/qemu-system-x86_64</emulator> <emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'> <disk type='file' device='disk'>
<driver name='qemu' type='qcow2' discard='unmap'/> <driver name='qemu' type='qcow2' discard='unmap'/>
<source file='/var/lib/libvirt/images/dns.qcow2' index='1'/> <source file='/var/lib/libvirt/images/dns.qcow2'/>
<backingStore/>
<target dev='vda' bus='virtio'/> <target dev='vda' bus='virtio'/>
<alias name='virtio-disk0'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</disk> </disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'> <controller type='usb' index='0' model='qemu-xhci' ports='15'>
<alias name='usb'/>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller> </controller>
<controller type='pci' index='0' model='pcie-root'> <controller type='pci' index='0' model='pcie-root'/>
<alias name='pcie.0'/>
</controller>
<controller type='pci' index='1' model='pcie-root-port'> <controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='1' port='0x8'/> <target chassis='1' port='0x8'/>
<alias name='pci.1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
</controller> </controller>
<controller type='pci' index='2' model='pcie-root-port'> <controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='2' port='0x9'/> <target chassis='2' port='0x9'/>
<alias name='pci.2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller> </controller>
<controller type='pci' index='3' model='pcie-root-port'> <controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='3' port='0xa'/> <target chassis='3' port='0xa'/>
<alias name='pci.3'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller> </controller>
<controller type='pci' index='4' model='pcie-root-port'> <controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='4' port='0xb'/> <target chassis='4' port='0xb'/>
<alias name='pci.4'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
</controller> </controller>
<controller type='pci' index='5' model='pcie-root-port'> <controller type='pci' index='5' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='5' port='0xc'/> <target chassis='5' port='0xc'/>
<alias name='pci.5'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
</controller> </controller>
<controller type='pci' index='6' model='pcie-root-port'> <controller type='pci' index='6' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='6' port='0xd'/> <target chassis='6' port='0xd'/>
<alias name='pci.6'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
</controller> </controller>
<controller type='pci' index='7' model='pcie-root-port'> <controller type='pci' index='7' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='7' port='0xe'/> <target chassis='7' port='0xe'/>
<alias name='pci.7'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
</controller> </controller>
<controller type='pci' index='8' model='pcie-root-port'> <controller type='pci' index='8' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='8' port='0xf'/> <target chassis='8' port='0xf'/>
<alias name='pci.8'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
</controller> </controller>
<controller type='pci' index='9' model='pcie-root-port'> <controller type='pci' index='9' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='9' port='0x10'/> <target chassis='9' port='0x10'/>
<alias name='pci.9'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
</controller> </controller>
<controller type='pci' index='10' model='pcie-root-port'> <controller type='pci' index='10' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='10' port='0x11'/> <target chassis='10' port='0x11'/>
<alias name='pci.10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
</controller> </controller>
<controller type='pci' index='11' model='pcie-root-port'> <controller type='pci' index='11' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='11' port='0x12'/> <target chassis='11' port='0x12'/>
<alias name='pci.11'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller> </controller>
<controller type='pci' index='12' model='pcie-root-port'> <controller type='pci' index='12' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='12' port='0x13'/> <target chassis='12' port='0x13'/>
<alias name='pci.12'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
</controller> </controller>
<controller type='pci' index='13' model='pcie-root-port'> <controller type='pci' index='13' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='13' port='0x14'/> <target chassis='13' port='0x14'/>
<alias name='pci.13'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
</controller> </controller>
<controller type='pci' index='14' model='pcie-root-port'> <controller type='pci' index='14' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='14' port='0x15'/> <target chassis='14' port='0x15'/>
<alias name='pci.14'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
</controller> </controller>
<controller type='sata' index='0'> <controller type='sata' index='0'>
<alias name='ide'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller> </controller>
<controller type='virtio-serial' index='0'> <controller type='virtio-serial' index='0'>
<alias name='virtio-serial0'/>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller> </controller>
<interface type='network'> <interface type='network'>
<mac address='52:54:00:8b:8a:79'/> <mac address='52:54:00:8b:8a:79'/>
<source network='default' portid='41caa4fc-73e6-4fb4-adcf-89626aebda7a' bridge='virbr0'/> <source network='default'/>
<target dev='vnet1'/>
<model type='virtio'/> <model type='virtio'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface> </interface>
<interface type='hostdev' managed='yes'> <interface type='hostdev' managed='yes'>
<mac address='52:54:00:f0:6b:15'/> <mac address='52:54:00:f0:6b:15'/>
<driver name='vfio'/>
<source> <source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x10' function='0x2'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x10' function='0x2'/>
</source> </source>
<alias name='hostdev0'/>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
</interface> </interface>
<serial type='pty'> <serial type='pty'>
<source path='/dev/pts/1'/>
<target type='isa-serial' port='0'> <target type='isa-serial' port='0'>
<model name='isa-serial'/> <model name='isa-serial'/>
</target> </target>
<alias name='serial0'/>
</serial> </serial>
<console type='pty' tty='/dev/pts/1'> <console type='pty'>
<source path='/dev/pts/1'/>
<target type='serial' port='0'/> <target type='serial' port='0'/>
<alias name='serial0'/>
</console> </console>
<channel type='unix'> <channel type='unix'>
<source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-2-dns/org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0'/>
<target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
<alias name='channel0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/> <address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel> </channel>
<input type='mouse' bus='ps2'> <input type='mouse' bus='ps2'/>
<alias name='input0'/> <input type='keyboard' bus='ps2'/>
</input>
<input type='keyboard' bus='ps2'>
<alias name='input1'/>
</input>
<audio id='1' type='none'/> <audio id='1' type='none'/>
<memballoon model='virtio'> <memballoon model='virtio'>
<stats period='5'/>
<alias name='balloon0'/>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</memballoon> </memballoon>
<rng model='virtio'> <rng model='virtio'>
<backend model='random'>/dev/urandom</backend> <backend model='random'>/dev/urandom</backend>
<alias name='rng0'/>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</rng> </rng>
</devices> </devices>
<seclabel type='dynamic' model='apparmor' relabel='yes'>
<label>libvirt-3c603d11-23d5-46b0-b944-390923af9f3d</label>
<imagelabel>libvirt-3c603d11-23d5-46b0-b944-390923af9f3d</imagelabel>
</seclabel>
<seclabel type='dynamic' model='dac' relabel='yes'>
<label>+64055:+64055</label>
<imagelabel>+64055:+64055</imagelabel>
</seclabel>
</domain> </domain>

View File

@ -0,0 +1,165 @@
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit gateway-debian
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>gateway-debian</name>
<uuid>c48ea7cd-eca3-4f49-af4e-2ee6027f567c</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://debian.org/debian/11"/>
</libosinfo:libosinfo>
</metadata>
<memory unit='KiB'>4194304</memory>
<currentMemory unit='KiB'>4194304</currentMemory>
<vcpu placement='static'>4</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-7.2'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode='host-passthrough' check='none' migratable='on'/>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' discard='unmap'/>
<source file='/var/lib/libvirt/images/gateway.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pcie-root'/>
<controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='1' port='0x8'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='2' port='0x9'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='3' port='0xa'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='4' port='0xb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
</controller>
<controller type='pci' index='5' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='5' port='0xc'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
</controller>
<controller type='pci' index='6' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='6' port='0xd'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
</controller>
<controller type='pci' index='7' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='7' port='0xe'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
</controller>
<controller type='pci' index='8' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='8' port='0xf'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
</controller>
<controller type='pci' index='9' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='9' port='0x10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='10' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='10' port='0x11'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
</controller>
<controller type='pci' index='11' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='11' port='0x12'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller>
<controller type='pci' index='12' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='12' port='0x13'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
</controller>
<controller type='pci' index='13' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='13' port='0x14'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
</controller>
<controller type='pci' index='14' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='14' port='0x15'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
</controller>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller>
<interface type='network'>
<mac address='52:54:00:29:ef:e7'/>
<source network='default'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface>
<interface type='hostdev' managed='yes'>
<mac address='52:54:00:6f:41:a4'/>
<driver name='vfio'/>
<source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x10' function='0x0'/>
</source>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<channel type='unix'>
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</memballoon>
<rng model='virtio'>
<backend model='random'>/dev/urandom</backend>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</rng>
</devices>
</domain>

View File

@ -1,4 +1,11 @@
<domain type='kvm' id='8'> <!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit gateway-openwrt
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>gateway-openwrt</name> <name>gateway-openwrt</name>
<uuid>89849f20-f741-4425-917b-3d22908319d1</uuid> <uuid>89849f20-f741-4425-917b-3d22908319d1</uuid>
<metadata> <metadata>
@ -9,9 +16,6 @@
<memory unit='KiB'>4194304</memory> <memory unit='KiB'>4194304</memory>
<currentMemory unit='KiB'>4194304</currentMemory> <currentMemory unit='KiB'>4194304</currentMemory>
<vcpu placement='static' cpuset='0-7'>8</vcpu> <vcpu placement='static' cpuset='0-7'>8</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<os> <os>
<type arch='x86_64' machine='pc-q35-7.2'>hvm</type> <type arch='x86_64' machine='pc-q35-7.2'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
@ -38,196 +42,144 @@
<emulator>/usr/bin/qemu-system-x86_64</emulator> <emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'> <disk type='file' device='disk'>
<driver name='qemu' type='raw'/> <driver name='qemu' type='raw'/>
<source file='/var/lib/libvirt/images/gateway-openwrt.qcow2' index='1'/> <source file='/var/lib/libvirt/images/gateway-openwrt.qcow2'/>
<backingStore/>
<target dev='sda' bus='scsi'/> <target dev='sda' bus='scsi'/>
<alias name='scsi0-0-0-0'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk> </disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'> <controller type='usb' index='0' model='qemu-xhci' ports='15'>
<alias name='usb'/>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller> </controller>
<controller type='pci' index='0' model='pcie-root'> <controller type='pci' index='0' model='pcie-root'/>
<alias name='pcie.0'/>
</controller>
<controller type='pci' index='1' model='pcie-root-port'> <controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='1' port='0x10'/> <target chassis='1' port='0x10'/>
<alias name='pci.1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
</controller> </controller>
<controller type='pci' index='2' model='pcie-root-port'> <controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='2' port='0x11'/> <target chassis='2' port='0x11'/>
<alias name='pci.2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
</controller> </controller>
<controller type='pci' index='3' model='pcie-root-port'> <controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='3' port='0x12'/> <target chassis='3' port='0x12'/>
<alias name='pci.3'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller> </controller>
<controller type='pci' index='4' model='pcie-root-port'> <controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='4' port='0x13'/> <target chassis='4' port='0x13'/>
<alias name='pci.4'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
</controller> </controller>
<controller type='pci' index='5' model='pcie-root-port'> <controller type='pci' index='5' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='5' port='0x14'/> <target chassis='5' port='0x14'/>
<alias name='pci.5'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
</controller> </controller>
<controller type='pci' index='6' model='pcie-root-port'> <controller type='pci' index='6' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='6' port='0x15'/> <target chassis='6' port='0x15'/>
<alias name='pci.6'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
</controller> </controller>
<controller type='pci' index='7' model='pcie-root-port'> <controller type='pci' index='7' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='7' port='0x16'/> <target chassis='7' port='0x16'/>
<alias name='pci.7'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
</controller> </controller>
<controller type='pci' index='8' model='pcie-root-port'> <controller type='pci' index='8' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='8' port='0x17'/> <target chassis='8' port='0x17'/>
<alias name='pci.8'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
</controller> </controller>
<controller type='pci' index='9' model='pcie-root-port'> <controller type='pci' index='9' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='9' port='0x18'/> <target chassis='9' port='0x18'/>
<alias name='pci.9'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
</controller> </controller>
<controller type='pci' index='10' model='pcie-root-port'> <controller type='pci' index='10' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='10' port='0x19'/> <target chassis='10' port='0x19'/>
<alias name='pci.10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
</controller> </controller>
<controller type='pci' index='11' model='pcie-root-port'> <controller type='pci' index='11' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='11' port='0x1a'/> <target chassis='11' port='0x1a'/>
<alias name='pci.11'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
</controller> </controller>
<controller type='pci' index='12' model='pcie-root-port'> <controller type='pci' index='12' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='12' port='0x1b'/> <target chassis='12' port='0x1b'/>
<alias name='pci.12'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
</controller> </controller>
<controller type='pci' index='13' model='pcie-root-port'> <controller type='pci' index='13' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='13' port='0x1c'/> <target chassis='13' port='0x1c'/>
<alias name='pci.13'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
</controller> </controller>
<controller type='pci' index='14' model='pcie-root-port'> <controller type='pci' index='14' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='14' port='0x1d'/> <target chassis='14' port='0x1d'/>
<alias name='pci.14'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
</controller> </controller>
<controller type='scsi' index='0' model='virtio-scsi'> <controller type='scsi' index='0' model='virtio-scsi'>
<alias name='scsi0'/>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller> </controller>
<controller type='sata' index='0'> <controller type='sata' index='0'>
<alias name='ide'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller> </controller>
<controller type='virtio-serial' index='0'> <controller type='virtio-serial' index='0'>
<alias name='virtio-serial0'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</controller> </controller>
<interface type='hostdev' managed='yes'> <interface type='hostdev' managed='yes'>
<mac address='52:54:00:fc:8b:68'/> <mac address='52:54:00:fc:8b:68'/>
<driver name='vfio'/>
<source> <source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x10' function='0x0'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x10' function='0x0'/>
</source> </source>
<alias name='hostdev0'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface> </interface>
<interface type='network'> <interface type='network'>
<mac address='52:54:00:e4:08:fd'/> <mac address='52:54:00:e4:08:fd'/>
<source network='default' portid='b23bce44-f9ec-4fa8-908d-d2654bd5c778' bridge='virbr0'/> <source network='default'/>
<target dev='vnet6'/>
<model type='virtio'/> <model type='virtio'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
</interface> </interface>
<serial type='pty'> <serial type='pty'>
<source path='/dev/pts/0'/>
<target type='isa-serial' port='0'> <target type='isa-serial' port='0'>
<model name='isa-serial'/> <model name='isa-serial'/>
</target> </target>
<alias name='serial0'/>
</serial> </serial>
<console type='pty' tty='/dev/pts/0'> <console type='pty'>
<source path='/dev/pts/0'/>
<target type='serial' port='0'/> <target type='serial' port='0'/>
<alias name='serial0'/>
</console> </console>
<channel type='unix'> <channel type='unix'>
<source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-8-gateway-openwrt/org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0'/>
<target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
<alias name='channel0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/> <address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel> </channel>
<channel type='spicevmc'> <channel type='spicevmc'>
<target type='virtio' name='com.redhat.spice.0' state='disconnected'/> <target type='virtio' name='com.redhat.spice.0'/>
<alias name='channel1'/>
<address type='virtio-serial' controller='0' bus='0' port='2'/> <address type='virtio-serial' controller='0' bus='0' port='2'/>
</channel> </channel>
<input type='mouse' bus='ps2'> <input type='mouse' bus='ps2'/>
<alias name='input0'/> <input type='keyboard' bus='ps2'/>
</input> <graphics type='spice' autoport='yes'>
<input type='keyboard' bus='ps2'> <listen type='address'/>
<alias name='input1'/>
</input>
<graphics type='spice' port='5900' autoport='yes' listen='127.0.0.1'>
<listen type='address' address='127.0.0.1'/>
</graphics> </graphics>
<audio id='1' type='spice'/> <audio id='1' type='spice'/>
<video> <video>
<model type='virtio' heads='1' primary='yes'/> <model type='virtio' heads='1' primary='yes'/>
<alias name='video0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
</video> </video>
<redirdev bus='usb' type='spicevmc'> <redirdev bus='usb' type='spicevmc'>
<alias name='redir0'/>
<address type='usb' bus='0' port='1'/> <address type='usb' bus='0' port='1'/>
</redirdev> </redirdev>
<redirdev bus='usb' type='spicevmc'> <redirdev bus='usb' type='spicevmc'>
<alias name='redir1'/>
<address type='usb' bus='0' port='2'/> <address type='usb' bus='0' port='2'/>
</redirdev> </redirdev>
<memballoon model='virtio'> <memballoon model='virtio'>
<stats period='5'/>
<alias name='balloon0'/>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</memballoon> </memballoon>
<rng model='virtio'> <rng model='virtio'>
<backend model='random'>/dev/urandom</backend> <backend model='random'>/dev/urandom</backend>
<alias name='rng0'/>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</rng> </rng>
</devices> </devices>
<seclabel type='dynamic' model='apparmor' relabel='yes'>
<label>libvirt-89849f20-f741-4425-917b-3d22908319d1</label>
<imagelabel>libvirt-89849f20-f741-4425-917b-3d22908319d1</imagelabel>
</seclabel>
<seclabel type='dynamic' model='dac' relabel='yes'>
<label>+64055:+64055</label>
<imagelabel>+64055:+64055</imagelabel>
</seclabel>
</domain> </domain>

View File

@ -0,0 +1,168 @@
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit mediamtx
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>mediamtx</name>
<uuid>4aa8beaa-6ae7-42ef-9f42-3119812617a3</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://debian.org/debian/11"/>
</libosinfo:libosinfo>
</metadata>
<memory unit='KiB'>2097152</memory>
<currentMemory unit='KiB'>2097152</currentMemory>
<vcpu placement='static'>2</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-7.2'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode='host-passthrough' check='none' migratable='on'/>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' discard='unmap'/>
<source file='/var/lib/libvirt/images/mediamtx-1.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pcie-root'/>
<controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='1' port='0x8'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='2' port='0x9'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='3' port='0xa'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='4' port='0xb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
</controller>
<controller type='pci' index='5' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='5' port='0xc'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
</controller>
<controller type='pci' index='6' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='6' port='0xd'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
</controller>
<controller type='pci' index='7' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='7' port='0xe'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
</controller>
<controller type='pci' index='8' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='8' port='0xf'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
</controller>
<controller type='pci' index='9' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='9' port='0x10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='10' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='10' port='0x11'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
</controller>
<controller type='pci' index='11' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='11' port='0x12'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller>
<controller type='pci' index='12' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='12' port='0x13'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
</controller>
<controller type='pci' index='13' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='13' port='0x14'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
</controller>
<controller type='pci' index='14' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='14' port='0x15'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
</controller>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller>
<interface type='network'>
<mac address='52:54:00:f4:46:3e'/>
<source network='default'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface>
<interface type='hostdev' managed='yes'>
<mac address='52:54:00:23:40:3d'/>
<driver name='vfio'/>
<source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x11' function='0x0'/>
</source>
<vlan>
<tag id='23'/>
</vlan>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<channel type='unix'>
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</memballoon>
<rng model='virtio'>
<backend model='random'>/dev/urandom</backend>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</rng>
</devices>
</domain>

View File

@ -1,4 +1,11 @@
<domain type='kvm' id='5'> <!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit monitoring
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>monitoring</name> <name>monitoring</name>
<uuid>b5954785-a436-4598-9e17-ea25d8209e21</uuid> <uuid>b5954785-a436-4598-9e17-ea25d8209e21</uuid>
<metadata> <metadata>
@ -9,9 +16,6 @@
<memory unit='KiB'>4194304</memory> <memory unit='KiB'>4194304</memory>
<currentMemory unit='KiB'>4194304</currentMemory> <currentMemory unit='KiB'>4194304</currentMemory>
<vcpu placement='static'>4</vcpu> <vcpu placement='static'>4</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<os> <os>
<type arch='x86_64' machine='pc-q35-7.2'>hvm</type> <type arch='x86_64' machine='pc-q35-7.2'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
@ -37,117 +41,94 @@
<emulator>/usr/bin/qemu-system-x86_64</emulator> <emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'> <disk type='file' device='disk'>
<driver name='qemu' type='qcow2' discard='unmap'/> <driver name='qemu' type='qcow2' discard='unmap'/>
<source file='/var/lib/libvirt/images/monitoring.qcow2' index='1'/> <source file='/var/lib/libvirt/images/monitoring.qcow2'/>
<backingStore/>
<target dev='vda' bus='virtio'/> <target dev='vda' bus='virtio'/>
<alias name='virtio-disk0'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</disk> </disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'> <controller type='usb' index='0' model='qemu-xhci' ports='15'>
<alias name='usb'/>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller> </controller>
<controller type='pci' index='0' model='pcie-root'> <controller type='pci' index='0' model='pcie-root'/>
<alias name='pcie.0'/>
</controller>
<controller type='pci' index='1' model='pcie-root-port'> <controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='1' port='0x8'/> <target chassis='1' port='0x8'/>
<alias name='pci.1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
</controller> </controller>
<controller type='pci' index='2' model='pcie-root-port'> <controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='2' port='0x9'/> <target chassis='2' port='0x9'/>
<alias name='pci.2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller> </controller>
<controller type='pci' index='3' model='pcie-root-port'> <controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='3' port='0xa'/> <target chassis='3' port='0xa'/>
<alias name='pci.3'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller> </controller>
<controller type='pci' index='4' model='pcie-root-port'> <controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='4' port='0xb'/> <target chassis='4' port='0xb'/>
<alias name='pci.4'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
</controller> </controller>
<controller type='pci' index='5' model='pcie-root-port'> <controller type='pci' index='5' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='5' port='0xc'/> <target chassis='5' port='0xc'/>
<alias name='pci.5'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
</controller> </controller>
<controller type='pci' index='6' model='pcie-root-port'> <controller type='pci' index='6' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='6' port='0xd'/> <target chassis='6' port='0xd'/>
<alias name='pci.6'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
</controller> </controller>
<controller type='pci' index='7' model='pcie-root-port'> <controller type='pci' index='7' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='7' port='0xe'/> <target chassis='7' port='0xe'/>
<alias name='pci.7'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
</controller> </controller>
<controller type='pci' index='8' model='pcie-root-port'> <controller type='pci' index='8' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='8' port='0xf'/> <target chassis='8' port='0xf'/>
<alias name='pci.8'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
</controller> </controller>
<controller type='pci' index='9' model='pcie-root-port'> <controller type='pci' index='9' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='9' port='0x10'/> <target chassis='9' port='0x10'/>
<alias name='pci.9'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
</controller> </controller>
<controller type='pci' index='10' model='pcie-root-port'> <controller type='pci' index='10' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='10' port='0x11'/> <target chassis='10' port='0x11'/>
<alias name='pci.10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
</controller> </controller>
<controller type='pci' index='11' model='pcie-root-port'> <controller type='pci' index='11' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='11' port='0x12'/> <target chassis='11' port='0x12'/>
<alias name='pci.11'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller> </controller>
<controller type='pci' index='12' model='pcie-root-port'> <controller type='pci' index='12' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='12' port='0x13'/> <target chassis='12' port='0x13'/>
<alias name='pci.12'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
</controller> </controller>
<controller type='pci' index='13' model='pcie-root-port'> <controller type='pci' index='13' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='13' port='0x14'/> <target chassis='13' port='0x14'/>
<alias name='pci.13'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
</controller> </controller>
<controller type='pci' index='14' model='pcie-root-port'> <controller type='pci' index='14' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='14' port='0x15'/> <target chassis='14' port='0x15'/>
<alias name='pci.14'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
</controller> </controller>
<controller type='sata' index='0'> <controller type='sata' index='0'>
<alias name='ide'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller> </controller>
<controller type='virtio-serial' index='0'> <controller type='virtio-serial' index='0'>
<alias name='virtio-serial0'/>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller> </controller>
<interface type='network'> <interface type='network'>
<mac address='52:54:00:ff:b0:41'/> <mac address='52:54:00:ff:b0:41'/>
<source network='default' portid='aa0191e6-d64a-400c-bb1e-68a7c3da756d' bridge='virbr0'/> <source network='default'/>
<target dev='vnet3'/>
<model type='virtio'/> <model type='virtio'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface> </interface>
<interface type='hostdev' managed='yes'> <interface type='hostdev' managed='yes'>
@ -159,52 +140,29 @@
<vlan> <vlan>
<tag id='20'/> <tag id='20'/>
</vlan> </vlan>
<alias name='hostdev0'/>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
</interface> </interface>
<serial type='pty'> <serial type='pty'>
<source path='/dev/pts/4'/>
<target type='isa-serial' port='0'> <target type='isa-serial' port='0'>
<model name='isa-serial'/> <model name='isa-serial'/>
</target> </target>
<alias name='serial0'/>
</serial> </serial>
<console type='pty' tty='/dev/pts/4'> <console type='pty'>
<source path='/dev/pts/4'/>
<target type='serial' port='0'/> <target type='serial' port='0'/>
<alias name='serial0'/>
</console> </console>
<channel type='unix'> <channel type='unix'>
<source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-5-monitoring/org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0'/>
<target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
<alias name='channel0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/> <address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel> </channel>
<input type='mouse' bus='ps2'> <input type='mouse' bus='ps2'/>
<alias name='input0'/> <input type='keyboard' bus='ps2'/>
</input>
<input type='keyboard' bus='ps2'>
<alias name='input1'/>
</input>
<audio id='1' type='none'/> <audio id='1' type='none'/>
<memballoon model='virtio'> <memballoon model='virtio'>
<stats period='5'/>
<alias name='balloon0'/>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</memballoon> </memballoon>
<rng model='virtio'> <rng model='virtio'>
<backend model='random'>/dev/urandom</backend> <backend model='random'>/dev/urandom</backend>
<alias name='rng0'/>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</rng> </rng>
</devices> </devices>
<seclabel type='dynamic' model='apparmor' relabel='yes'>
<label>libvirt-b5954785-a436-4598-9e17-ea25d8209e21</label>
<imagelabel>libvirt-b5954785-a436-4598-9e17-ea25d8209e21</imagelabel>
</seclabel>
<seclabel type='dynamic' model='dac' relabel='yes'>
<label>+64055:+64055</label>
<imagelabel>+64055:+64055</imagelabel>
</seclabel>
</domain> </domain>

View File

@ -1,4 +1,11 @@
<domain type='kvm' id='6'> <!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit voip
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>voip</name> <name>voip</name>
<uuid>ab7dea2b-d424-468c-a35a-e44459c9bae6</uuid> <uuid>ab7dea2b-d424-468c-a35a-e44459c9bae6</uuid>
<metadata> <metadata>
@ -9,9 +16,6 @@
<memory unit='KiB'>2097152</memory> <memory unit='KiB'>2097152</memory>
<currentMemory unit='KiB'>2097152</currentMemory> <currentMemory unit='KiB'>2097152</currentMemory>
<vcpu placement='static'>2</vcpu> <vcpu placement='static'>2</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<os> <os>
<type arch='x86_64' machine='pc-q35-7.2'>hvm</type> <type arch='x86_64' machine='pc-q35-7.2'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
@ -38,210 +42,166 @@
<emulator>/usr/bin/qemu-system-x86_64</emulator> <emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'> <disk type='file' device='disk'>
<driver name='qemu' type='qcow2' discard='unmap'/> <driver name='qemu' type='qcow2' discard='unmap'/>
<source file='/var/lib/libvirt/images/voip.qcow2' index='2'/> <source file='/var/lib/libvirt/images/voip.qcow2'/>
<backingStore/>
<target dev='vda' bus='virtio'/> <target dev='vda' bus='virtio'/>
<alias name='virtio-disk0'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</disk> </disk>
<disk type='file' device='cdrom'> <disk type='file' device='cdrom'>
<driver name='qemu'/> <driver name='qemu' type='raw'/>
<target dev='sda' bus='sata'/> <target dev='sda' bus='sata'/>
<readonly/> <readonly/>
<alias name='sata0-0-0'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk> </disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'> <controller type='usb' index='0' model='qemu-xhci' ports='15'>
<alias name='usb'/>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller> </controller>
<controller type='pci' index='0' model='pcie-root'> <controller type='pci' index='0' model='pcie-root'/>
<alias name='pcie.0'/>
</controller>
<controller type='pci' index='1' model='pcie-root-port'> <controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='1' port='0x10'/> <target chassis='1' port='0x10'/>
<alias name='pci.1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
</controller> </controller>
<controller type='pci' index='2' model='pcie-root-port'> <controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='2' port='0x11'/> <target chassis='2' port='0x11'/>
<alias name='pci.2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
</controller> </controller>
<controller type='pci' index='3' model='pcie-root-port'> <controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='3' port='0x12'/> <target chassis='3' port='0x12'/>
<alias name='pci.3'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller> </controller>
<controller type='pci' index='4' model='pcie-root-port'> <controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='4' port='0x13'/> <target chassis='4' port='0x13'/>
<alias name='pci.4'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
</controller> </controller>
<controller type='pci' index='5' model='pcie-root-port'> <controller type='pci' index='5' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='5' port='0x14'/> <target chassis='5' port='0x14'/>
<alias name='pci.5'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
</controller> </controller>
<controller type='pci' index='6' model='pcie-root-port'> <controller type='pci' index='6' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='6' port='0x15'/> <target chassis='6' port='0x15'/>
<alias name='pci.6'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
</controller> </controller>
<controller type='pci' index='7' model='pcie-root-port'> <controller type='pci' index='7' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='7' port='0x16'/> <target chassis='7' port='0x16'/>
<alias name='pci.7'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
</controller> </controller>
<controller type='pci' index='8' model='pcie-root-port'> <controller type='pci' index='8' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='8' port='0x17'/> <target chassis='8' port='0x17'/>
<alias name='pci.8'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
</controller> </controller>
<controller type='pci' index='9' model='pcie-root-port'> <controller type='pci' index='9' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='9' port='0x18'/> <target chassis='9' port='0x18'/>
<alias name='pci.9'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
</controller> </controller>
<controller type='pci' index='10' model='pcie-root-port'> <controller type='pci' index='10' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='10' port='0x19'/> <target chassis='10' port='0x19'/>
<alias name='pci.10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
</controller> </controller>
<controller type='pci' index='11' model='pcie-root-port'> <controller type='pci' index='11' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='11' port='0x1a'/> <target chassis='11' port='0x1a'/>
<alias name='pci.11'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
</controller> </controller>
<controller type='pci' index='12' model='pcie-root-port'> <controller type='pci' index='12' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='12' port='0x1b'/> <target chassis='12' port='0x1b'/>
<alias name='pci.12'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
</controller> </controller>
<controller type='pci' index='13' model='pcie-root-port'> <controller type='pci' index='13' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='13' port='0x1c'/> <target chassis='13' port='0x1c'/>
<alias name='pci.13'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
</controller> </controller>
<controller type='pci' index='14' model='pcie-root-port'> <controller type='pci' index='14' model='pcie-root-port'>
<model name='pcie-root-port'/> <model name='pcie-root-port'/>
<target chassis='14' port='0x1d'/> <target chassis='14' port='0x1d'/>
<alias name='pci.14'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
</controller> </controller>
<controller type='sata' index='0'> <controller type='sata' index='0'>
<alias name='ide'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller> </controller>
<controller type='virtio-serial' index='0'> <controller type='virtio-serial' index='0'>
<alias name='virtio-serial0'/>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller> </controller>
<interface type='network'> <interface type='network'>
<mac address='52:54:00:9c:30:89'/> <mac address='52:54:00:9c:30:89'/>
<source network='default' portid='bde477ac-a8b1-4e8a-95d6-a29662fd18b6' bridge='virbr0'/> <source network='default'/>
<target dev='vnet4'/>
<model type='virtio'/> <model type='virtio'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface> </interface>
<interface type='hostdev' managed='yes'> <interface type='hostdev' managed='yes'>
<mac address='52:54:00:22:d1:53'/> <mac address='52:54:00:22:d1:53'/>
<driver name='vfio'/>
<source> <source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x10' function='0x6'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x10' function='0x6'/>
</source> </source>
<vlan> <vlan>
<tag id='26'/> <tag id='26'/>
</vlan> </vlan>
<alias name='hostdev0'/>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
</interface> </interface>
<interface type='hostdev' managed='yes'>
<mac address='52:54:00:26:d0:57'/>
<source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x11' function='0x6'/>
</source>
<vlan>
<tag id='20'/>
</vlan>
<address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
</interface>
<serial type='pty'> <serial type='pty'>
<source path='/dev/pts/3'/>
<target type='isa-serial' port='0'> <target type='isa-serial' port='0'>
<model name='isa-serial'/> <model name='isa-serial'/>
</target> </target>
<alias name='serial0'/>
</serial> </serial>
<console type='pty' tty='/dev/pts/3'> <console type='pty'>
<source path='/dev/pts/3'/>
<target type='serial' port='0'/> <target type='serial' port='0'/>
<alias name='serial0'/>
</console> </console>
<channel type='unix'> <channel type='unix'>
<source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-6-voip/org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0'/>
<target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
<alias name='channel0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/> <address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel> </channel>
<channel type='spicevmc'> <channel type='spicevmc'>
<target type='virtio' name='com.redhat.spice.0' state='disconnected'/> <target type='virtio' name='com.redhat.spice.0'/>
<alias name='channel1'/>
<address type='virtio-serial' controller='0' bus='0' port='2'/> <address type='virtio-serial' controller='0' bus='0' port='2'/>
</channel> </channel>
<input type='tablet' bus='usb'> <input type='tablet' bus='usb'>
<alias name='input0'/>
<address type='usb' bus='0' port='1'/> <address type='usb' bus='0' port='1'/>
</input> </input>
<input type='mouse' bus='ps2'> <input type='mouse' bus='ps2'/>
<alias name='input1'/> <input type='keyboard' bus='ps2'/>
</input> <graphics type='spice' autoport='yes'>
<input type='keyboard' bus='ps2'> <listen type='address'/>
<alias name='input2'/>
</input>
<graphics type='spice' port='5901' autoport='yes' listen='127.0.0.1'>
<listen type='address' address='127.0.0.1'/>
</graphics> </graphics>
<sound model='ich9'> <sound model='ich9'>
<alias name='sound0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
</sound> </sound>
<audio id='1' type='spice'/> <audio id='1' type='spice'/>
<video> <video>
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/> <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
<alias name='video0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
</video> </video>
<redirdev bus='usb' type='spicevmc'> <redirdev bus='usb' type='spicevmc'>
<alias name='redir0'/>
<address type='usb' bus='0' port='2'/> <address type='usb' bus='0' port='2'/>
</redirdev> </redirdev>
<redirdev bus='usb' type='spicevmc'> <redirdev bus='usb' type='spicevmc'>
<alias name='redir1'/>
<address type='usb' bus='0' port='3'/> <address type='usb' bus='0' port='3'/>
</redirdev> </redirdev>
<memballoon model='virtio'> <memballoon model='virtio'>
<stats period='5'/>
<alias name='balloon0'/>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</memballoon> </memballoon>
<rng model='virtio'> <rng model='virtio'>
<backend model='random'>/dev/urandom</backend> <backend model='random'>/dev/urandom</backend>
<alias name='rng0'/>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</rng> </rng>
</devices> </devices>
<seclabel type='dynamic' model='apparmor' relabel='yes'>
<label>libvirt-ab7dea2b-d424-468c-a35a-e44459c9bae6</label>
<imagelabel>libvirt-ab7dea2b-d424-468c-a35a-e44459c9bae6</imagelabel>
</seclabel>
<seclabel type='dynamic' model='dac' relabel='yes'>
<label>+64055:+64055</label>
<imagelabel>+64055:+64055</imagelabel>
</seclabel>
</domain> </domain>

View File

@ -0,0 +1,168 @@
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit web
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>web</name>
<uuid>46eff1d4-2596-49ba-9f9b-b4d0a8922af5</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://debian.org/debian/11"/>
</libosinfo:libosinfo>
</metadata>
<memory unit='KiB'>2097152</memory>
<currentMemory unit='KiB'>2097152</currentMemory>
<vcpu placement='static'>2</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-7.2'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode='host-passthrough' check='none' migratable='on'/>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' discard='unmap'/>
<source file='/var/lib/libvirt/images/web.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pcie-root'/>
<controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='1' port='0x8'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='2' port='0x9'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='3' port='0xa'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='4' port='0xb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
</controller>
<controller type='pci' index='5' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='5' port='0xc'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
</controller>
<controller type='pci' index='6' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='6' port='0xd'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
</controller>
<controller type='pci' index='7' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='7' port='0xe'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
</controller>
<controller type='pci' index='8' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='8' port='0xf'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
</controller>
<controller type='pci' index='9' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='9' port='0x10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='10' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='10' port='0x11'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
</controller>
<controller type='pci' index='11' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='11' port='0x12'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller>
<controller type='pci' index='12' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='12' port='0x13'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
</controller>
<controller type='pci' index='13' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='13' port='0x14'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
</controller>
<controller type='pci' index='14' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='14' port='0x15'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
</controller>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller>
<interface type='network'>
<mac address='52:54:00:5f:9f:e4'/>
<source network='default'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface>
<interface type='hostdev' managed='yes'>
<mac address='52:54:00:34:20:ba'/>
<driver name='vfio'/>
<source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x11' function='0x4'/>
</source>
<vlan>
<tag id='23'/>
</vlan>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<channel type='unix'>
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</memballoon>
<rng model='virtio'>
<backend model='random'>/dev/urandom</backend>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</rng>
</devices>
</domain>

View File

@ -0,0 +1,168 @@
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit workshop
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>workshop</name>
<uuid>6d7a3b5e-0e9a-4d0d-9806-df3086e71eed</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://debian.org/debian/11"/>
</libosinfo:libosinfo>
</metadata>
<memory unit='KiB'>2097152</memory>
<currentMemory unit='KiB'>2097152</currentMemory>
<vcpu placement='static'>2</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-7.2'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode='host-passthrough' check='none' migratable='on'/>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' discard='unmap'/>
<source file='/var/lib/libvirt/images/workshop.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pcie-root'/>
<controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='1' port='0x8'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='2' port='0x9'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='3' port='0xa'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='4' port='0xb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
</controller>
<controller type='pci' index='5' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='5' port='0xc'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
</controller>
<controller type='pci' index='6' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='6' port='0xd'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
</controller>
<controller type='pci' index='7' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='7' port='0xe'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
</controller>
<controller type='pci' index='8' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='8' port='0xf'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
</controller>
<controller type='pci' index='9' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='9' port='0x10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='10' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='10' port='0x11'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
</controller>
<controller type='pci' index='11' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='11' port='0x12'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller>
<controller type='pci' index='12' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='12' port='0x13'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
</controller>
<controller type='pci' index='13' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='13' port='0x14'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
</controller>
<controller type='pci' index='14' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='14' port='0x15'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
</controller>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller>
<interface type='network'>
<mac address='52:54:00:24:29:09'/>
<source network='default'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface>
<interface type='hostdev' managed='yes'>
<mac address='52:54:00:36:79:9f'/>
<driver name='vfio'/>
<source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x11' function='0x2'/>
</source>
<vlan>
<tag id='27'/>
</vlan>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<channel type='unix'>
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</memballoon>
<rng model='virtio'>
<backend model='random'>/dev/urandom</backend>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</rng>
</devices>
</domain>

View File

@ -0,0 +1,164 @@
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit dns
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>dns</name>
<uuid>3c603d11-23d5-46b0-b944-390923af9f3d</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://debian.org/debian/11"/>
</libosinfo:libosinfo>
</metadata>
<memory unit='KiB'>4194304</memory>
<currentMemory unit='KiB'>4194304</currentMemory>
<vcpu placement='static'>2</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-7.2'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode='host-passthrough' check='none' migratable='on'/>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' discard='unmap'/>
<source file='/var/lib/libvirt/images/dns.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pcie-root'/>
<controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='1' port='0x8'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='2' port='0x9'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='3' port='0xa'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='4' port='0xb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
</controller>
<controller type='pci' index='5' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='5' port='0xc'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
</controller>
<controller type='pci' index='6' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='6' port='0xd'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
</controller>
<controller type='pci' index='7' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='7' port='0xe'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
</controller>
<controller type='pci' index='8' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='8' port='0xf'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
</controller>
<controller type='pci' index='9' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='9' port='0x10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='10' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='10' port='0x11'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
</controller>
<controller type='pci' index='11' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='11' port='0x12'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller>
<controller type='pci' index='12' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='12' port='0x13'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
</controller>
<controller type='pci' index='13' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='13' port='0x14'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
</controller>
<controller type='pci' index='14' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='14' port='0x15'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
</controller>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller>
<interface type='network'>
<mac address='52:54:00:8b:8a:79'/>
<source network='default'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface>
<interface type='hostdev' managed='yes'>
<mac address='52:54:00:f0:6b:15'/>
<source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x10' function='0x2'/>
</source>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<channel type='unix'>
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</memballoon>
<rng model='virtio'>
<backend model='random'>/dev/urandom</backend>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</rng>
</devices>
</domain>

View File

@ -0,0 +1,165 @@
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit gateway-debian
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>gateway-debian</name>
<uuid>c48ea7cd-eca3-4f49-af4e-2ee6027f567c</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://debian.org/debian/11"/>
</libosinfo:libosinfo>
</metadata>
<memory unit='KiB'>4194304</memory>
<currentMemory unit='KiB'>4194304</currentMemory>
<vcpu placement='static'>4</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-7.2'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode='host-passthrough' check='none' migratable='on'/>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' discard='unmap'/>
<source file='/var/lib/libvirt/images/gateway.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pcie-root'/>
<controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='1' port='0x8'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='2' port='0x9'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='3' port='0xa'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='4' port='0xb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
</controller>
<controller type='pci' index='5' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='5' port='0xc'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
</controller>
<controller type='pci' index='6' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='6' port='0xd'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
</controller>
<controller type='pci' index='7' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='7' port='0xe'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
</controller>
<controller type='pci' index='8' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='8' port='0xf'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
</controller>
<controller type='pci' index='9' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='9' port='0x10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='10' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='10' port='0x11'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
</controller>
<controller type='pci' index='11' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='11' port='0x12'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller>
<controller type='pci' index='12' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='12' port='0x13'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
</controller>
<controller type='pci' index='13' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='13' port='0x14'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
</controller>
<controller type='pci' index='14' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='14' port='0x15'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
</controller>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller>
<interface type='network'>
<mac address='52:54:00:29:ef:e7'/>
<source network='default'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface>
<interface type='hostdev' managed='yes'>
<mac address='52:54:00:6f:41:a4'/>
<driver name='vfio'/>
<source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x10' function='0x0'/>
</source>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<channel type='unix'>
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</memballoon>
<rng model='virtio'>
<backend model='random'>/dev/urandom</backend>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</rng>
</devices>
</domain>

View File

@ -0,0 +1,185 @@
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit gateway-openwrt
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>gateway-openwrt</name>
<uuid>89849f20-f741-4425-917b-3d22908319d1</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://libosinfo.org/linux/2022"/>
</libosinfo:libosinfo>
</metadata>
<memory unit='KiB'>4194304</memory>
<currentMemory unit='KiB'>4194304</currentMemory>
<vcpu placement='static' cpuset='0-7'>8</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-7.2'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<vmport state='off'/>
</features>
<cpu mode='host-passthrough' check='none' migratable='on'/>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='raw'/>
<source file='/var/lib/libvirt/images/gateway-openwrt.qcow2'/>
<target dev='sda' bus='scsi'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pcie-root'/>
<controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='1' port='0x10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='2' port='0x11'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
</controller>
<controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='3' port='0x12'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller>
<controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='4' port='0x13'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
</controller>
<controller type='pci' index='5' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='5' port='0x14'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
</controller>
<controller type='pci' index='6' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='6' port='0x15'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
</controller>
<controller type='pci' index='7' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='7' port='0x16'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
</controller>
<controller type='pci' index='8' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='8' port='0x17'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
</controller>
<controller type='pci' index='9' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='9' port='0x18'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='10' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='10' port='0x19'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
</controller>
<controller type='pci' index='11' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='11' port='0x1a'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
</controller>
<controller type='pci' index='12' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='12' port='0x1b'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
</controller>
<controller type='pci' index='13' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='13' port='0x1c'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
</controller>
<controller type='pci' index='14' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='14' port='0x1d'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
</controller>
<controller type='scsi' index='0' model='virtio-scsi'>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</controller>
<interface type='hostdev' managed='yes'>
<mac address='52:54:00:fc:8b:68'/>
<source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x10' function='0x0'/>
</source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface>
<interface type='network'>
<mac address='52:54:00:e4:08:fd'/>
<source network='default'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<channel type='unix'>
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<channel type='spicevmc'>
<target type='virtio' name='com.redhat.spice.0'/>
<address type='virtio-serial' controller='0' bus='0' port='2'/>
</channel>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='spice' autoport='yes'>
<listen type='address'/>
</graphics>
<audio id='1' type='spice'/>
<video>
<model type='virtio' heads='1' primary='yes'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
</video>
<redirdev bus='usb' type='spicevmc'>
<address type='usb' bus='0' port='1'/>
</redirdev>
<redirdev bus='usb' type='spicevmc'>
<address type='usb' bus='0' port='2'/>
</redirdev>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</memballoon>
<rng model='virtio'>
<backend model='random'>/dev/urandom</backend>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</rng>
</devices>
</domain>

View File

@ -0,0 +1,168 @@
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit mediamtx
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>mediamtx</name>
<uuid>4aa8beaa-6ae7-42ef-9f42-3119812617a3</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://debian.org/debian/11"/>
</libosinfo:libosinfo>
</metadata>
<memory unit='KiB'>2097152</memory>
<currentMemory unit='KiB'>2097152</currentMemory>
<vcpu placement='static'>2</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-7.2'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode='host-passthrough' check='none' migratable='on'/>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' discard='unmap'/>
<source file='/var/lib/libvirt/images/mediamtx-1.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pcie-root'/>
<controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='1' port='0x8'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='2' port='0x9'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='3' port='0xa'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='4' port='0xb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
</controller>
<controller type='pci' index='5' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='5' port='0xc'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
</controller>
<controller type='pci' index='6' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='6' port='0xd'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
</controller>
<controller type='pci' index='7' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='7' port='0xe'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
</controller>
<controller type='pci' index='8' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='8' port='0xf'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
</controller>
<controller type='pci' index='9' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='9' port='0x10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='10' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='10' port='0x11'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
</controller>
<controller type='pci' index='11' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='11' port='0x12'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller>
<controller type='pci' index='12' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='12' port='0x13'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
</controller>
<controller type='pci' index='13' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='13' port='0x14'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
</controller>
<controller type='pci' index='14' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='14' port='0x15'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
</controller>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller>
<interface type='network'>
<mac address='52:54:00:f4:46:3e'/>
<source network='default'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface>
<interface type='hostdev' managed='yes'>
<mac address='52:54:00:23:40:3d'/>
<driver name='vfio'/>
<source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x11' function='0x0'/>
</source>
<vlan>
<tag id='23'/>
</vlan>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<channel type='unix'>
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</memballoon>
<rng model='virtio'>
<backend model='random'>/dev/urandom</backend>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</rng>
</devices>
</domain>

View File

@ -0,0 +1,168 @@
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit monitoring
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>monitoring</name>
<uuid>b5954785-a436-4598-9e17-ea25d8209e21</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://debian.org/debian/11"/>
</libosinfo:libosinfo>
</metadata>
<memory unit='KiB'>4194304</memory>
<currentMemory unit='KiB'>4194304</currentMemory>
<vcpu placement='static'>4</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-7.2'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode='host-passthrough' check='none' migratable='on'/>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' discard='unmap'/>
<source file='/var/lib/libvirt/images/monitoring.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pcie-root'/>
<controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='1' port='0x8'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='2' port='0x9'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='3' port='0xa'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='4' port='0xb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
</controller>
<controller type='pci' index='5' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='5' port='0xc'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
</controller>
<controller type='pci' index='6' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='6' port='0xd'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
</controller>
<controller type='pci' index='7' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='7' port='0xe'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
</controller>
<controller type='pci' index='8' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='8' port='0xf'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
</controller>
<controller type='pci' index='9' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='9' port='0x10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='10' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='10' port='0x11'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
</controller>
<controller type='pci' index='11' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='11' port='0x12'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller>
<controller type='pci' index='12' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='12' port='0x13'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
</controller>
<controller type='pci' index='13' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='13' port='0x14'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
</controller>
<controller type='pci' index='14' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='14' port='0x15'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
</controller>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller>
<interface type='network'>
<mac address='52:54:00:ff:b0:41'/>
<source network='default'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface>
<interface type='hostdev' managed='yes'>
<mac address='52:54:00:69:1a:de'/>
<driver name='vfio'/>
<source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x10' function='0x4'/>
</source>
<vlan>
<tag id='20'/>
</vlan>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<channel type='unix'>
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</memballoon>
<rng model='virtio'>
<backend model='random'>/dev/urandom</backend>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</rng>
</devices>
</domain>

View File

@ -0,0 +1,174 @@
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit snort
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>snort</name>
<uuid>e9294f94-dbb5-4975-a313-6ce7460429db</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://debian.org/debian/11"/>
</libosinfo:libosinfo>
</metadata>
<memory unit='KiB'>4194304</memory>
<currentMemory unit='KiB'>4194304</currentMemory>
<vcpu placement='static'>2</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-7.2'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode='host-passthrough' check='none' migratable='on'/>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' discard='unmap'/>
<source file='/var/lib/libvirt/images/snort.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pcie-root'/>
<controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='1' port='0x8'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='2' port='0x9'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='3' port='0xa'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='4' port='0xb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
</controller>
<controller type='pci' index='5' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='5' port='0xc'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
</controller>
<controller type='pci' index='6' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='6' port='0xd'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
</controller>
<controller type='pci' index='7' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='7' port='0xe'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
</controller>
<controller type='pci' index='8' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='8' port='0xf'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
</controller>
<controller type='pci' index='9' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='9' port='0x10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='10' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='10' port='0x11'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
</controller>
<controller type='pci' index='11' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='11' port='0x12'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller>
<controller type='pci' index='12' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='12' port='0x13'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
</controller>
<controller type='pci' index='13' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='13' port='0x14'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
</controller>
<controller type='pci' index='14' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='14' port='0x15'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
</controller>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller>
<interface type='network'>
<mac address='52:54:00:ec:d2:a4'/>
<source network='default'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface>
<interface type='hostdev' managed='yes'>
<mac address='52:54:00:84:8b:2c'/>
<driver name='vfio'/>
<source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x12' function='0x0'/>
</source>
<vlan>
<tag id='20'/>
</vlan>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<channel type='unix'>
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/>
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
</source>
<address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
</hostdev>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</memballoon>
<rng model='virtio'>
<backend model='random'>/dev/urandom</backend>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</rng>
</devices>
</domain>

View File

@ -0,0 +1,207 @@
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit voip
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>voip</name>
<uuid>ab7dea2b-d424-468c-a35a-e44459c9bae6</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://debian.org/debian/10"/>
</libosinfo:libosinfo>
</metadata>
<memory unit='KiB'>2097152</memory>
<currentMemory unit='KiB'>2097152</currentMemory>
<vcpu placement='static'>2</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-7.2'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<vmport state='off'/>
</features>
<cpu mode='host-passthrough' check='none' migratable='on'/>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' discard='unmap'/>
<source file='/var/lib/libvirt/images/voip.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</disk>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<target dev='sda' bus='sata'/>
<readonly/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pcie-root'/>
<controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='1' port='0x10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='2' port='0x11'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
</controller>
<controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='3' port='0x12'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller>
<controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='4' port='0x13'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
</controller>
<controller type='pci' index='5' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='5' port='0x14'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
</controller>
<controller type='pci' index='6' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='6' port='0x15'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
</controller>
<controller type='pci' index='7' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='7' port='0x16'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
</controller>
<controller type='pci' index='8' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='8' port='0x17'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
</controller>
<controller type='pci' index='9' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='9' port='0x18'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='10' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='10' port='0x19'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
</controller>
<controller type='pci' index='11' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='11' port='0x1a'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
</controller>
<controller type='pci' index='12' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='12' port='0x1b'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
</controller>
<controller type='pci' index='13' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='13' port='0x1c'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
</controller>
<controller type='pci' index='14' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='14' port='0x1d'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
</controller>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller>
<interface type='network'>
<mac address='52:54:00:9c:30:89'/>
<source network='default'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface>
<interface type='hostdev' managed='yes'>
<mac address='52:54:00:22:d1:53'/>
<source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x10' function='0x6'/>
</source>
<vlan>
<tag id='26'/>
</vlan>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
</interface>
<interface type='hostdev' managed='yes'>
<mac address='52:54:00:26:d0:57'/>
<source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x11' function='0x6'/>
</source>
<vlan>
<tag id='20'/>
</vlan>
<address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<channel type='unix'>
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<channel type='spicevmc'>
<target type='virtio' name='com.redhat.spice.0'/>
<address type='virtio-serial' controller='0' bus='0' port='2'/>
</channel>
<input type='tablet' bus='usb'>
<address type='usb' bus='0' port='1'/>
</input>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='spice' autoport='yes'>
<listen type='address'/>
</graphics>
<sound model='ich9'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
</sound>
<audio id='1' type='spice'/>
<video>
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
</video>
<redirdev bus='usb' type='spicevmc'>
<address type='usb' bus='0' port='2'/>
</redirdev>
<redirdev bus='usb' type='spicevmc'>
<address type='usb' bus='0' port='3'/>
</redirdev>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</memballoon>
<rng model='virtio'>
<backend model='random'>/dev/urandom</backend>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</rng>
</devices>
</domain>

View File

@ -0,0 +1,168 @@
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit web
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>web</name>
<uuid>46eff1d4-2596-49ba-9f9b-b4d0a8922af5</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://debian.org/debian/11"/>
</libosinfo:libosinfo>
</metadata>
<memory unit='KiB'>2097152</memory>
<currentMemory unit='KiB'>2097152</currentMemory>
<vcpu placement='static'>2</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-7.2'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode='host-passthrough' check='none' migratable='on'/>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' discard='unmap'/>
<source file='/var/lib/libvirt/images/web.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pcie-root'/>
<controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='1' port='0x8'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='2' port='0x9'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='3' port='0xa'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='4' port='0xb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
</controller>
<controller type='pci' index='5' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='5' port='0xc'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
</controller>
<controller type='pci' index='6' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='6' port='0xd'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
</controller>
<controller type='pci' index='7' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='7' port='0xe'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
</controller>
<controller type='pci' index='8' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='8' port='0xf'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
</controller>
<controller type='pci' index='9' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='9' port='0x10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='10' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='10' port='0x11'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
</controller>
<controller type='pci' index='11' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='11' port='0x12'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller>
<controller type='pci' index='12' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='12' port='0x13'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
</controller>
<controller type='pci' index='13' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='13' port='0x14'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
</controller>
<controller type='pci' index='14' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='14' port='0x15'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
</controller>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller>
<interface type='network'>
<mac address='52:54:00:5f:9f:e4'/>
<source network='default'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface>
<interface type='hostdev' managed='yes'>
<mac address='52:54:00:34:20:ba'/>
<driver name='vfio'/>
<source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x11' function='0x4'/>
</source>
<vlan>
<tag id='23'/>
</vlan>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<channel type='unix'>
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</memballoon>
<rng model='virtio'>
<backend model='random'>/dev/urandom</backend>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</rng>
</devices>
</domain>

View File

@ -0,0 +1,168 @@
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit workshop
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>workshop</name>
<uuid>6d7a3b5e-0e9a-4d0d-9806-df3086e71eed</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://debian.org/debian/11"/>
</libosinfo:libosinfo>
</metadata>
<memory unit='KiB'>2097152</memory>
<currentMemory unit='KiB'>2097152</currentMemory>
<vcpu placement='static'>2</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-7.2'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode='host-passthrough' check='none' migratable='on'/>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' discard='unmap'/>
<source file='/var/lib/libvirt/images/workshop.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pcie-root'/>
<controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='1' port='0x8'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='2' port='0x9'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='3' port='0xa'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='4' port='0xb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
</controller>
<controller type='pci' index='5' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='5' port='0xc'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
</controller>
<controller type='pci' index='6' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='6' port='0xd'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
</controller>
<controller type='pci' index='7' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='7' port='0xe'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
</controller>
<controller type='pci' index='8' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='8' port='0xf'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
</controller>
<controller type='pci' index='9' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='9' port='0x10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='10' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='10' port='0x11'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
</controller>
<controller type='pci' index='11' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='11' port='0x12'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller>
<controller type='pci' index='12' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='12' port='0x13'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
</controller>
<controller type='pci' index='13' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='13' port='0x14'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
</controller>
<controller type='pci' index='14' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='14' port='0x15'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
</controller>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller>
<interface type='network'>
<mac address='52:54:00:24:29:09'/>
<source network='default'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface>
<interface type='hostdev' managed='yes'>
<mac address='52:54:00:36:79:9f'/>
<driver name='vfio'/>
<source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x11' function='0x2'/>
</source>
<vlan>
<tag id='27'/>
</vlan>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<channel type='unix'>
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</memballoon>
<rng model='virtio'>
<backend model='random'>/dev/urandom</backend>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</rng>
</devices>
</domain>

View File

@ -0,0 +1,2 @@
Unit file - in /etc/systemd/system
Timers - /opt/timers, openfest-timer@.service

View File

@ -0,0 +1,14 @@
[Unit]
Description=OpenFest Timer (%i)
After=network.target
[Service]
EnvironmentFile=/opt/timer/%i.env
Type=simple
Restart=on-failure
WorkingDirectory=/opt/timer
ExecStart=/usr/bin/env node app.js
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,10 @@
# Unbound configuration file for Debian.
#
# See the unbound.conf(5) man page.
#
# See /usr/share/doc/unbound/examples/unbound.conf for a commented
# reference config file.
#
# The following line includes additional configuration files from the
# /etc/unbound/unbound.conf.d directory.
include-toplevel: "/etc/unbound/unbound.conf.d/*.conf"

View File

@ -0,0 +1,5 @@
remote-control:
control-enable: yes
# by default the control interface is is 127.0.0.1 and ::1 and port 8953
# it is possible to use a unix socket too
control-interface: /run/unbound.ctl

View File

@ -0,0 +1,4 @@
server:
# The following line will configure unbound to perform cryptographic
# DNSSEC validation using the root trust anchor.
auto-trust-anchor-file: "/var/lib/unbound/root.key"

View File

@ -0,0 +1,2 @@
server:
include: "/etc/unbound/unbound.conf.d/server.d/*.conf"

View File

@ -0,0 +1,3 @@
interface: 0.0.0.0
interface: ::0
port: 53

View File

@ -0,0 +1,8 @@
access-control: 127.0.0.0/8 allow
access-control: ::1 allow
access-control: ::ffff:127.0.0.1 allow
access-control: 10.0.0.0/8 allow
access-control: ::/0 refuse
access-control: 0.0.0.0/0 refuse

View File

@ -0,0 +1,4 @@
local-zone: "openfest.org." transparent
local-data: "timer.openfest.org. IN A 10.23.0.4"
local-data: "stream.openfest.org. IN A 185.117.82.69"

View File

@ -0,0 +1,120 @@
access-control-view: 10.20.0.0/24 "mgmt" # Management
access-control-view: 10.23.0.0/24 "mgmt" # Video
access-control-view: 10.26.0.0/24 "mgmt" # VoIP
access-control-view: 127.0.0.0/8 "mgmt" # localhost
access-control-view: ::1 "mgmt" # localhost
access-control-view: ::ffff:127.0.0.1 "mgmt" # localhost
view:
name: "mgmt"
view-first: yes
# Hypervisor
local-data: "sonata.openfest.org. IN A 10.20.0.254"
local-data: "hypervisor.openfest.org. IN A 10.20.0.254"
local-data: "254.0.20.10.in-addr.arpa IN PTR sonata.openfest.org."
# VMs
local-data: "gateway.openfest.org. IN A 10.20.0.1"
local-data: "gw.openfest.org. IN A 10.20.0.1"
local-data: "1.0.20.10.in-addr.arpa IN PTR gw.openfest.org."
local-data: "1.0.21.10.in-addr.arpa IN PTR gw.openfest.org."
local-data: "1.0.22.10.in-addr.arpa IN PTR gw.openfest.org."
local-data: "1.0.23.10.in-addr.arpa IN PTR gw.openfest.org."
local-data: "1.0.24.10.in-addr.arpa IN PTR gw.openfest.org."
local-data: "1.0.25.10.in-addr.arpa IN PTR gw.openfest.org."
local-data: "1.0.26.10.in-addr.arpa IN PTR gw.openfest.org."
local-data: "1.0.27.10.in-addr.arpa IN PTR gw.openfest.org."
local-data: "dns.openfest.org. IN A 10.20.0.2"
local-data: "2.0.21.10.in-addr.arpa IN PTR dns.openfest.org."
local-data: "2.0.22.10.in-addr.arpa IN PTR dns.openfest.org."
local-data: "2.0.23.10.in-addr.arpa IN PTR dns.openfest.org."
local-data: "2.0.24.10.in-addr.arpa IN PTR dns.openfest.org."
local-data: "2.0.25.10.in-addr.arpa IN PTR dns.openfest.org."
local-data: "2.0.26.10.in-addr.arpa IN PTR dns.openfest.org."
local-data: "2.0.27.10.in-addr.arpa IN PTR dns.openfest.org."
local-data: "monitoring.openfest.org. IN A 10.20.0.253"
local-data: "253.0.20.10.in-addr.arpa IN PTR monitoring.openfest.org."
# Switches
local-data: "coresw.openfest.org. IN A 10.20.0.11"
local-data: "core-sw.openfest.org. IN A 10.20.0.11"
local-data: "11.0.20.10.in-addr.arpa IN PTR coresw.openfest.org."
local-data: "fl0sw.openfest.org. IN A 10.20.0.15"
local-data: "floor0-sw.openfest.org. IN A 10.20.0.15"
local-data: "15.0.20.10.in-addr.arpa IN PTR fl0sw.openfest.org."
local-data: "ws-sw.openfest.org. IN A 10.20.0.16"
local-data: "workshop-sw.openfest.org. IN A 10.20.0.16"
local-data: "16.0.20.10.in-addr.arpa IN PTR ws-sw.openfest.org."
local-data: "vocsw-a.openfest.org. IN A 10.20.0.21"
local-data: "21.0.20.10.in-addr.arpa IN PTR vocsw-a.openfest.org."
local-data: "vocsw-b.openfest.org. IN A 10.20.0.22"
local-data: "22.0.20.10.in-addr.arpa IN PTR vocsw-b.openfest.org."
local-data: "receptionsw.openfest.org. IN A 10.20.0.25"
local-data: "25.0.20.10.in-addr.arpa IN PTR receptionsw.openfest.org."
local-data: "teamsw.openfest.org. IN A 10.20.0.26"
local-data: "26.0.20.10.in-addr.arpa IN PTR teamsw.openfest.org."
local-data: "nocsw.openfest.org. IN A 10.20.0.28"
local-data: "28.0.20.10.in-addr.arpa IN PTR noc.openfest.org."
# AP
local-data: "ap-fl.openfest.org. IN A 10.20.0.50"
local-data: "50.0.20.10.in-addr.arpa IN PTR ap-fl.openfest.org."
local-data: "ap-fr.openfest.org. IN A 10.20.0.51"
local-data: "51.0.20.10.in-addr.arpa IN PTR ap-fr.openfest.org."
local-data: "ap-voc-a1.openfest.org. IN A 10.20.0.52"
local-data: "52.0.20.10.in-addr.arpa IN PTR ap-voc-a1.openfest.org."
local-data: "ap-voc-a2.openfest.org. IN A 10.20.0.53"
local-data: "53.0.20.10.in-addr.arpa IN PTR ap-voc-a2.openfest.org."
local-data: "ap-voc-b.openfest.org. IN A 10.20.0.54"
local-data: "54.0.20.10.in-addr.arpa IN PTR ap-voc-b.openfest.org."
local-data: "ap-ws-c.openfest.org. IN A 10.20.0.55"
local-data: "55.0.20.10.in-addr.arpa IN PTR ap-ws-c.openfest.org."
local-data: "ap-team.openfest.org. IN A 10.20.0.56"
local-data: "56.0.20.10.in-addr.arpa IN PTR ap-team.openfest.org."
local-data: "ap-ws-l.openfest.org. IN A 10.20.0.57"
local-data: "57.0.20.10.in-addr.arpa IN PTR ap-ws-l.openfest.org."
local-data: "ap-ws-r.openfest.org. IN A 10.20.0.58"
local-data: "58.0.20.10.in-addr.arpa IN PTR ap-ws-r.openfest.org."
# Video
local-data: "mediamtx.openfest.org. IN A 10.23.0.3"
local-data: "10.23.0.3 IN PTR mediamtx.openfest.org."
local-data: "web.openfest.org. IN A 10.23.0.4"
local-data: "10.23.0.4 IN PTR web.openfest.org."
local-data: "AVMatrixPVS0613-hall-b.openfest.org. IN A 10.23.0.80"
local-data: "80.0.23.10.in-addr.arpa IN PTR AVMatrixPVS0613-hall-b.openfest.org."
local-data: "AVMATRIXSE1217-hall-b.openfest.org. IN A 10.23.0.81"
local-data: "81.0.23.10.in-addr.arpa IN PTR AVMATRIXSE1217-hall-b.openfest.org."
local-data: "videolaptop-hall-b.openfest.org. IN A 10.23.0.82"
local-data: "82.0.23.10.in-addr.arpa IN PTR videolaptop-hall-b.openfest.org."
local-data: "videolaptopteam-hall-b.openfest.org. IN A 10.23.0.83"
local-data: "83.0.23.10.in-addr.arpa IN PTR videolaptopteam-hall-b.openfest.org."
local-data: "84.0.23.10.in-addr.arpa IN PTR reserved-hall-b.openfest.org."
local-data: "85.0.23.10.in-addr.arpa IN PTR reserved-hall-b.openfest.org."
local-data: "86.0.23.10.in-addr.arpa IN PTR reserved-hall-b.openfest.org."
local-data: "87.0.23.10.in-addr.arpa IN PTR reserved-hall-b.openfest.org."
local-data: "88.0.23.10.in-addr.arpa IN PTR reserved-hall-b.openfest.org."
local-data: "89.0.23.10.in-addr.arpa IN PTR reserved-hall-b.openfest.org."
# Overflow
local-data: "overflow-up.openfest.org. IN A 10.24.0.12"
local-data: "12.0.24.10.in-addr.arpa IN PTR overflow-up.openfest.org."
local-data: "overflow-down.openfest.org. IN A 10.24.0.103"
local-data: "103.0.24.10.in-addr.arpa IN PTR overflow-down.openfest.org."
# Reception ?
# VoIP
local-data: "voip.openfest.org. IN A 10.26.0.3"
local-data: "voip.voice.openfest.org. IN A 10.26.0.3"
local-data: "3.0.26.10.in-addr.arpa IN PTR voip.openfest.org."
# Workshop
local-data: "3.0.27.10.in-addr.arpa IN PTR workshop.openfest.org."
local-data: "workshop.openfest.org. IN A 10.27.0.3"

View File

@ -0,0 +1,5 @@
# Use Google DNS // GitHub
forward-zone:
name: "."
forward-addr: 8.8.8.8
forward-addr: 8.8.4.4