How to initiate power-off in quest with new microvm machine type
From:
Waldek Kozaczuk
Subject:
How to initiate power-off in quest with new microvm machine type
Date:
Tue, 12 Nov 2019 07:28:24 -0500
Hi,
I am referring to the machine type described here - https://github.com/qemu/qemu/blob/master/docs/microvm.rst. I would like to know how to initiate power-off sequence from a guest given that ACPI is not available. On firecracker the only way is generating Ctrl-Alt-Del keyboard event by writing proper value to the keyboard controller port 0xfe like so:
outb(0x64, 0xfe);
What is the corresponding mechanism on QEMU with microvm machine?