发明名称 Function transfer using virtualized mapping
摘要 The present disclosure includes a method for migration of a first virtual function of a first device located on a PCI bus and accessible by a device driver using a virtual address. A second virtual function is created on a second device. A base address is determined for the second virtual function as a function of a logical location of the second device within the PCI structure. An offset is determined for the second virtual function as a function of the base address and the virtual address. The device driver is notified that the first virtual function is on hold. The offset is stored in a translation table. The device driver is notified that the hold has been lifted. Accesses to the virtual address and by the device driver to memory of the second virtual function are routed based upon the offset in the translation table.
申请公布号 US9256559(B2) 申请公布日期 2016.02.09
申请号 US201313969664 申请日期 2013.08.19
申请人 International Business Machines Corporation 发明人 Hart Brian W.;Jiang Liang;Kalavakolanu Anil;Moore Shannon D.;Wallis Robert E.;Yeung Evelyn T.
分类号 G06F9/455;G06F13/28;G06F13/16;G06F9/50 主分类号 G06F9/455
代理机构 代理人 Dobson Scott S.;Tyson Thomas E.
主权项 1. A method for migration of a first virtual function of a first device located on a Peripheral Component Interconnect (PCI) bus within a PCI structure and accessible by a device driver using a virtual address, the method comprising: creating a second virtual function on a second device; determining a base address for the second virtual function as a function of a logical location of the second device within the PCI structure; determining an offset for the second virtual function as a function of the base address and the virtual address; notifying the device driver that the first virtual function is on hold; storing the offset in a translation table; notifying the device driver that the hold has been lifted; and routing accesses to the virtual address and by the device driver to memory of the second virtual function in response to the offset in the translation table.
地址 Armonk NY US