[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v5 11/23] x86/mm: move compat descriptor table manipulation code
>>> On 14.09.17 at 14:58, <wei.liu2@xxxxxxxxxx> wrote: > --- a/xen/arch/x86/pv/descriptor-tables.c > +++ b/xen/arch/x86/pv/descriptor-tables.c > @@ -181,6 +181,46 @@ long do_update_descriptor(uint64_t pa, uint64_t desc) > return ret; > } > > +int compat_set_gdt(XEN_GUEST_HANDLE_PARAM(uint) frame_list, unsigned int > entries) > +{ > + unsigned int i, nr_pages = (entries + 511) / 512; > + unsigned long frames[16]; > + long ret; Considering the function returns int, how about changing this to int as you go? Either way Acked-by: Jan Beulich <jbeulich@xxxxxxxx> Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |