From: stefano.stabellini@eu.citrix.com (Stefano Stabellini)
To: linux-arm-kernel@lists.infradead.org
Subject: [Embeddedxen-devel] [Xen-devel] [ANNOUNCE] Xen port to Cortex-A15 / ARMv7 with virt extensions
Date: Wed, 30 Nov 2011 18:32:33 +0000 [thread overview]
Message-ID: <alpine.DEB.2.00.1111301820290.31179@kaball-desktop> (raw)
In-Reply-To: <201111301815.01297.arnd@arndb.de>
On Wed, 30 Nov 2011, Arnd Bergmann wrote:
> > In principal we could also offer the user options as to which particular
> > platform a guest looks like.
>
> At least when using a qemu based simulation. Most platforms have some
> characteristics that are not meaningful in a classic virtualization
> scenario, but it would certainly be helpful to use the virtualization
> extensions to run a kernel that was built for a particular platform
> faster than with pure qemu, when you want to test that kernel image.
>
> It has been suggested in the past that it would be nice to run the
> guest kernel built for the same platform as the host kernel by
> default, but I think it would be much better to have just one
> platform that we end up using for guests on any host platform,
> unless there is a strong reason to do otherwise.
>
> There is also ongoing restructuring in the ARM Linux kernel to
> allow running the same kernel binary on multiple platforms. While
> there is still a lot of work to be done, you should assume that
> we will finish it before you see lots of users in production, there
> is no need to plan for the current one-kernel-per-board case.
It is very good to hear, I am counting on it.
> > > Ok. It would of course still be possible to agree on an argument passing
> > > convention so that we can share the macros used to issue the hcalls,
> > > even if the individual commands are all different.
> >
> > I think it likely that we can all agree on a common calling convention
> > for N-argument hypercalls. It doubt there are that many useful choices
> > with conflicting requirements yet strongly compelling advantages.
>
> Exactly. I think it's only lack of communication that has resulted in
> different interfaces for each hypervisor on the other architectures.
It is also due to history: on X86 it was possible to issue hypercalls to
Xen before VMCALL (the X86 version of HVC) was available.
> KVM and Xen at least both fall into the single-return-value category,
> so we should be able to agree on a calling conventions. KVM does not
> have an hcall API on ARM yet, and I see no reason not to use the
> same implementation that you have in the Xen guest.
>
> Stefano, can you split out the generic parts of your asm/xen/hypercall.h
> file into a common asm/hypercall.h and submit it for review to the
> arm kernel list?
Sure, I can do that.
Usually the hypercall calling convention is very hypervisor specific,
but if it turns out that we have the same requirements I happy to design
a common interface.
next prev parent reply other threads:[~2011-11-30 18:32 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-29 14:53 [ANNOUNCE] Xen port to Cortex-A15 / ARMv7 with virt extensions Stefano Stabellini
2011-11-29 21:29 ` Arnd Bergmann
2011-11-30 11:39 ` Stefano Stabellini
2011-11-30 13:03 ` Arnd Bergmann
2011-11-30 13:25 ` [Xen-devel] " Ian Campbell
2011-11-30 14:32 ` Arnd Bergmann
2011-11-30 14:51 ` Pawel Moll
2011-11-30 16:27 ` Ian Campbell
2011-11-30 18:15 ` Arnd Bergmann
2011-11-30 18:32 ` Stefano Stabellini [this message]
2011-12-01 10:26 ` [Embeddedxen-devel] " Ian Campbell
2011-12-01 15:10 ` [Android-virt] " Catalin Marinas
2011-12-01 15:42 ` Arnd Bergmann
2011-12-01 16:02 ` Catalin Marinas
2011-12-01 16:44 ` Arnd Bergmann
2011-12-01 16:57 ` Catalin Marinas
2011-12-01 15:52 ` Ian Campbell
2011-12-01 15:12 ` Stefano Stabellini
2011-12-01 10:34 ` Ian Campbell
2011-11-30 14:11 ` Catalin Marinas
2011-11-30 14:20 ` Stefano Stabellini
2011-12-16 15:43 ` [Xen-devel] " David Vrabel
2011-12-16 16:54 ` Catalin Marinas
2011-12-16 17:38 ` David Vrabel
2011-12-16 17:47 ` Catalin Marinas
[not found] ` <CAAhSdy3F1oUQP=f_Tig4_MnufwPRpNooZYW8_cSTAse7aOaDoA@mail.gmail.com>
2011-11-30 11:41 ` Stefano Stabellini
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=alpine.DEB.2.00.1111301820290.31179@kaball-desktop \
--to=stefano.stabellini@eu.citrix.com \
--cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox