etchdroid/Run with QEMU VM

Run a command while a QEMU VM is running

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Apr 3, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: etchdroid/qemu-kvm-action@44a25fe79f7d1defeca027ddc8fccbcabb966b04 # v1.0.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
qemu-executablePath to the QEMU executablenoqemu-system-x86_64
video-recordWhether to enable Xvfb and record a video. You still need to enable the display output in the QEMU flags.nofalse
video-outputPath to the video output filenorecording.mkv
video-resolutionVideo recording resolution (virtual display resolution)no1280x800
xbfb-screenXvfb screen numberno0
x11-displayX11 display numberno:95
cpuSelect CPU (run `qemu-system-x86_64 -cpu help` to see available CPUs)nohost
enable-kvmWhether to enable KVMnotrue
smpNumber of CPUsno4
memoryMemory size in MBno4096
kernelPath to kernel image to boot, if booting a kernel directlyno""
initrdPath to initrd image to boot, if booting a kernel directlyno""
cmdlineKernel command line arguments, if booting a kernel directlyno""
flagsAdditional flags to pass to QEMU, newline-separatedno""
runScript to run in the VMyes
shellShell to use to run the scriptnobash
namedescription
run-idThe ID of the run
ffmpeg-pidThe PID of the ffmpeg process, if video recording is enabled
xvfb-pidThe PID of the Xvfb process, if video recording is enabled
qemu-pidThe PID of the QEMU process
i3-pidThe PID of the i3 process, if video recording is enabled
video-outputThe path to the video output file