-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bind minios function virt_to_mfn #4
Conversation
thanks @cfcs. I'm curious about naming (since |
It wasn't obvious to me either, but I think it's better to align with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW I have no idea if it's correct; I've been using it for ~six months without obvious problems, but I have no good way to tell if it is leaking memory, or is potentially returning wrong results. I tried to read the instructions in Looking at the defintions of I also wonder if These anxieties are kind of the reason for not upstreaming earlier, I've yet to find a guide on how to deal with things like this. EDIT: Seems like OCaml doesn't use pointers for its values, but uses signed ints instead. |
Being pointer-width is part of the interface to
|
@cfcs I didn't know OCaml had a On a more general note, I realise we don't have any hard guidelines on what goes in |
@mato I think that makes sense, to have backend-specific modules separate from the rest. Ideally I guess there'd be some kind of common signatures for these shared modules to avoid the different backends growing apart? |
On Wednesday, 21.03.2018 at 09:08, cfcs wrote:
@mato I think that makes sense, to have backend-specific modules separate from the rest. Ideally I guess there'd be some kind of common signatures for these shared modules to avoid the different backends growing apart?
You mean for the parts of OS.mli which are supposed to be provided by all
backends? Ideally yes, but there is no such thing at the moment -- this is
also why things like mirage-os-shim exist. Hopefully we can fix this as
part of the mirage-platform refactor into -xen and -unix.
|
I moved to a new Xen module and force-pushed (IMHO everything Xen-only should have been under a Xen module to begin with, but it doesn't make sense to break everything by moving now, so ... ) . |
@mato since you requested the last change (now known as |
@hannesm Yes, the change looks fine, however looking at the raw commit, the Author: is |
@mato That's my moniker, what harm could it do? |
@cfcs I don't mind pseudonyms but the author email goes in the Git history, and I'd prefer that we have a valid-in-good-faith email as a point of contact in case we ever need to contact contributors. I very much doubt that |
this looks reasonable to me, and has been reviewed by several people. I don't see a reason to require a (valid!?!) email address for maybe contacting contributors -- this is ISC licensed anyways, and email addresses are getting invalid over time (if you leave an organisation / company / university). |
This is currently needed for speaking to Qubes GUId, suspect it could be useful for other applications dealing with RPC between Xen domU too.
ping @hannesm who complained this wasn't upstreamed :)