From: Ian Campbell Subject: Re: How to share memory with kernel and hypervisor? Date: Thu, 15 Dec 2011 06:39:46 +0000 Message-ID: <1323931186.20936.113.camel@dagon.hellion.org.uk> References: <1323282732.2750.6.camel@dcmichael-pc> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1323282732.2750.6.camel@dcmichael-pc> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: DcMichael Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Wed, 2011-12-07 at 18:32 +0000, DcMichael wrote: > Hi! > I'm first in here. > anyway I want to make kernel and hypervisor share there memory. > which the kernal write memory, then hypervisor can read it. > without any function like copy_from_user. > > I'll use this memory very many time, so I want share memory like shmget. > but using ring use push function every time. > > can I share memory like this way? Using share_xen_page_with_guest() might be one way. Ian.