From: "Daniel P. Berrangé" <berrange@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: "Pierrick Bouvier" <pierrick.bouvier@oss.qualcomm.com>,
qemu-devel@nongnu.org, "Paolo Bonzini" <pbonzini@redhat.com>,
"Thomas Huth" <thuth@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Edgar E . Iglesias" <edgar.iglesias@amd.com>
Subject: Re: [PATCH v2 2/4] tests/docker: add support for podman remote access
Date: Fri, 10 Jul 2026 12:52:42 +0100 [thread overview]
Message-ID: <alDdCh7zfJvdD0tn@redhat.com> (raw)
In-Reply-To: <87ldbjqd67.fsf@draig.linaro.org>
On Fri, Jul 10, 2026 at 12:47:28PM +0100, Alex Bennée wrote:
> Daniel P. Berrangé <berrange@redhat.com> writes:
>
> (added Edgar for Microblaze)
>
> > On Thu, Jul 09, 2026 at 09:24:12AM -0700, Pierrick Bouvier wrote:
> >> On 7/9/2026 9:13 AM, Daniel P. Berrangé wrote:
> >> > On Thu, Jul 09, 2026 at 07:48:14AM -0700, Pierrick Bouvier wrote:
> >> >> On 2/10/2026 8:35 AM, Daniel P. Berrangé wrote:
> >> >>> When a developer's environment is already within a podman container it
> >> >>> is not possible to use 'podman' again to create containers. It will
> >> >>> usually result in wierd errors such as:
> >> >>>
> >> >>> Error: fatal error, invalid internal status, unable to create a new pause process: cannot re-exec process to join the existing user namespace. Try running "podman system migrate" and if that doesn't work reboot to recover
> >> >>>
> >> >>> Podman offers the ability to talk to a daemon outside the container,
> >> >>> however, which could be leveraged by QEMU.
> >> >>>
> <snip>
> >> >> Taking a look at why tcg tests are slow to compile, I reached this
> >> >> commit. It seems like that calling 'podman info' is 5 to 10 times slower
> >> >> than calling 'podman version'.
> >> >> Thus, a container run now takes +1s when it was 0.2 before.
> >> >
> >> > Hmmm, but we call 'docker.py probe' in configure and cache the result,
> >> > so that probe should only be done once. 0.2 vs 1s is just noise in
> >> > the context of configure.
> >> >
> >> > That you're seeing any negative effects suggests that we've got
> >> > something not using the cached probe result, which we should fix.
> >> >
> >>
> >> Not really, docker.py --engine X still calls X info.
> >>
> >> https://gitlab.com/qemu-project/qemu/-/blob/master/tests/docker/docker.py#L675
> >> https://gitlab.com/qemu-project/qemu/-/blob/master/tests/docker/docker.py#L78
> >>
> >> Maybe the fix is to remove the check if user specified an explicit
> >> engine. But in this case, there is a problem with podman-remote not
> >> being detected anymore.
> >>
> >> We can fix this by introducing engine=podman-remote, and skip the check
> >> if engine is explicitly set.
> >> What do you think?
> >
> > Urgh, so i see now we have two code paths / make variables
> >
> > RUNC=podman --remote
> > CONTAINER_ENGINE=auto
> >
> > Sometimes we'll invoke docker.py --engine $(CONTAINER_ENGINE)
> > and sometimes we'll directly invoke $(RUNC).
>
> Yeah that could do with cleaning up. I suspect the only places we
> actually still need the script is where we are doing binfmt_misc enabled
> containers unless there is a way to emulate the copying of qemu into the
> container with a plain call? Maybe all the systems now have the
> persistent flags which would skip this.
Yeah, I'd be inclined to say this is a job for the distros to have
qemu-user integration, and simplify our life. THe docker.py script
always confuses me. We could choose podman vs podman --remote vs
docker simply in the meson.build file, as we do for other dev env
choices.
> The toolchain case could be skipped if we could find hosted compilers
> for microblaze. However I do see we have a patch in there.
>
> >
> > The result of "probe" cannot be fed back in to "--engine" which
> > is a bit of a mess. I think the "engine" concept should not be
> > exposed on the cli, and instead have a "--runc" arg which takes
> > the full arg(s), since we need probe to report the runc args
> > for other reasons.
> >
> > With regards,
> > Daniel
>
> --
> Alex Bennée
> Virtualisation Tech Lead @ Linaro
>
With regards,
Daniel
--
|: https://berrange.com ~~ https://hachyderm.io/@berrange :|
|: https://libvirt.org ~~ https://entangle-photo.org :|
|: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|
next prev parent reply other threads:[~2026-07-10 11:53 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-10 16:35 [PATCH v2 0/4] tests/docker: improve detection of docker/podman Daniel P. Berrangé
2026-02-10 16:35 ` [PATCH v2 1/4] tests/docker: improve handling of docker probes Daniel P. Berrangé
2026-02-10 16:35 ` [PATCH v2 2/4] tests/docker: add support for podman remote access Daniel P. Berrangé
2026-03-02 7:51 ` Thomas Huth
2026-07-09 14:48 ` Pierrick Bouvier
2026-07-09 15:40 ` Daniel P. Berrangé
2026-07-09 15:55 ` Pierrick Bouvier
2026-07-09 16:01 ` Daniel P. Berrangé
2026-07-09 16:04 ` Pierrick Bouvier
2026-07-09 16:15 ` Daniel P. Berrangé
2026-07-09 16:13 ` Daniel P. Berrangé
2026-07-09 16:24 ` Pierrick Bouvier
2026-07-10 8:06 ` Daniel P. Berrangé
2026-07-10 11:47 ` Alex Bennée
2026-07-10 11:52 ` Daniel P. Berrangé [this message]
2026-07-10 18:20 ` Pierrick Bouvier
2026-07-13 8:32 ` Daniel P. Berrangé
2026-07-13 16:01 ` Pierrick Bouvier
2026-02-10 16:35 ` [PATCH v2 3/4] tests/docker: allow display of docker output Daniel P. Berrangé
2026-03-02 8:07 ` Thomas Huth
2026-07-10 11:36 ` Alex Bennée
2026-02-10 16:35 ` [PATCH v2 4/4] gitlab: ensure docker output is always displayed in CI Daniel P. Berrangé
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=alDdCh7zfJvdD0tn@redhat.com \
--to=berrange@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=edgar.iglesias@amd.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=pierrick.bouvier@oss.qualcomm.com \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.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.