Compare commits

..

16 Commits

Author SHA1 Message Date
Lukas Greve
74d1b66c21 yo
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
2025-07-17 18:26:32 +02:00
Lukas Greve
dd3f79ac7e change title 2025-07-17 18:24:34 +02:00
Lukas Greve
2406b81b19 change title
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6m26s
2025-06-27 22:46:39 +02:00
Lukas Greve
25365afd86 test workflow file
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
2025-06-27 22:45:33 +02:00
Lukas Greve
be2f85380d remove extra clock, host-model CPU 2025-06-21 14:50:00 +02:00
Lukas Greve
d8a09db2ce kvmclock, host-model CPU, remove vmport 2025-06-21 14:49:08 +02:00
Lukas Greve
5802cdbde8 kvmclock without catchup policy, suspend to mem and disk, delete vsock, remove dbus, delete smartcard 2025-06-21 14:48:37 +02:00
Lukas Greve
3a1d4708a4 kvmclock, host-model CPU, automatic firmware, no vmport 2025-06-21 14:46:35 +02:00
Lukas Greve
27391ed096 kvmclock, host-model CPU, automatic firmware, suspend to mem and disk 2025-06-21 14:45:47 +02:00
Lukas Greve
c75c79a7ce improve enlightments selection 2025-06-08 11:55:47 +02:00
Lukas Greve
5ee048e1dc change cpu mode, add kvmclock 2025-06-08 11:55:25 +02:00
Lukas Greve
828338cd41 Remove a duplicated line, change memory unit for memory 2025-06-01 19:54:46 +02:00
luz
3a350f2f12 add virtio sound, switch to automatic efi firmware, change virtio fs path 2025-06-01 15:46:13 +02:00
luz
518b87325f add virtio sound, switch to automatic efi firmware, change virtio fs path, add memory backing with memfd, change to mouse 2025-06-01 15:45:55 +02:00
luz
d4092f4280 add virtio sound 2025-06-01 15:43:48 +02:00
luz
1f364a1289 add virtio sound 2025-06-01 15:43:30 +02:00
8 changed files with 110 additions and 86 deletions

View File

@@ -0,0 +1,19 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."

View File

@@ -1,4 +1,4 @@
# Optimized, libvirt-compatible definitions for common OS # Lbvirt-compatible VM definitions for common OS
## Goal ## Goal

View File

@@ -1,34 +1,34 @@
<domain type='kvm'> <domain type='kvm'>
<name>linux515</name> <name>linux515</name>
<memory unit='KiB'>4194304</memory>
<description>Rootless QEMU virtual machine model optimized for Linux guests running at least kernel 5.15. Secure boot is disabled</description> <description>Rootless QEMU virtual machine model optimized for Linux guests running at least kernel 5.15. Secure boot is disabled</description>
<memory unit="KiB">4194304</memory> <memory unit="GiB">4</memory>
<currentMemory unit="KiB">1048576</currentMemory> <currentMemory unit="GiB">1</currentMemory>
<memoryBacking>
<source type="memfd"/>
<access mode="shared"/>
</memoryBacking>
<vcpu placement='static'>4</vcpu> <vcpu placement='static'>4</vcpu>
<os> <os firmware="efi">
<type arch='x86_64' machine='q35'>hvm</type> <type arch="x86_64" machine="q35">hvm</type>
<loader readonly='yes' secure='no' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader> <loader secure='no'/>
<boot dev='cdrom'/> <boot dev="cdrom"/>
</os> </os>
<features> <features>
<acpi/> <acpi/>
<apic/> <apic/>
<vmport state='off'/>
</features> </features>
<cpu mode="host-passthrough" check="none" migratable="on"> <cpu mode="host-model">
<topology sockets="1" dies="1" cores="2" threads="2"/> <topology sockets="1" dies="1" cores="2" threads="2"/>
</cpu> </cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='kvmclock'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock> </clock>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash> <on_crash>destroy</on_crash>
<pm> <pm>
<suspend-to-mem enabled='no'/> <suspend-to-mem enabled='yes'/>
<suspend-to-disk enabled='no'/> <suspend-to-disk enabled='yes'/>
</pm> </pm>
<devices> <devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator> <emulator>/usr/bin/qemu-system-x86_64</emulator>
@@ -39,24 +39,22 @@
<readonly/> <readonly/>
</disk> </disk>
<controller type='virtio-serial' index='0'> <controller type='virtio-serial' index='0'>
<model type='virtio-non-transitional'/>
</controller> </controller>
<interface type='user'> <interface type='user'>
<backend type='passt'/>
<model type='virtio'/> <model type='virtio'/>
</interface> </interface>
<console type='pty'> <console type='pty'>
<target type='virtio' port='0'/> <target type='virtio' port='0'/>
</console> </console>
<channel type="spicevmc">
<target type="virtio" name="com.redhat.spice.0"/>
<address type="virtio-serial" controller="0" bus="0" port="1"/>
</channel>
<channel type='unix'> <channel type='unix'>
<target type='virtio' name='org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='2'/> <address type='virtio-serial' controller='0' bus='0' port='2'/>
</channel> </channel>
<input type='keyboard' bus='virtio'> <input type='keyboard' bus='virtio'>
</input> </input>
<input type='tablet' bus='virtio'> <input type='mouse' bus='virtio'>
</input> </input>
<tpm model="tpm-crb"> <tpm model="tpm-crb">
<backend type="emulator" version="2.0"/> <backend type="emulator" version="2.0"/>
@@ -71,10 +69,17 @@
<acceleration accel3d="yes"/> <acceleration accel3d="yes"/>
</model> </model>
</video> </video>
<memballoon model="virtio"/> <sound model="virtio"/>
<rng model='virtio'> <memballoon model="virtio-non-transitional"/>
<rng model="virtio-non-transitional">
<backend model='random'>/dev/urandom</backend> <backend model='random'>/dev/urandom</backend>
</rng> </rng>
<filesystem type="mount" accessmode="passthrough">
<driver type="virtiofs"/>
<source dir="/mnt"/>
<target dir="mnt"/>
<readonly/>
</filesystem>
<iommu model="virtio"/> <iommu model="virtio"/>
</devices> </devices>
</domain> </domain>

