1. A method for migrating virtual machine parameters, comprising: receiving a virtual machine parameter migration message at a not-running stage of a virtual machine, wherein the virtual machine parameter migration message is used to cause an upstream network device of the virtual machine to migrate virtual machine parameters of the virtual machine at the not-running stage of the virtual machine, and the virtual machine parameter migration message comprises an identifier of the virtual machine.