Kevin Schoon 6 months ago
7 commits
main
4c74aa83
install system service along with user for systemd
README.md

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