[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Q: XENMEM_maximum_reservation



AFAICT, XENMEM_current_reservation and XENMEM_maximum_reservation are not used by Linux. However, if they were do we have to pass the domid_t as a pointer? could we not pass it by value?

file: xen/common/memory.c: 369
Rather than
        if ( copy_from_guest(&domid, arg, 1) )

how about:
        domid = (domid_t)arg;

thoughts?
-JX

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.