×

VM INTER-PROCESS COMMUNICATION

  • US 20160314076A1
  • Filed: 06/30/2016
  • Published: 10/27/2016
  • Est. Priority Date: 11/16/2007
  • Status: Active Grant
First Claim
Patent Images

1. A method for enabling inter-process communication between a first application and a second application, the first application running within a first virtual machine (VM) in a host and the second application running within a second VM in the host, the method comprising:

  • receiving a request to create a shared memory region in physical memory;

    as a response to the request, creating the shared memory region in physical memory for access during execution of the first application, the shared memory region being associated with a handle and being mapped to guest memory of the first VM, the guest memory of the first VM being virtualized memory of the physical memory of the host for the first VM;

    receiving a request to attach the shared region of memory to guest memory of the second VM for access during execution of the second application, the guest memory of the second VM being virtualized memory of the physical memory of the host for the second VM, the request being received by a framework from the second application, the request including the handle that uniquely identifies the shared region of memory and including an identification of the guest memory of the second VM, the framework being a component of a virtualization software in the host;

    identifying a first list of physical memory pages in the physical memory as a first portion of the shared memory region that corresponds to the guest memory of the first VM;

    identifying a second list of physical memory pages in the physical memory as a second portion of the shared memory region that corresponds to the guest memory of the second VM; and

    mapping a portion of the guest memory of the second VM to the shared memory region in the physical memory.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×