On 07/18/2016 02:37 AM, David Sommerseth wrote:
On 18/07/16 08:31, ToddAndMargo wrote:
Hi All,
What do yo have to do inside a Fedora 25 and Windows 7 Pro Virtual Machine
to get them to respond to virt-manager's shutdown command?
Many thanks,
-T
I'm surprised Fedora 25 doesn't do that for you, I've used Fedora 20+
and all of them have, AFAIR, responded to that.
IIRC, you need to have a guest agent running on the guests to make this
work flawlessly. Otherwise you can use the ACPI mode, which simulates a
hardware interrupt.
-----------------------------------------------
virsh # help shutdown
NAME
shutdown - gracefully shutdown a domain
SYNOPSIS
shutdown <domain> [--mode <string>]
DESCRIPTION
Run shutdown in the target domain.
OPTIONS
[--domain] <string> domain name, id or uuid
--mode <string> shutdown mode: acpi|agent|initctl|signal|paravirt
virsh #
-----------------------------------------------
For more info:
<http://wiki.libvirt.org/page/Qemu_guest_agent>
I think what is happening is that I am trying to shutdown
crashed machines and, of course, it wouldn't work.
I tested healthy machines and they do shutdown.
So, oh well.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~