[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] HVM guests are allowed to use the entire virtual address space for
At 16:04 +0100 on 25 May (1274803495), Keir Fraser wrote: > I think this is already handled correctly by guest_access.h, which is what > really matters. Nowadays copy_{to,from}_user (but not __copy_{to,from}_user) > are mainly for private usage only by the guest-access macros, and just a few > other arch-dependent PV_specific bits of code. Of course the __ versions are > still generally useful as 'copy but catch any fault' functions. OK, can I suggest the attached change instead? It brings the compat guest-handle macros in line with the normal ones. Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx> There are a few more callers of access_ok() around but at first glance they seem all to be PV-only. Cheers, Tim. -- Tim Deegan <Tim.Deegan@xxxxxxxxxx> Principal Software Engineer, XenServer Engineering Citrix Systems UK Ltd. (Company #02937203, SL9 0BG) Attachment:
compat-handle _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |