Patent ID: 8296760

Claim:
A method comprising: receiving a first command responsive to activation of a power button to place a first physical machine into a lower power mode, wherein the first physical machine has a virtual machine; and in response to the first command, performing a procedure to migrate the virtual machine from the first physical machine to a second physical machine, wherein performing the procedure to migrate comprises: calling a function in a placement controller in response to receiving the first command to place the first physical machine into a lower power mode, where the activation of the power button is mapped to the function in the placement controller; receiving a message responsive to calling the function, wherein the message identifies the second physical machine as a destination physical machine; receiving a second command indicating another activation of the power button prior to migrating the virtual machine from the first physical machine to the second physical machine; and cancelling migration of the virtual machine from the first physical machine to the second physical machine in response to the second command.