摘要 |
A service context management method, a physical main machine, a PCIE device and a migration management device, which belong to the field of virtual machines and are applicable to virtual machines. A virtual machine is run on a physical main machine, the physical main machine is connected to a peripheral component interconnection express (PCIE) device, the PCIE device is a hardware device that satisfies a single-root input/output virtualization (SR-IOV) standard, and the PCIE device comprises at least one physical function (PF) and at least one virtual function (VF), wherein each of the PFs and each of the VFs are both configured with a unique functional number. The method comprises: a virtual machine allocates a memory to at least one state unloading service borne by a PCIE device (101); the virtual machine generates a context table in the memory, wherein the context table is used for recording service context of the at least one state unloading service borne by the PCIE device (102); and the virtual machine sends a first address of the memory and a functional number to the PCIE device (103). |