Kevin Schoon 1 year 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-- 1 year 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-- 1 year 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