WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Memory Sharing

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Memory Sharing
From: Lakshitha Harshan <harshan.dll@xxxxxxxxx>
Date: Thu, 16 Jun 2011 19:45:18 +0530
Delivery-date: Thu, 16 Jun 2011 07:16:15 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=wsQbdK4Hs9U0A9LIkVTO8tu8/TcO7MfKOxwyh6qVvcY=; b=Hb2VeAZSG3RhFztty8J4+aMUj+wDoKrOFFYbWHLAF/afTDWZmdQaN+YqAiOPJTQ7lQ 0VHsUSaLNn3YefjizdS8bLgc1Hy3J8dN2+RLJurajLFl5O9ZsvfCLbUr0q2vkbfAWi9g e+vNtS61UzmspQoakok7eMYkyktWJH6uAnt54=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ZnrExAmImEXauzJArU0vEwN0MZa8d0gTPC0D5jB7q++B7YiAyFzfTECR2QSVKdxBIx sClN/wdVjG9Sa0Pffhvc3a45aZxxUWlpeaiX+XTRju591kX0gDRpXlYmw6PHMMsK+0x/ V0cugeEnn9/V8IuvW3CKZHEyGMqx6PsXi6feo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,er

I am playing with memory sharing functions (nominate & share), for my
research project. In my project, i get the GFNs of starting & ending
pages of kernel code segment using xc_translate_foreign_address and
then using a loop i nominate the memory pages of kernel code segment &
share them.

Both nominate & share() functions returns 0, on most sharing requests
(almost 99%).
My problem is that after sharing the memory, all of the other domUs
except the domU which is used for getting the handles (shandles) for
sharing memory pages are frozen, if i start one VM after another and
try to share code pages after VMs have logged in. If i try to run the
same procedure on already started set of guest domains, the VMs will
be restarted (except the shandle domU).

So what could be the reason for this?
I'm using Xen -4.1.1-rc3-pre.

Thanks,
Harshan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>