This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] is it possible share memory between domains like shmget, sh

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] is it possible share memory between domains like shmget, shmat??
From: K D <kdcalif@xxxxxxxxx>
Date: Mon, 8 May 2006 18:01:46 -0700 (PDT)
Delivery-date: Mon, 08 May 2006 18:03:07 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=KauqU5LqOboCcWZJv/cwmcMmtIcOAY555KUhOKtPfB3TtIj3S02s/pdBTZ/B6VaB7a4Mm2Mm4eqzLNnpka8mzuG6S0nVrAyp5LMBqpPVM8Y7UYJZCKONUzwrfFkTEf7kK9YHK1l2PtFzo0TTn9qzeads3fXhuD8eG5JHdXQYE3E= ;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
hi all

am a newbie to xen. was wondering if there is a way to share memory between domains. i need to be able to write to a shared memory from one domain and allow other domain(s) to read from it. for example domA is always the writer and domB or domC are always readers. to be able to do that does hypervisor provide anything like "shmget" for domA and "shmat" for domB and domC?:)

i'm just reading up grant tables etc where some frames are shared between domains. would grant tables mechanism allow me to do above thing? if so, can domA grant read access to, say 20 frames, for domB and domC upfront and never revoke them?

am now looking at docs/misc/grant-tables.txt. any other doc/code that shows how to do above thing?


Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] is it possible share memory between domains like shmget, shmat??, K D <=