From: Olaf Hering <olaf@aepfle.de>
To: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Cc: xen-devel@lists.xensource.com, ian.campbell@citrix.com,
andres@gridcentric.ca, tim@xen.org, keir.xen@gmail.com,
ian.jackson@citrix.com, adin@gridcentric.ca
Subject: Re: [PATCH] RFC: Use memops for mem paging, sharing, and access, instead of domctls
Date: Thu, 12 Jan 2012 15:43:25 +0100 [thread overview]
Message-ID: <20120112144325.GE8324@aepfle.de> (raw)
In-Reply-To: <ed4d429d7026a3cd2b33.1326307372@xdev.gridcentric.ca>
On Wed, Jan 11, Andres Lagar-Cavilla wrote:
> +++ b/xen/include/public/domctl.h
> +/* Use for teardown/setup of helper<->hypervisor interface for paging,
> + * access and sharing.*/
> struct xen_domctl_mem_event_op {
> uint32_t op; /* XEN_DOMCTL_MEM_EVENT_OP_*_* */
> uint32_t mode; /* XEN_DOMCTL_MEM_EVENT_OP_* */
>
> - union {
> - /* OP_ENABLE IN: Virtual address of shared page */
> - uint64_aligned_t shared_addr;
> - /* PAGING_PREP IN: buffer to immediately fill page in */
> - uint64_aligned_t buffer;
> - } u;
> + uint64_aligned_t shared_addr; /* IN: Virtual address of shared page */
> uint64_aligned_t ring_addr; /* IN: Virtual address of ring page */
>
> - /* Other OPs */
> - uint64_aligned_t gfn; /* IN: gfn of page being operated on */
> + /* For binary backwards compatibility */
> + uint64_aligned_t pad;
> };
Assuming this struct is routed through libxc, and libxc gets a new
SONAME for every release, doesnt this mean that every old binary has to
be recompiled anyway for the new release?
If so, the padding is not needed.
Olaf
next prev parent reply other threads:[~2012-01-12 14:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-11 18:42 [PATCH] RFC: Use memops for mem paging, sharing, and access, instead of domctls Andres Lagar-Cavilla
2012-01-12 13:01 ` Tim Deegan
2012-01-12 14:43 ` Olaf Hering [this message]
2012-01-12 16:04 ` Andres Lagar-Cavilla
2012-01-26 12:57 ` Tim Deegan
2012-01-26 13:00 ` Andres Lagar-Cavilla
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=20120112144325.GE8324@aepfle.de \
--to=olaf@aepfle.de \
--cc=adin@gridcentric.ca \
--cc=andres@gridcentric.ca \
--cc=andres@lagarcavilla.org \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@citrix.com \
--cc=keir.xen@gmail.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xensource.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).