qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Warner Losh <imp@bsdimp.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Large patch set advice
Date: Mon, 30 Apr 2018 08:44:48 -0600	[thread overview]
Message-ID: <CANCZdfq8mmNV0zZvbejBaJ=qiBEarqHSYNsVC6NPyTZfxXQMAg@mail.gmail.com> (raw)
In-Reply-To: <CAFEAcA9ycYWLJfog5ieugos2DzQGQHU5iyEAutPWCA7Pfr5HpQ@mail.gmail.com>

On Thu, Apr 26, 2018 at 2:11 AM, Peter Maydell <peter.maydell@linaro.org>
wrote:

> On 25 April 2018 at 20:57, Warner Losh <imp@bsdimp.com> wrote:
> > I’ve foolishly volunteered to rebase all the changes that the bad-user
> > mode folks have done to a recent master rev to get these changes
> upstreamed.
> > A number of people have been working on this for a long time. It’s
> possible
> > now to run almost any FreeBSD binary from all the architectures. We use
> it
> > to do ‘native’ builds of tens of thousands of packages in a chroot (so
> > building FreeBSD/arm packages on a FreeBSD amd64 box). The diffs are
> quite
> > large (on the order of 42k lines), so I anticipate some bumps in moving
> > this stuff upstream.
>
> So, first up, thanks for agreeing to do this. It sounds from your
> mail like you're already pretty well aware of the usual pitfalls
> with this kind of work, and I don't really have much to add that's
> QEMU specific that nobody else has said already.
>
> One question I do have is about the other BSDs: bsd-user at least
> in theory is supposed to support freebsd, netbsd and openbsd.
> Your patchsets should fix freebsd, but do you know what the status
> is of netbsd and openbsd? Upstream we do compiletest but no runtime
> testing; I think last time I tried it they didn't work very well,
> but it would be worth checking with the other BSDs downstream to
> see if they're using bsd-user and to make sure we don't break anything
> that is currently working for netbsd/openbsd...
>

I've made inquiries. People are aware of the sbruno branch I'm working to
merge. The consensus is that for NetBSD and OpenBSD both the current
upstream code as well as the current sbruno branch code's status is totally
broken. The sbruno branch people have said looks interesting, but doesn't
materially change what's working.

The testing aspect has me intrigued. How hard would it be to add testing
done for bsd-user to your upstream tests? Before this project, I've only
ever been a qemu user, and even then only around the edges so I'm not
familiar with what's available. For the sake of argument, you can assume
FreeBSD has its own testbed we use, some useful subset of which could be
leveraged into an extended unit test.

Finally, another poster suggested that delete and repopulate would be an
option. While I haven't made any final decisions on whether I want to go
that way, I'd like to know from Peter if he would accept things that way. I
think it may be easier for me to submit something like that, but on the
other hand the boiling the patches down even from 300 to 190 (where the
work stands at the moment) has identified some interesting issues I need to
chase down (mostly relating to either inappropriate for upstreaming patches
mixed in, or relating to what looks like a mismerge a few months ago due to
git + long-lived-branch + merges having... I'll be nice and say 'challenges
when changes collide').

Thanks for all the advice so far and not giving me too much grief over my
epic typos :).

Warner

  parent reply	other threads:[~2018-04-30 14:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-25 19:57 [Qemu-devel] Large patch set advice Warner Losh
2018-04-26  4:18 ` Thomas Huth
2018-04-26  7:02 ` Markus Armbruster
2018-04-26  7:09 ` Daniel P. Berrangé
2018-04-26  8:11 ` Peter Maydell
2018-04-26 11:22   ` Kamil Rytarowski
2018-04-26 19:53     ` Warner Losh
2018-04-26 19:58       ` Kamil Rytarowski
2018-04-26 19:51   ` Warner Losh
2018-04-27 10:05     ` Peter Maydell
2018-04-30 14:44   ` Warner Losh [this message]
2018-04-30 15:05     ` Peter Maydell

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='CANCZdfq8mmNV0zZvbejBaJ=qiBEarqHSYNsVC6NPyTZfxXQMAg@mail.gmail.com' \
    --to=imp@bsdimp.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).