Re: [Xen-devel] [PATCH] libxc: use correct return type for do_memory_op()
On Mon, 2015-11-30 at 10:23 +, Wei Liu wrote: > On Fri, Nov 27, 2015 at 10:00:51AM +0100, Juergen Gross wrote: > > Currently do_memory_op() is returning int, while the hypervisor is > > returning long. This will lead to wrong return informations as soon as > > e.g. a pfn larger than about 2 billion (8 TB) is returned. > > > > Use the correct long return type instead and correct the functions > > expecting a pfn via the return value of do_memory_op(). > > > > Signed-off-by: Juergen Gross> > Acked-by: Wei Liu Applied, thanks. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Re: [Xen-devel] [PATCH] libxc: use correct return type for do_memory_op()
On Fri, Nov 27, 2015 at 10:00:51AM +0100, Juergen Gross wrote: > Currently do_memory_op() is returning int, while the hypervisor is > returning long. This will lead to wrong return informations as soon as > e.g. a pfn larger than about 2 billion (8 TB) is returned. > > Use the correct long return type instead and correct the functions > expecting a pfn via the return value of do_memory_op(). > > Signed-off-by: Juergen GrossAcked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel