From: Nick Rosbrook <rosbrookn@gmail.com>
To: xen-devel@lists.xenproject.org
Cc: rosbrookn@ainfosec.com, ian.jackson@eu.citrix.com,
george.dunlap@citrix.com
Subject: Golang design session follow-up
Date: Mon, 20 Jul 2020 20:35:48 -0400 [thread overview]
Message-ID: <20200721003548.GA9581@six> (raw)
Hello,
Here are the notes from the golang bindings design session at Xen Summit
earlier this month:
Possible improvements:
- Expanding the IDL to have information about device add / remove functions
Ian: It's important that the IDL generates the C prototypes as well.
We could generate some man pages as well.
"AO" functions need to be a separate thing, not just listed as arguments.
How to distinguish between "easy to wrap" things vs "this is internal infrastructure"
Idea: "Classes" in IDL: "Device add/remove function", &c
Rust: Probably want two versions of the bindings; sync and async. Same thing for python.
# Notification of events
We don't want a golang wrapper for the sigchld callback
Helper function to "do the domain shutdown thing"
# Long-term home of the package
Ian: Autogenerated stuff is becoming more annoying.
Delete all the libxl auto-generated stuff from staging & master, and have "output branch".
The reason we have these in-tree is that otherwise you can't build *from git* if you don't
have new enough versions of the right tools.
Distribution: Make a repo on xenbits!
Our main focus for "improvements" was on expanding the libxl IDL to support
function prototypes so that wrappers could be easily generated. I
volunteered to work on this front, and have started some patches that I
will send in an RFC state soon (likely after 4.14 is released).
On "notification of events", I think we were just discussing what needs
to be done for the xenlight package to support domain
destruction/reaping. This is also something I will work on.
Finally, we came to the decision that the golang bindings should be
pushed to their own repo and tagged independently of xen.git. I think
tasks still need to be divvied up for this one.
If I missed anything important or made any mistakes, please let me know.
Thanks,
NR
next reply other threads:[~2020-07-21 0:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-21 0:35 Nick Rosbrook [this message]
2020-08-28 15:57 ` Golang design session follow-up George Dunlap
2020-08-28 19:05 ` George Dunlap
2020-08-31 13:55 ` Nick Rosbrook
2020-08-31 17:30 ` George Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200721003548.GA9581@six \
--to=rosbrookn@gmail.com \
--cc=george.dunlap@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=rosbrookn@ainfosec.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.