Method, device and system for migrating virtual machine and fiber channel switch

The invention relates to a method, a device and a system for migrating a virtual machine and a fiber channel switch. When the virtual machine is migrated from a first host machine to a second host machine, the second host machine receives an informing message that the virtual machine is migrated to the second host machine, wherein the informing message is sent by perception and control equipment of a virtual system; a migration request message is sent to the FC (fiber channel) switch according to the informing message; the FC awitch receives the migration request message; according to the migration request message, registration information of the virtual machine is migrated from a first port for being connected with the first host machine to a second port for being connected with the second host machine, and a forwarding table is modified; and data information sent by the virtual machine is received through the second port or is sent to the virtual machine. The problem that after migration, the virtual machine cannot access an FC network or a service is interrupted is solved.