Patent attributes
A virtual machine live migration is performed. A port mirroring rule for a source virtual machine in source computer is created by a computer system such that ingress traffic received at the source computer for the source virtual machine is delivered to both the source virtual machine and a target virtual machine on a target computer. The port mirroring rule is established prior to the virtual machine live migration from the source virtual machine to the target virtual machine. The source virtual machine on the source computer is migrated by the computer system to the target virtual machine on the target computer in which the port mirroring rule directs the ingress traffic to both the source virtual machine and the target virtual machine while the source virtual machine is migrated from the source computer to the target virtual machine on the target computer during the virtual machine live migration.