On 09/08/2010 03:07 PM, Bill Rees wrote:
> Is there a description of how vmtools power control works?  For instance, how
> does the power button signal trigger the poweroff-vm-default script?

There isn't a formal spec that I know of, but from the tools side, all action
regarding power scripts happens in the powerOps plugin (source in
open-vm-tools/services/plugins/powerOps).

The host has to explicitly send a "power op request" to tools for the scripts to
run. On Workstation, that would be the "Shut Down Guest" command (while "Power
Off" is like pulling the power cord).

-- 
- Marcelo

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
open-vm-tools-devel mailing list
open-vm-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel

Reply via email to