FS#3142 : QEMU on arm64 cannot shut down OpenWRT 19.07
bugs.openwrt.org › indexQEMU Guest Agent has a package for OpenWRT but the package is broken due to the base implementation of OpenWRT. QEMU Guest Agent forks a process that calls /sbin/shutdown with several flags when ordered to shut down. /sbin/shutdown does not exist in the base system. The flags passed are not compatible with /sbin/poweroff.
[OpenWrt Wiki] OpenWrt in QEMU
openwrt.org › docs › guide-userJan 02, 2022 · OpenWrt in QEMU QEMU is an an open source processor emulator (and virtualizer). This document describes how to run OpenWrt in QEMU. If you are looking to use OpenWrt as a QEMU host, see Running QEMU guests on OpenWrt. It is mixed descriptions from Windows and Linux, so please read through all of it before starting.
Features/GuestAgent - QEMU
https://wiki.qemu.org/Features/GuestAgentThis support is targeted for a future QAPI-based rework of QMP, however, so currently, for QEMU 0.15, the guest agent is exposed to the host via a separate QEMU chardev device (generally, a unix socket) that communicates with the agent using the QMP wire protocol (minus the negotiation) over a virtio-serial or isa-serial channel to the guest.