View File

@@ -5,30 +5,31 @@
<memory unit="KiB">4194304</memory> <memory unit="KiB">4194304</memory>
<currentMemory unit="KiB">1048576</currentMemory> <currentMemory unit="KiB">1048576</currentMemory>
<vcpu placement='static'>4</vcpu> <vcpu placement='static'>4</vcpu>
<os> <memoryBacking>
<type arch='x86_64' machine='q35'>hvm</type> <source type="memfd"/>
<loader readonly='yes' secure='no' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader> <access mode="shared"/>
<boot dev='cdrom'/> </memoryBacking>
<os firmware="efi">
<type arch="x86_64" machine="q35">hvm</type>
<loader secure='no'/>
<boot dev="cdrom"/>
</os> </os>
<features> <features>
<acpi/> <acpi/>
<apic/> <apic/>
<vmport state='off'/>
</features> </features>
<cpu mode="host-passthrough" check="none" migratable="on"> <cpu mode="host-model">
<topology sockets="1" dies="1" cores="2" threads="2"/> <topology sockets="1" dies="1" cores="2" threads="2"/>
</cpu> </cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='kvmclock'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock> </clock>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash> <on_crash>destroy</on_crash>
<pm> <pm>
<suspend-to-mem enabled='no'/> <suspend-to-mem enabled='yes'/>
<suspend-to-disk enabled='no'/> <suspend-to-disk enabled='yes'/>
</pm> </pm>
<devices> <devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator> <emulator>/usr/bin/qemu-system-x86_64</emulator>
@@ -71,6 +72,7 @@
<acceleration accel3d="yes"/> <acceleration accel3d="yes"/>
</model> </model>
</video> </video>
<sound model="virtio"/>
<memballoon model="virtio"/> <memballoon model="virtio"/>
<rng model='virtio'> <rng model='virtio'>
<backend model='random'>/dev/urandom</backend> <backend model='random'>/dev/urandom</backend>

View File

@@ -9,23 +9,20 @@
<access mode="shared"/> <access mode="shared"/>
</memoryBacking> </memoryBacking>
<vcpu placement='static'>4</vcpu> <vcpu placement='static'>4</vcpu>
<os> <os firmware="efi">
<type arch='x86_64' machine='q35'>hvm</type> <type arch="x86_64" machine="q35">hvm</type>
<loader readonly='yes' secure='no' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader> <loader secure='no'/>
<boot dev='cdrom'/> <boot dev="cdrom"/>
</os> </os>
<features> <features>
<acpi/> <acpi/>
<apic/> <apic/>
<vmport state='off'/>
</features> </features>
<cpu mode="host-passthrough" check="none" migratable="on"> <cpu mode="host-model">
<topology sockets="1" dies="1" cores="2" threads="2"/> <topology sockets="1" dies="1" cores="2" threads="2"/>
</cpu> </cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='kvmclock'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock> </clock>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>
@@ -80,12 +77,13 @@
<rng model='virtio'> <rng model='virtio'>
<backend model='random'>/dev/urandom</backend> <backend model='random'>/dev/urandom</backend>
</rng> </rng>
<sound model="virtio"/>
<filesystem type="mount" accessmode="passthrough"> <filesystem type="mount" accessmode="passthrough">
<driver type="virtiofs"/> <driver type="virtiofs"/>
<source dir="/mnt/"/> <source dir="/var/lib/libvirt/isos/"/>
<target dir="share"/> <target dir="isos"/>
<readonly/>
</filesystem> </filesystem>
<iommu model="virtio"/> <iommu model="virtio"/>
</devices> </devices>
</domain> </domain>

View File

