From: "Andres Lagar-Cavilla" <andres@lagarcavilla.org>
To: Olaf Hering <olaf@aepfle.de>
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 08:04:34 -0800 [thread overview]
Message-ID: <e49cd516cd6a874de6cb624e15a95694.squirrel@webmail.lagarcavilla.org> (raw)
In-Reply-To: <20120112144325.GE8324@aepfle.de>
> 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.
Agreed, basically. Waiting to hear from tools maintainers about best
approach to libxc.
It seems that there aren't that many users relying on a fixed ABI, so we
can (still, until 4.2) change things. But obviously I want to be careful.
Andres
>
> Olaf
>
>
next prev parent reply other threads:[~2012-01-12 16:04 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
2012-01-12 16:04 ` Andres Lagar-Cavilla [this message]
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=e49cd516cd6a874de6cb624e15a95694.squirrel@webmail.lagarcavilla.org \
--to=andres@lagarcavilla.org \
--cc=adin@gridcentric.ca \
--cc=andres@gridcentric.ca \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@citrix.com \
--cc=keir.xen@gmail.com \
--cc=olaf@aepfle.de \
--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).