All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony PERARD <anthony.perard@citrix.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Xen Devel <xen-devel@lists.xen.org>
Subject: Re: [RFC 0/6] RFC Linux based stub-domain
Date: Fri, 19 Apr 2013 12:11:22 +0100	[thread overview]
Message-ID: <5171265A.2050406@citrix.com> (raw)
In-Reply-To: <1366363021.19111.64.camel@zakaz.uk.xensource.com>

On 19/04/13 10:17, Ian Campbell wrote:
> On Wed, 2013-04-17 at 20:09 +0100, Anthony PERARD wrote:
>> Hi all,
>>
>> Here is the long overdue patch series to bring support for a Linux based
>> stubdom which will enable to use QEMU upstream as device model in a stubdom.
> 
> Thanks.
> 
> Do you have any performance figures?

Yes, I do. I've wrote a presentation for Xen Summit. I will dig them and
post them back.

> What are the overheads for the stub domain (e.g. memory)?

For memory, about 34MB for the domain, plus something (a process in
dom0) to read the stubdom disk image. I can't think of something else.


> The dependency on various non-mainline git repos and on out of tree
> patching are a bit concerning, how are we going to address those?

The patches for QEMU need to be upstreamed. Then, we could just use the
same tree as the non-stubdom qemu-xen, and decide later if it's usefull
to build QEMU twice.

For Linux patches, I'm not sure what to do.
 - One of them is about checking if a domain have right to call an
hypercall. To be upstream, we would need to check if indeed the
hypercall can be called from this domain, or maybe let the hypervisor do
this check.
 - There other one fix the an address when the function is called from
the stubdom. This one could works in any case.

> The hardcoded Linux version (currently 3.4.13) is also something of a
> concern -- what is the intended strategy for managing the kernel used
> here? Are we planning to periodically update it or something?

Well, I've start with this one, but I think that any last release could
work, provided the patch are upstream or can be applied.

> Is there any requirement to build as root?

No. The only one would be to build a disk image, but I found a way which
works on my system without running as root. But this use 'debugfs' to
write into a ext2 filesystem.

> This seems to add a dependency on /bin/busybox from the host, is there a
> configure check to ensure this is present? Do we rely on the distro to
> provide this? Which distros has it been tested on? Do we know that
> distros in general provide a package with /bin/busybox in it?

Busybox should be a dependency for the build host, which is probably
better than compiling it our self. The scripts does not really check for
it, yet.
There is another dependency, debugfs, which I'm not sure where we will
find it. But I think that I check in debian when I start using it.

Thanks,

-- 
Anthony PERARD

  reply	other threads:[~2013-04-19 11:11 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-17 19:09 [RFC 0/6] RFC Linux based stub-domain Anthony PERARD
2013-04-17 19:09 ` [RFC 1/6] linux-stubdomain: Compile QEMU Anthony PERARD
2013-04-17 19:09 ` [RFC 2/6] linux-stubdomain: Compile Linux Anthony PERARD
2013-04-19 10:33   ` Stefano Stabellini
2013-04-22 13:46     ` Anthony PERARD
2013-04-22 13:59       ` Daniel De Graaf
2013-04-22 14:09       ` Samuel Thibault
2013-04-17 19:09 ` [RFC 3/6] linux-stubdomain: Build a disk image Anthony PERARD
2013-04-19  9:26   ` Ian Campbell
2013-04-19 11:58     ` Anthony PERARD
2013-04-19 12:08       ` Ian Campbell
2013-04-19 13:53         ` Samuel Thibault
2013-04-17 19:09 ` [RFC 4/6] libxl: Add "stubdomain_version" to domain_build_info Anthony PERARD
2013-04-19  9:29   ` Ian Campbell
2013-04-22 13:31     ` Anthony PERARD
2013-04-22 14:36       ` Ian Campbell
2013-04-17 19:09 ` [RFC 5/6] libxl: Handle Linux stubdomain specifique QEMU option Anthony PERARD
2013-04-19  9:31   ` Ian Campbell
2013-04-22 13:37     ` Anthony PERARD
2013-04-17 19:09 ` [RFC 6/6] libxl: Build the domain with a Linux based stubdomain Anthony PERARD
2013-04-19  9:17 ` [RFC 0/6] RFC Linux based stub-domain Ian Campbell
2013-04-19 11:11   ` Anthony PERARD [this message]
2013-04-19 12:04 ` David Vrabel

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=5171265A.2050406@citrix.com \
    --to=anthony.perard@citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=xen-devel@lists.xen.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.