US 11,740,920 B2
Methods and systems for migrating virtual functions in association with virtual machines
Chaitanya Huilgol, Bengaluru (IN); Balakrishnan Raman, Fremont, CA (US); Harinadh Nagulapalli, San Jose, CA (US); Murty Subba Rama Chandra Kotha, San Jose, CA (US); Sanjay Shanbhogue, Santa Clara, CA (US); Varada Raja Kumar Kari, Bengaluru (IN); and Vishwas Danivas, Santa Clara, CA (US)
Assigned to Pensando Systems Inc., Milpitas, CA (US)
Filed by Pensando Systems Inc., Milpitas, CA (US)
Filed on Oct. 8, 2020, as Appl. No. 17/66,246.
Claims priority of provisional application 63/082,413, filed on Sep. 23, 2020.
Prior Publication US 2022/0091872 A1, Mar. 24, 2022
Int. Cl. G06F 9/455 (2018.01); G06F 13/42 (2006.01)
CPC G06F 9/45558 (2013.01) [G06F 13/4221 (2013.01); G06F 2009/4557 (2013.01); G06F 2009/45579 (2013.01); G06F 2009/45583 (2013.01); G06F 2009/45595 (2013.01); G06F 2213/0026 (2013.01)] 19 Claims
OG exemplary drawing
 
1. A method comprising:
running a virtual machine (VM) on a host that includes a peripheral component interconnect express (PCIe) device using single root input output virtualization (SR-IOV) to implement a virtual function (VF), the VM configured to use the VF on the PCIe device;
quiescing the VF;
in response to quiescing the VF, halting the VM in a VM state and then obtaining a VM state data that indicates the VM state;
in response to quiescing the VF, halting the VF in a PCIe state and then obtaining a PCIe state data that indicates the PCIe state;
using the PCIe state data to restart the VF in the PCIe state on a second PCIe device of a second host; and
after restarting the VF, using the VM state data to restart the VM in the VM state on the second host such that the VM is configured to use the VF on the second PCIe device as soon as the VM is restarted.