Back to home page

OSCL-LXR

 
 

    


0001 * Xen hypervisor reserved-memory binding
0002 
0003 Expose one or more memory regions as reserved-memory to the guest
0004 virtual machine. Typically, a region is configured at VM creation time
0005 to be a shared memory area across multiple virtual machines for
0006 communication among them.
0007 
0008 For each of these pre-shared memory regions, a range is exposed under
0009 the /reserved-memory node as a child node. Each range sub-node is named
0010 xen-shmem@<address> and has the following properties:
0011 
0012 - compatible:
0013         compatible = "xen,shared-memory-v1"
0014 
0015 - reg:
0016         the base guest physical address and size of the shared memory region
0017 
0018 - xen,offset: (borrower VMs only)
0019         64 bit integer offset within the owner virtual machine's shared
0020         memory region used for the mapping in the borrower VM.
0021 
0022 - xen,id:
0023         a string that identifies the shared memory region as specified in
0024         the VM config file