qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fam Zheng <famz@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: peter.maydell@linaro.org, stefanha@gmail.com, agraf@suse.de,
	qemu-devel@nongnu.org, borntraeger@de.ibm.com,
	jfrei@linux.vnet.ibm.com,
	Cornelia Huck <cornelia.huck@de.ibm.com>,
	alex.bennee@linaro.org
Subject: Re: [Qemu-devel] [PATCH] s390x/kvm: fix run_on_cpu sigp conversions
Date: Mon, 7 Nov 2016 17:00:55 +0800	[thread overview]
Message-ID: <20161107090055.GC10158@lemon> (raw)
In-Reply-To: <baf2fd31-adff-f049-fe42-f0fdfc31dac6@redhat.com>

On Mon, 11/07 09:34, Paolo Bonzini wrote:
> 
> 
> On 07/11/2016 08:36, Fam Zheng wrote:
> > On Fri, 11/04 10:06, Paolo Bonzini wrote:
> >>
> >>
> >> On 02/11/2016 17:21, Cornelia Huck wrote:
> >>> Commit 14e6fe12a ("*_run_on_cpu: introduce run_on_cpu_data type")
> >>> attempted to convert all users of run_on_cpu to use the new
> >>> run_on_cpu_data type. It missed to change the called sigp_* routines,
> >>> however. Fix that.
> >>>
> >>> Fixes: 14e6fe12a ("*_run_on_cpu: introduce run_on_cpu_data type")
> >>> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
> >>> ---
> >>> Peter, Stefan: This fixes building for s390x which is currently
> >>> broken (at least with kvm enabled). Two questions:
> >>> - Will you pick this up as a build fix, or should I do a pull req?
> >>> - Can we do anything more to catch errors like this?
> >>
> >> Fam, can we use the linux-user support in tests/docker to build QEMU
> >> with KVM support on ARM/MIPS/s390?  It would be already much better,
> >> even if it obviously cannot run with KVM.
> > 
> > I suppose you are asking adding coverage to patchew? (If you are asking if
> > tests/docker can use linux-user to do that, the answer is yes, as long as there
> > is debootstrap support for that platform.)
> 
> No, not necessarily---I use tests/docker myself before sending pull
> requests, and these days Peter only rejects my pull request for macOS
> problems. :)

OK. The command is something along:

    $ arch=mips
    $ make docker-test-quick@debian-bootstrap \
        DEB_ARCH=$arch DEB_TYPE=stable \
        EXECUTABLE=/usr/bin/qemu-$arch \
        V=1 J=8

(FWIW, to avoid ld.so collision with the $arch binaries in the image, I only use
statically compiled qemu-user.)

Fam

  reply	other threads:[~2016-11-07  9:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-02 16:21 [Qemu-devel] [PATCH] s390x/kvm: fix run_on_cpu sigp conversions Cornelia Huck
2016-11-04  8:23 ` Christian Borntraeger
2016-11-04  8:25   ` Christian Borntraeger
2016-11-04  9:06 ` Paolo Bonzini
2016-11-07  7:36   ` Fam Zheng
2016-11-07  8:34     ` Paolo Bonzini
2016-11-07  9:00       ` Fam Zheng [this message]
2016-11-07 11:34 ` Stefan Hajnoczi

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=20161107090055.GC10158@lemon \
    --to=famz@redhat.com \
    --cc=agraf@suse.de \
    --cc=alex.bennee@linaro.org \
    --cc=borntraeger@de.ibm.com \
    --cc=cornelia.huck@de.ibm.com \
    --cc=jfrei@linux.vnet.ibm.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.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).