Kevin Schoon 8 months ago
7 commits
4c74aa83 main
install system service along with user for systemd
file commit size mode time
.gitignore rewrite in c (WIP) 34 B -rw-r--r-- 1 year ago
Makefile install system service along with user for systemd 998 B -rw-r--r-- 8 months ago
README.md finished working implemention 558 B -rw-r--r-- 1 year ago
contrib finished working implemention NaN B d--------- 1 year ago
main.c install system service along with user for systemd 4.4 KiB -rw-r--r-- 8 months ago
test.sh finished working implemention 275 B -rwxr-xr-x 1 year ago

qemu-shim

A tiny process manager for QEMU that can gracefully shutdown VMs with interrupt signals. It was inspired by Arch Linux’s QEMU wiki.

The script makes a few assumptions about the arguments that it is given.

  • The args contain a valid QEMU command
  • The args contain a -monitor flag configured with a UNIX socket. TCP/Telnet is not supported.
  • The guest OS supports ACPI shutdown signals

Example

qemu-shim qemu-system-x86_64 -monitor unix:/tmp/fuu.socket,server,nowait

Clone

HTTP

Subscribe

License

Authors

Kevin Schoon: 100%

Analysis

Recent Activity (90 days) 0 10 20 30 40 50 60 70 80 90 Composition [216 LOC] C Makefile Shell Markdown 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%