Mixed Shared/Non-Shared Memory Transport for Virtual Machines
AssigneeRed Hat Israel, Ltd.
InventorMichael Tsirkin
Life of this patent
Estimating the term…
Abstract
Methods, systems and computer program products are provided for mixed shared/non-shared memory transport in virtual machines. A computer-implemented method may include providing a shared memory area writeable by a first virtual processor and a second virtual processor that are runnable on a host CPU, retrieving the information stored in the shared memory area by the first virtual processor when the first virtual processor stops running on the host CPU and before the second virtual processor runs on the host CPU, and storing the retrieved information from the shared memory area in a non-shared memory.
Claims20
A computer-implemented method, comprising:
- providing, by a hypervisor executing on a host computer, a shared memory area writeable by a first virtual processor and a second virtual processor that are runnable on a host CPU;
- retrieving, by the hypervisor, information stored in the shared memory area by the first virtual processor after the first virtual processor stops running on the host CPU and before the second virtual processor runs on the host CPU;
- and
- storing, by the hypervisor, the information retrieved from the shared memory area in a non-shared memory area.
A computer system, comprising:
- a memory;
- a host CPU coupled to the memory;
- and
- a hypervisor hosted by the computer system, having access to the memory and use of the host CPU to:
- provide a shared memory area writeable by a first virtual processor and a second virtual processor that are runnable on a host CPU;
- retrieve information stored in the shared memory area by the first virtual processor after the first virtual processor stops running on the host CPU and before the second virtual processor runs on the host CPU;
- and
- store the information retrieved from the shared memory area in a non-shared memory area.
A computer-implemented method, comprising:
- providing, by a hypervisor executing on a host computer, a first shared memory area associated with a first host CPU, the first shared memory area allocated from host memory accessible to the hypervisor;
- mapping, by the hypervisor, guest memory accessible to a first virtual processor to the host memory of the first shared memory area associated with the first host CPU;
- and
- storing, by the first virtual processor executing on the first host CPU, information from the first virtual processor in the shared memory area associated with the first host CPU.
Dependencies are inferred from the claim text.