I didn't saw your mail. Sorry. 2017-06-14 23:13 GMT+08:00 Zhongze Liu <blacksk...@gmail.com>: > 2017-06-14 22:42 GMT+08:00 Wei Liu <wei.l...@citrix.com>: >> On Wed, Jun 14, 2017 at 09:19:23PM +0800, Zhongze Liu wrote: >>> Hi Xen developers, >>> >>> In tools/libxc/xc_domain.c:xc_domain_add_to_physmap() the .size field >>> of the xen_add_to_physmap >>> struct can't be controlled by the caller through the parameter list >>> and wasn't explicitly initialized ( and >>> thus default to zero ). This implicitly prevents the caller from doing >>> an XENMEMSPACE_gmfn_range- >>> call. Is it a mistake or is it intentionally done so? >> >> >> The size parameter doesn't make much sense to me because you can only >> specify one gpfn in xen_add_to_physmap_t. I guess that's an oversight >> when designing the interface. But we couldn't change it once it was >> released. >> > > But according to 725, 741: xen/common/memory.c, the the function is mapping > a range from gpfn to gpfn+size into tdom. > >> >> I guess what you really need is the _batch variant. > > Cheers, > > Zhongze Liu
_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel