Patent ID: 9547514
Date: 2017-01-17
CPC Classifications: G06F

Claim:
1. A method for maintaining services in a cloned virtual machine, the method comprising: detecting a cloning operation of a virtual machine, by an agent process executing within the cloned virtual machine, the cloning operation causing the cloned virtual machine to be generated from a source virtual machine having a first virtual network interface card (VNIC) with a first machine access control (MAC) address, the cloned virtual machine having a second VNIC with a second MAC address unique from the first MAC address, wherein the detecting of the cloning operation comprises: from the context of the cloned virtual machine, detecting a change in VNICs, wherein the first VNIC having the first MAC address of the source virtual machine is no longer present in the cloned virtual machine, and a new VNIC having a different MAC address is present, the new VNIC being the second VNIC of the cloned virtual machine; and causing a device identifier associated with the second VNIC of the cloned virtual machine to be changed, by the agent process executing within the cloned virtual machine, to match a device identifier associated with the first VNIC of the source virtual machine, the device identifier of the cloned virtual machine being generated by a guest operating system running in the cloned virtual machine upon detection of the presence of the second VNIC with the second MAC address.