@@ -9,23 +9,20 @@
<access mode="shared"/> <access mode="shared"/>
</memoryBacking> </memoryBacking>
<vcpu placement='static'>4</vcpu> <vcpu placement='static'>4</vcpu>
<os> <os firmware="efi">
<type arch='x86_64' machine='q35'>hvm</type> <type arch="x86_64" machine="q35">hvm</type>
<loader readonly='yes' secure='no' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader> <loader secure='no'/>
<boot dev='cdrom'/> <boot dev="cdrom"/>
</os> </os>
<features> <features>
<acpi/> <acpi/>
<apic/> <apic/>
<vmport state='off'/>
</features> </features>
<cpu mode="host-passthrough" check="none" migratable="on"> <cpu mode="host-model">
<topology sockets="1" dies="1" cores="2" threads="2"/> <topology sockets="1" dies="1" cores="2" threads="2"/>
</cpu> </cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='kvmclock'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock> </clock>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>
@@ -76,6 +73,7 @@
<acceleration accel3d="yes"/> <acceleration accel3d="yes"/>
</model> </model>
</video> </video>
<sound model="virtio"/>
<memballoon model="virtio"/> <memballoon model="virtio"/>
<rng model='virtio'> <rng model='virtio'>
<backend model='random'>/dev/urandom</backend> <backend model='random'>/dev/urandom</backend>

View File

@@ -8,39 +8,40 @@
<access mode="shared"/> <access mode="shared"/>
</memoryBacking> </memoryBacking>
<vcpu placement='static'>4</vcpu> <vcpu placement='static'>4</vcpu>
<os> <os firmware="efi">
<type arch='x86_64' machine='q35'>hvm</type> <type arch="x86_64" machine="q35">hvm</type>
<loader readonly='yes' secure='no' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader> <loader secure='no'/>
<boot dev='cdrom'/> <boot dev="cdrom"/>
</os> </os>
<features> <features>
<acpi/> <acpi/>
<apic/> <apic/>
<hyperv mode="custom"> <hyperv mode="custom">
<relaxed state="on"/> <relaxed state='on'/>
<vapic state="on"/> <vapic state='on'/>
<spinlocks state="on" retries="8191"/> <spinlocks state='on' retries='4096'/>
<vpindex state="on"/> <vpindex state='on'/>
<runtime state="on"/> <runtime state='on'/>
<synic state="on"/> <synic state='on'/>
<stimer state="on"/> <stimer state='on'>
<vendor_id state='on' value='Phyllome OS'/> <direct state='on'/>
<frequencies state="on"/> </stimer>
<tlbflush state="on"/> <reset state='on'/>
<ipi state="on"/> <frequencies state='on'/>
<reenlightenment state='on'/>
<tlbflush state='on'>
<direct state='on'/>
<extended state='on'/>
</tlbflush>
</hyperv> </hyperv>
<kvm> <kvm>
<hidden state='on'/> <hidden state='on'/>
</kvm> </kvm>
<vmport state="off"/>
</features> </features>
<cpu mode="host-passthrough" check="none" migratable="on"> <cpu mode="host-model">
<topology sockets="1" dies="1" cores="2" threads="2"/> <topology sockets="1" dies="1" cores="2" threads="2"/>
</cpu> </cpu>
<clock offset="localtime"> <clock offset="localtime">
<timer name="rtc" tickpolicy="catchup"/>
<timer name="pit" tickpolicy="delay"/>
<timer name="hpet" present="no"/>
<timer name="hypervclock" present="yes"/> <timer name="hypervclock" present="yes"/>
</clock> </clock>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>

View File

@@ -19,28 +19,29 @@
<hyperv mode="custom"> <hyperv mode="custom">
<relaxed state="on"/> <relaxed state="on"/>
<vapic state="on"/> <vapic state="on"/>
<spinlocks state="on" retries="8191"/> <spinlocks state="on" retries="4096"/>
<vpindex state="on"/> <vpindex state="on"/>
<runtime state="on"/> <runtime state="on"/>
<synic state="on"/> <synic state="on"/>
<stimer state="on"/> <stimer state="on">
<vendor_id state='on' value='Phyllome OS'/> <direct state="on"/>
</stimer>
<reset state="on"/>
<frequencies state="on"/> <frequencies state="on"/>
<tlbflush state="on"/> <reenlightenment state="on"/>
<ipi state="on"/> <tlbflush state="on">
<direct state="on"/>
<extended state="on"/>
</tlbflush>
</hyperv> </hyperv>
<kvm> <kvm>
<hidden state='on'/> <hidden state="on"/>
</kvm> </kvm>
<vmport state="off"/>
</features> </features>
<cpu mode="host-passthrough" check="none" migratable="on"> <cpu mode="host-model">
<topology sockets="1" dies="1" cores="2" threads="2"/> <topology sockets="1" dies="1" cores="2" threads="2"/>
</cpu> </cpu>
<clock offset="localtime"> <clock offset="localtime">
<timer name="rtc" tickpolicy="catchup"/>
<timer name="pit" tickpolicy="delay"/>
<timer name="hpet" present="no"/>
<timer name="hypervclock" present="yes"/> <timer name="hypervclock" present="yes"/>
</clock> </clock>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>