- In the VM's Options, set QEMU Guest Agent to enabled (then power-cycle the VM).
- Inside a Linux guest:
sudo apt install qemu-guest-agent && sudo systemctl enable --now qemu-guest-agent. - On Windows, install the guest agent from the VirtIO driver ISO.
Benefits: the host can shut the guest down cleanly, shows its IP addresses, freezes the file system for consistent snapshot backups and can set the time after a pause. Check from the host: qm agent <vmid> ping (no output means it works).