-
公开(公告)号:US10552210B2
公开(公告)日:2020-02-04
申请号:US16134191
申请日:2018-09-18
Inventor: Yongji Xie
Abstract: Embodiments of the disclosure disclose a method and apparatus for migrating a virtual machine. A specific embodiment of the method comprises: loading a target kernel module of a target operating system, the target operating system used for controlling a target electronic device running a virtual machine, and the target kernel module used for performing a shutdown operation for the target electronic device; determining whether to perform the shutdown operation based on electronic device running state information of the target electronic device; determining whether to migrate the virtual machine when a preset triggering condition is met, in response to determining not to perform the shutdown operation; and migrating the virtual machine if determining to migrate the virtual machine.
-
公开(公告)号:US10963286B2
公开(公告)日:2021-03-30
申请号:US16353136
申请日:2019-03-14
Inventor: Yongji Xie , Wen Chai , Yu Zhang
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.
-
公开(公告)号:US20200371827A1
公开(公告)日:2020-11-26
申请号:US16707347
申请日:2019-12-09
Inventor: Yongji Xie , Wen Chai , Yu Zhang
Abstract: Embodiments of the present disclosure provide a method, apparatus, device, and computer readable storage medium for processing data, and relate to the field of cloud computing. The method for processing data includes receiving a request for storing a data block from a virtual storage of a virtual machine into a virtual disk of the virtual machine, the request indicating a virtual storage address for storing the data block in the virtual storage and a virtual disk address for storing the data block in the virtual disk. The method further includes determining a physical storage address for storing the data block within a physical storage associated with the virtual machine based on the virtual storage address. The method further includes associatively storing the virtual disk address and the physical storage address.
-
公开(公告)号:US20200097314A1
公开(公告)日:2020-03-26
申请号:US16458337
申请日:2019-07-01
Inventor: Yongji Xie , Wen Chai , Yu Zhang
IPC: G06F9/455
Abstract: Embodiments of the present disclosure disclose a method and apparatus for processing a request. A specific embodiment of the method includes: acquiring, in response to start-up of a virtual machine, work queue quantity information of each device of the virtual machine, the work queue quantity information indicating a quantity of work queues of a device bound with a processing thread corresponding to the device of the virtual machine, the quantity being one or more; and creating, based on the work queue quantity information of the each device of the virtual machine, processing threads corresponding to the each device of the virtual machine respectively, the processing thread corresponding to the device of the virtual machine being used to process an access request for the device of the virtual machine in the work queue of the device bound with the processing thread.
-
公开(公告)号:US11210127B2
公开(公告)日:2021-12-28
申请号:US16458337
申请日:2019-07-01
Inventor: Yongji Xie , Wen Chai , Yu Zhang
IPC: G06F9/455
Abstract: Embodiments of the present disclosure disclose a method and apparatus for processing a request. A specific embodiment of the method includes: acquiring, in response to start-up of a virtual machine, work queue quantity information of each device of the virtual machine, the work queue quantity information indicating a quantity of work queues of a device bound with a processing thread corresponding to the device of the virtual machine, the quantity being one or more; and creating, based on the work queue quantity information of the each device of the virtual machine, processing threads corresponding to the each device of the virtual machine respectively, the processing thread corresponding to the device of the virtual machine being used to process an access request for the device of the virtual machine in the work queue of the device bound with the processing thread.
-
公开(公告)号:US10997099B2
公开(公告)日:2021-05-04
申请号:US16167197
申请日:2018-10-22
Inventor: Rui Zhao , Xun Ni , Yongji Xie
Abstract: An I/O request processing method in a virtual machine, a device and a computer readable medium are provided. When a backend device of a Guest kernel begins to process an I/O request chain submitted by a frontend device of the Guest kernel into a shared I/O processing memory, the method obtains a starting position of the I/O request chain in the I/O processing memory; according to the starting position of the I/O request chain, sets an element corresponding to the starting position of the I/O request chain in an I/O state array as a value different from initial values of all positions; and upon finishing processing the I/O request chain, sets an element corresponding to the starting position of the I/O request chain in an I/O request state array as a value identical with initial values.
-
公开(公告)号:US20200371882A1
公开(公告)日:2020-11-26
申请号:US16707248
申请日:2019-12-09
Inventor: Yongji Xie , Wen Chai , Yu Zhang
Abstract: A method, an apparatus, a device, and a computer readable storage medium for starting a virtual machine are provided. The method includes generating a disk snapshot for a first piece of data on a virtual disk of a first virtual machine. The method further includes starting running a second virtual machine based on identifier information of the first virtual machine and address information of the disk snapshot, such that the first piece of data is copied to a virtual disk of the second virtual machine. The method further includes pausing running the second virtual machine, in response to initialization of an operating system on the started second virtual machine being completed, for restoring the first virtual machine when the first virtual machine is unavailable.
-
-
-
-
-
-