Re: How to properly turn off guest VM on server shutdown?

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

 



Hi!

Does anyone have sample scripts for this job?

I know you can send the 'system_powerdown' command to the qemu-monitor,
this CAN work for windows guests as far as i know.

What other commands could be used in shutdown scripts?

Regards,
  Markus


Am 24.01.2010 18:00, schrieb Daniel Bareiro:
> Hi, Anthony.
> 
> On Sunday, 24 January 2010 09:29:08 -0600,
> Anthony Liguori wrote:
> 
>> But the origin of the question here is probably, can something
>> automatically shut down guests when a machine shutdowns down via the
>> normal mechanism.  AFAIK, libvirt does not support this today although
>> there are some scripts floating around the intertubes that can drive
>> this operation through libvirt.
> 
> Well.. perhaps I'm confused because I did these tests a long time ago.
> But now that you mention it, I believe that I had tried was that,
> through virsh commands, the VM shutdown could be done from the VMHost
> being it always running.
> 
> I suppose that scripts that you mention will call to virsh when shutdown
> becomes of the VMHost.
> 
> Regards,
> Daniel

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux