No, that is NOT how it works. The UPS cannot send a SIGHUP, it isn't running Linux.
The UPS only drops a logical voltage on a pin on the serial interface. (Or sends a serial string via USB.) It is up to the computer and OS to correctly interpret (or ignore) that.
The real question is: can multiple virtual machines even be communicating with a UPS? Better yet, is there a function in the hypervisor that will simply act on behalf of the UPS and shut down (or suspend) all VMs at once....?
Chuck Stickelman wrote:
So what I hear you say is: Hook the UPS to the physical machine Have the host OS monitor the UPS's state When the UPS signals the host it sends a SIGHUP to the Virtual Machines The VMs should then interpret the SIGHUP as a Shutdown command Is that what you had in mnd? Does anyone know if that's how it works? Chuck -----Original Message----- From: "Mike" <mikeb@xxxxxxxxxxxxxx> To: "ncolug@xxxxxxxxxxxxx" <ncolug@xxxxxxxxxxxxx> Sent: 11/22/2007 8:26 PM Subject: [ncolug] Re: vm larry wrote:Obviously, I am researching the Microsoft product.Obviously, I don't care about M$ products!I don't see this as a huge issue with zen, uml, or virtualbox. Don't know or really care about Vmware either.The virtual machine is simply a process to the host. Either it takes a signal to shutdown cleanly or it doesn't. Hopefully the former. If not it isn't worthy of any production related work.Mike To unsubscribe send to ncolug-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field. To unsubscribe send to ncolug-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field.
--"Perception is strong and sight weak. In strategy it is important to see distant things as if they were close and to take a distanced view of close things." Miyamoto Musashi (1584-1645)
To unsubscribe send to ncolug-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field.