2017-06-16 11:50 GMT+08:00 Zhongze Liu <blacksk...@gmail.com>: > 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 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. Cheers, Zhongze Liu _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel