[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] How to share memory with kernel and hypervisor?



On Thu, Dec 08, 2011 at 03:32:12AM +0900, 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.

Why would you want to do this? Maybe a better question is - what
is your goal.
> 
> can I share memory like this way?

Sure.. You would have to setup the hypervisor to have a pagetable entry
for the physical page.
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.