From: George Dunlap <george.dunlap@citrix.com>
To: Dario Faggioli <dario.faggioli@citrix.com>,
Stefano Stabellini <sstabellini@kernel.org>
Cc: Volodymyr Babchuk <vlad.babchuk@gmail.com>,
"Artem_Mygaiev@epam.com" <Artem_Mygaiev@epam.com>,
Julien Grall <julien.grall@arm.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Andrii Anisov <andrii_anisov@epam.com>
Subject: Re: Notes on stubdoms and latency on ARM
Date: Thu, 1 Jun 2017 16:02:44 +0100 [thread overview]
Message-ID: <ea208f5a-4da0-a93c-cbdb-86b9802c9c88@citrix.com> (raw)
In-Reply-To: <1496320839.10189.1.camel@citrix.com>
On 01/06/17 13:40, Dario Faggioli wrote:
> On Thu, 2017-06-01 at 12:52 +0200, George Dunlap wrote:
>>> On May 31, 2017, at 6:45 PM, Stefano Stabellini <sstabellini@kernel
>>> .org> wrote:
>>>
>>> I don't think we should provide that. If the user wants a stable
>>> interface, she can use domains. I suggested that the code for the
>>> EL0
>>> app should come out of the Xen repository directly. Like for the
>>> Xen
>>> tools, they would be expected to be always in-sync.
>>
>> Hmm, it sounds like perhaps I misunderstood you and Volodymyr. I
>> took “you just call function `handle_mmio()` right in the app” to
>> mean that the *app* calls the *hypervisor* function named
>> “handle_mmio”.
>>
> Right. That what I had understood too.
>
>> It sounds like what he (or at least you) actually meant was that the
>> *hypervisor* calls the function named “handle_mmio” in the *app*?
>>
> Mmm... it's clearly me that am being dense, but what do you exactly
> mean with "the hypervisor calls the function named handle_mmio() in the
> app"? In particular the "in the app" part, and how is the hypervisor
> going to be "in" the app...
Well it sounds to me similar to what Linux would do with modules: the
module has the symbols encoded somewhere in it. The hypervisor would
load the "app" binary; and when the appropriate device MMIO happened, it
would call the "handle_mmio()" function (which would be a bit more like
an entry point).
But it seems to me like having an interface where the app actively
registers callbacks for specific events is a lot easier than working out
how to store the dynamic linking information in the module and then
parse it in Xen.
-George
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-06-01 15:02 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-18 19:00 Notes on stubdoms and latency on ARM Stefano Stabellini
2017-05-19 19:45 ` Volodymyr Babchuk
2017-05-22 21:41 ` Stefano Stabellini
2017-05-26 19:28 ` Volodymyr Babchuk
2017-05-30 17:29 ` Stefano Stabellini
2017-05-30 17:33 ` Julien Grall
2017-06-01 10:28 ` Julien Grall
2017-06-17 0:17 ` Volodymyr Babchuk
2017-05-31 9:09 ` George Dunlap
2017-05-31 15:53 ` Dario Faggioli
2017-05-31 16:17 ` Volodymyr Babchuk
2017-05-31 17:45 ` Stefano Stabellini
2017-06-01 10:48 ` Julien Grall
2017-06-01 10:52 ` George Dunlap
2017-06-01 10:54 ` George Dunlap
2017-06-01 12:40 ` Dario Faggioli
2017-06-01 15:02 ` George Dunlap [this message]
2017-06-01 18:27 ` Stefano Stabellini
2017-05-31 17:02 ` George Dunlap
2017-06-17 0:14 ` Volodymyr Babchuk
2017-06-19 9:37 ` George Dunlap
2017-06-19 17:54 ` Stefano Stabellini
2017-06-19 18:36 ` Volodymyr Babchuk
2017-06-20 10:11 ` Dario Faggioli
2017-07-07 15:02 ` Volodymyr Babchuk
2017-07-07 16:41 ` Dario Faggioli
2017-07-07 17:03 ` Volodymyr Babchuk
2017-07-07 21:12 ` Stefano Stabellini
2017-07-12 6:14 ` Dario Faggioli
2017-07-17 9:25 ` George Dunlap
2017-07-17 10:04 ` Julien Grall
2017-07-17 11:28 ` George Dunlap
2017-07-19 11:21 ` Julien Grall
2017-07-20 9:25 ` Dario Faggioli
2017-07-20 9:10 ` Dario Faggioli
2017-07-20 8:49 ` Dario Faggioli
2017-07-08 14:26 ` Dario Faggioli
2017-06-20 10:45 ` Julien Grall
2017-06-20 16:23 ` Volodymyr Babchuk
2017-06-21 10:38 ` Julien Grall
2017-06-19 18:26 ` Volodymyr Babchuk
2017-06-20 10:00 ` Dario Faggioli
2017-06-20 10:30 ` George Dunlap
2017-05-23 7:11 ` Dario Faggioli
2017-05-26 20:09 ` Volodymyr Babchuk
2017-05-27 2:10 ` Dario Faggioli
2017-05-23 9:08 ` George Dunlap
2017-05-26 19:43 ` Volodymyr Babchuk
2017-05-26 19:46 ` Volodymyr Babchuk
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=ea208f5a-4da0-a93c-cbdb-86b9802c9c88@citrix.com \
--to=george.dunlap@citrix.com \
--cc=Artem_Mygaiev@epam.com \
--cc=andrii_anisov@epam.com \
--cc=dario.faggioli@citrix.com \
--cc=julien.grall@arm.com \
--cc=sstabellini@kernel.org \
--cc=vlad.babchuk@gmail.com \
--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).