All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: Eric Shelton <eshelton@pobox.com>
Cc: xen-devel@lists.xensource.com, Wei Liu <wei.liu2@citrix.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Anthony PERARD <anthony.perard@citrix.com>
Subject: Re: [RFC 7/7] libxl: Wait for QEMU startup in stubdomain
Date: Fri, 6 Feb 2015 17:23:54 +0000	[thread overview]
Message-ID: <alpine.DEB.2.02.1502061719490.29696@kaball.uk.xensource.com> (raw)
In-Reply-To: <CAPQw5rmpcDOPzERJQXP6B6Pdv3VHnqkAfDPNJXxzb3PEwM4eCw@mail.gmail.com>

On Fri, 6 Feb 2015, Eric Shelton wrote:
> On Fri, Feb 6, 2015 at 10:36 AM, Stefano Stabellini
> <stefano.stabellini@eu.citrix.com> wrote:
> > On Fri, 6 Feb 2015, Wei Liu wrote:
> 
> >> ISTR our policy is upstream first. That is, though we maintain our own
> >> qemu tree those changesets are all upstream changesets. Arguably there
> >> might be some bandaid changesets that are not upstream but big changes
> >> like this needs to be upstreamed first.
> >>
> >> Stefano, could you clarify this and correct me if I'm wrong?
> >
> > Yes, the policy is upstream first, however it doesn't need to land in a
> > QEMU release. Just be upstream.
> >
> > There is still please of time for that: Eric just needs to send his
> > patches to qemu-devel, get the acks, and I'll apply to
> > qemu-xen-upstream.
> 
> Sounds good.  I think the main thing I am looking at before going to
> qemu-devel is getting the xenfb-based display code up and running.
> However, QEMU is a somewhat unfamiliar codebase for me, and it doesn't
> help that QEMU's display pipeline seems to have been rearchitected a
> time or two since QEMU 0.10, as it seems to limit QEMU-traditional's
> utility as a prototype to follow.  If anyone was any ideas what the
> missing links are for the display pipeline, I would appreciate any
> pointers.

Firstly I would check that xenfb is working without QEMU.

Then I would try to get access to QEMU to the framebuffer using
something like directfb:

https://lists.gnu.org/archive/html/qemu-devel/2010-05/msg01201.html

Or the directfb driver in libsdl.


> >> > > So my hunch is that we're not going to make it in time for
> >> > > 4.6. :-/
> >> > >
> >> > > Wei.
> >> >
> >> > 4.5 was _just_ released, and Xen is on a ~10 month release cycle.  Why
> >> > can't this get done?  Someone just has to take a little time to sit
> >>
> >> Notably there are many months that are code freeze.
> >>
> >> And due to our upstream first QEMU policy we would also need to upstream
> >> changes to QEMU.
> >
> > Getting the patches upstream in QEMU shouldn't take longer than getting
> > them upstream in Xen.
> >
> > Also I think upstream QEMU stubdoms would be valuable even without
> > save/restore support.
> 
> Good to hear.  As I mentioned when I posted the patches, I am guessing
> QMP, which appears to be needed for save/restore among other things,
> is going to present some headaches if there are any commands that will
> require coordination of both the stubdom- and Dom0-side instances of
> QEMU for completion.  Anyway, I doubt I am the right person to tackle
> save/restore - it's not a feature I make use of at all.

fair enough


> >> > Can we arrive at an agreement that a Linux-based QEMU-upstream stubdom
> >> > should _at least_ be a technical preview for Xen 4.6?  A year ago,
> >
> > I agree. Or rumpkernel-based QEMU-upstream stubdom. Or something.
> 
> >> If we really want to make this happen before new protocol and
> >> implementation are in place.  That would be "tech preview" or
> >> "experimental", whichever is the term for least mature technology. Note
> >> that this is not due to the route it chooses (Linux based), it's due to
> >> the fact that the protocol is broken and destined to be changed.
> >
> > I think we should not block the entire upstream stubdom effort, whether
> > it is Linux, MiniOS or Rumpkernel based, waiting for the bootup protocol
> > to be fixed.
> >
> > The two things can and should be done in parallel.
> 
> Great; I think we should be able to make this happen for 4.6.
> 
> One of the main issues outstanding from when Anthony originally posted
> his patches is how we want to go about building this?  I honestly do
> not know how well the current dracut-based approach to building the
> root image will work across various Linux distributions; perhaps it
> will be OK, since all of the libraries that dracut will siphon in will
> have to be in place to meet the build requirements for QEMU to begin
> with. 
>
> However, I have zero knowledge about ARM-based Xen or where
> NetBSD is used for dom0, and how they might affect the decisionmaking.
> I also do not know what lessons have been learned from building other
> stubdoms, rumpkernel, or Mirage that might inform these decisions.
> In other words, what do you see as a sensible build scheme?  The
> approach taken in the patches strikes me as too hacky for release
> quality, but maybe it is OK...
 
