Patent ID: 9141434
Filing Date: 2015-09-22
Classification: G06F

Abstract:
1. A method comprising: receiving, by a hypervisor executed by a processor, a command to clone a virtual machine, the virtual machine using a plurality of resources; determining, by the hypervisor, whether any of the plurality of resources used by the virtual machine is in a non-shareable state indicative that at least one of the virtual machine holds a lock on any of the plurality of resources or any of the plurality of resources contains secure data, wherein the plurality of resources comprise at least one of a virtual resource or a physical resource; delaying, by the hypervisor, cloning of the virtual machine if any of the plurality of resources used by the virtual machine is in the non-shareable state, until the plurality of resources used by the virtual machine are in a shareable state indicative that at least one of the virtual machine released all locks on the plurality of resources or the plurality of resources contains only non-secure data; and blocking, during the delaying and until after the cloning, a request to obtain a new lock on the plurality of resources.