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

Re: [Xen-devel] questions on mem_sharing_op*'s and tools/tests/mem-sharing/memshrtool



Zhongze Liu writes ("Re: questions on mem_sharing_op*'s and 
tools/tests/mem-sharing/memshrtool"):
> 2017-06-16 11:50 GMT+08:00 Zhongze Liu <blackskygg@xxxxxxxxx>:
> > Hi there,
> >
> > I was experimenting with the mem_sharing_op and I found a handy tool:
> > tools/tests/mem-sharing/memshrtool
> > I set up two bare metal x86_64 VMS running some simple code in 16-bit
> > real mode and I tried to share the first physical page among them. so
> 
> And both of them are hvms and have a memory of 32M.

I'm afraid I know very little about this.  As its name implies, the
utilities in tools/tests/mem-sharing are test tools, and not intended
for production use.

I have CC'd the X86 memory sharing maintainer.

Ian.

> > I use:
> >
> > "./memshrtool enable src_dom "
> > "./memshrtool enable dst_dom"
> > "./memshrtool nominate src_dom 0"
> >
> > And it failed with an "error executing xc_memshr_nominate_gfn(xch,
> > domid, gfn, &handle): Argument list too long "
> >
> > But when I changed the gfn from 0 to 1000, it succeeds. Is there any
> > restrition on the gfns to be shared?
> >
> 
> and the minimum gfn for the call to succeed is 256.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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