It looks OK to me but I am not an expert in this kind of things. I'll
let Ian Campbell and Ian Jackson (CC'ed) comment on it.

  reply	other threads:[~2015-02-06 17:23 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-04  4:06 [RFC 0/7] RFC Linux-based QEMU-upstream stub domain Eric Shelton
2015-02-04  4:06 ` [RFC 1/7] linux-stubdomain: Compile QEMU Eric Shelton
2015-02-06 15:46   ` Stefano Stabellini
2015-02-06 17:25     ` Eric Shelton
2015-02-06 17:27       ` Stefano Stabellini
2015-02-06 18:57       ` Wei Liu
2015-02-04  4:06 ` [RFC 2/7] linux-stubdomain: Compile Linux Eric Shelton
2015-02-06 15:51   ` Stefano Stabellini
2015-02-06 17:42     ` Eric Shelton
2015-02-06 17:45       ` Stefano Stabellini
2015-02-09  9:09         ` Ian Campbell
2015-05-14  9:08         ` George Dunlap
2015-05-14  9:28           ` Ian Campbell
2015-05-18 10:37             ` George Dunlap
2015-05-18 10:45               ` Ian Campbell
2015-05-18 10:55                 ` George Dunlap
2015-02-04  4:06 ` [RFC 3/7] linux-stubdomain: Build a disk image Eric Shelton
2015-02-06 15:57   ` Stefano Stabellini
2015-02-06 17:45     ` Eric Shelton
2015-02-04  4:06 ` [RFC 4/7] libxl: Add "stubdomain_version" to domain_build_info Eric Shelton
2015-02-06 16:06   ` Stefano Stabellini
2015-02-06 17:50     ` Eric Shelton
2015-02-06 17:54       ` Stefano Stabellini
2015-02-09  9:11   ` Ian Campbell
2015-02-09 14:11     ` Eric Shelton
2015-02-04  4:06 ` [RFC 5/7] libxl: Handle Linux stubdomain specific QEMU options Eric Shelton
2015-02-06 16:17   ` Stefano Stabellini
2015-02-04  4:06 ` [RFC 6/7] libxl: Build the domain with a Linux based stubdomain Eric Shelton
2015-02-06 16:33   ` Stefano Stabellini
2015-02-04  4:06 ` [RFC 7/7] libxl: Wait for QEMU startup in stubdomain Eric Shelton
2015-02-06 11:16   ` Wei Liu
2015-02-06 13:56     ` Eric Shelton
2015-02-06 14:59       ` Wei Liu
2015-02-06 15:36         ` Stefano Stabellini
2015-02-06 17:10           ` Eric Shelton
2015-02-06 17:23             ` Stefano Stabellini [this message]
2015-02-09  9:07               ` Ian Campbell
2015-02-09  9:14                 ` Stefano Stabellini
2015-02-09 12:08                 ` Anthony PERARD
2015-02-09 13:57                   ` Eric Shelton
2015-02-06 15:46         ` Eric Shelton
2015-02-06 16:12           ` Wei Liu
2015-02-06 15:42 ` [RFC 0/7] RFC Linux-based QEMU-upstream stub domain 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.02.1502061719490.29696@kaball.uk.xensource.com \
    --to=stefano.stabellini@eu.citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=anthony.perard@citrix.com \
    --cc=eshelton@pobox.com \
    --cc=wei.liu2@citrix.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 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.