Sharing data by a virtual machine
AssigneeBlackBerry Limited
InventorsXiaoyong Sun, Mikhail Nefedov
Life of this patent
Estimating the term…
Loading patent…
AssigneeBlackBerry Limited
InventorsXiaoyong Sun, Mikhail Nefedov
Estimating the term…
A memory block is provided that is shared between two endpoints. This first endpoint is either a host for a virtual machine or the virtual machine. The second endpoint is either the host or another virtual machine. The shared memory block includes a buffer, a post counter, and an acknowledgment counter. The block is employed for communicating data from the first endpoint to the second endpoint. Sending data to the second endpoint includes identifying the buffer as being currently owned by the first endpoint and storing data in the buffer. It is then detected that the acknowledgment counter is equal to the post counter. The post counter is then incremented to signal that data has been stored for receipt by the second endpoint. Receiving the data by the second endpoint includes detecting that the post counter has changed and then incrementing the acknowledgment counter to acknowledge receipt of the data.
A computer-implemented method comprising:
A computer system comprising:
A non-transitory computer-readable storage medium storing instructions that, when executed by a processor of a computer system, cause a first endpoint to send data to a second endpoint using a memory block shared between the first endpoint and the second endpoint, one of the first endpoint and the second endpoint being a virtual machine hosted by the computer system, and the other of the first endpoint and the second endpoint being one of a host for the virtual machine, another virtual machine hosted by the computer system, or a host for the another virtual machine, and the shared memory block including a plurality of buffer, a posting buffer index, a post counter, and an acknowledgment counter, wherein sending the data includes:
Dependencies are inferred from the claim text.