qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: initiating reboot/shutdown for a microvm machine?


From: Gerd Hoffmann
Subject: Re: initiating reboot/shutdown for a microvm machine?
Date: Mon, 21 Feb 2022 12:42:30 +0100

On Sat, Feb 19, 2022 at 02:50:34PM +0300, Michael Tokarev wrote:
> Hi!
> 
> In the ol'good days, I used Ctrl-Alt-Delete sequence to initiate a guest
> shutdown. But with microvm, guest does not see this event anymore.
> What is the good way to tell a guest vm to shut down from the outside,
> besides running full-blown guest agent?

Sending a shutdown request via acpi should work just fine
(machine/powerdown in the gtk ui, there a monitor command for that too).

microvm doesn't have a ps2 keyboard, so if you want send ctrl-alt-del
instead you have to add some keyboard device (virtio or usb) so the
guest has a chance to receive the input event ;)

take care,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]