Re: Guest restarting after issuing a shutdown

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

 



On Fri, Apr 01, 2022 at 11:12:50AM -0400, jonetsu wrote:
> guest : % shutdown now
> host  :   Domain creation completed.
> host  :   Restarting guest.
> (virt-manager shows the guest restarting)

Try passing --no-reboot to virt-install.

> host  : % virsh shutdown test02
> (nothing happens, guest still shown)

If the guest OS is fully booted up at this point, you should be able
to initiate a clean shutdown from the host.

If that doesn't work, make sure your VM configuration contains

  <domain>
    ...
    <features>
      <acpi/>
    </features>
    ...
    <on_poweroff>destroy</on_poweroff>
    ...
  </domain>

and that there is some software running in the guest that will
process the ACPI event appropriately. systemd will usually take care
of that part.

-- 
Andrea Bolognani / Red Hat / Virtualization




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux