Invention Grant
- Patent Title: Live migration method and apparatus for virtual machine passthrough device
-
Application No.: US16353136Application Date: 2019-03-14
-
Publication No.: US10963286B2Publication Date: 2021-03-30
- Inventor: Yongji Xie , Wen Chai , Yu Zhang
- Applicant: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Applicant Address: CN Beijing
- Assignee: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Current Assignee: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Current Assignee Address: CN Beijing
- Agency: Seed IP Law Group LLP
- Priority: CN201810590075.8 20180608
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/455

Abstract:
A live migration method for a virtual machine passthrough device, includes: performing a register state synchronization method by calling a register state synchronization interface; cancelling a passthrough state of the source virtual machine passthrough device, and migrating the source virtual machine passthrough device to the target virtual machine by iteratively executing multiple rounds of a synchronization operation as following: performing the register state synchronization method by calling the register state synchronization interface to capture a read/write operation on a register of the source virtual machine passthrough device in a migration process, and executing the captured read/write operation on a register of a target virtual machine passthrough device; and performing a DMA dirty page synchronization method by calling a configured DMA dirty page transmission interface, to write data corresponding to a DMA dirty page identified by the source virtual machine passthrough device into a memory of the target virtual machine.
Information query