Compare commits
16 Commits
a80d97d3ab
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
74d1b66c21 | ||
|
|
dd3f79ac7e | ||
|
|
2406b81b19 | ||
|
|
25365afd86 | ||
|
|
be2f85380d | ||
|
|
d8a09db2ce | ||
|
|
5802cdbde8 | ||
|
|
3a1d4708a4 | ||
|
|
27391ed096 | ||
|
|
c75c79a7ce | ||
|
|
5ee048e1dc | ||
|
|
828338cd41 | ||
|
|
3a350f2f12 | ||
|
|
518b87325f | ||
|
|
d4092f4280 | ||
|
|
1f364a1289 |
19
.gitea/workflows/demo.yaml
Normal file
19
.gitea/workflows/demo.yaml
Normal 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 }}."
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# Optimized, libvirt-compatible definitions for common OS
|
# Lbvirt-compatible VM definitions for common OS
|
||||||
|
|
||||||
## Goal
|
## Goal
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user