On Mon, 2019-12-16 at 09:27 +0100, Thomas Huth wrote:
>
> On 15/12/2019 22.15, Joakim Tjernlund wrote:
> [...]
> > > LOG_EXCP() is not enabled by default, you have to edit source to enable it
> >
> > LOG_EXCP is enabled on Gentoo, what about other distros?
>
>
=02%7C01%7Cjoakim.tjernlund%40infinera.com%7C8fd615a611ec4bd9cce408d7814dda1a%7C285643de5f5b4b03a1530ae2dc8aaf77%7C1%7C0%7C637120043688298205sdata=d433DXO8SEaFJqAu73VTQwkZptmvK2eMAxivELGMcMI%3Dreserved=0
> > and
> > the output of ./scripts/get_maintainer.pl -f target/ppc/excp_helper.c).
> >
> &g
On Sun, 2019-12-15 at 17:54 +0100, Laurent Vivier wrote:
>
> Le 14/12/2019 à 13:20, Joakim Tjernlund a écrit :
> > From: Joakim Tjernlund
> >
> > QEMU can autodetect if it is started from Linux binfmt loader
> > when binfmt flag O is on.
> > Use that and
From: Joakim Tjernlund
ppc logs every type of Invalid instruction. This generates a lot
of garbage on console when sshd/ssh_keygen executes as
they try various insn to optimize its performance.
The invalid operation log is still there so an unknown insn
will still be logged.
Signed-off
From: Joakim Tjernlund
QEMU can autodetect if it is started from Linux binfmt loader
when binfmt flag O is on.
Use that and require binfmt flag P as well which will enable QEMU
to pass in correct argv0 to the application.
Signed-off-by: Joakim Tjernlund
---
linux-user/main.c | 18
Riku Voipio riku.voi...@iki.fi wrote on 2014/09/01 11:51:15:
On Mon, Sep 01, 2014 at 10:12:18AM +0100, Peter Maydell wrote:
On 1 September 2014 09:51, Paolo Bonzini pbonz...@redhat.com wrote:
Il 29/08/2014 20:01, Peter Maydell ha scritto:
[cc'ing MJT for more distro opinion since I
Peter Maydell peter.mayd...@linaro.org wrote on 2014/08/29 20:01:12:
.
What I really would like is a way for the kernel to tell the
interpreter binary what particular mangling it's chosen to do
of the command line arguments. Then we could have one
binary that coped in both situations
Any resolution for how to handle P flag yet?
Jocke
Joakim Tjernlund/Transmode wrote on 2014/08/25 17:02:42:
Riku Voipio riku.voi...@iki.fi wrote on 2014/08/25 16:49:17:
On Mon, Aug 25, 2014 at 04:30:40PM +0200, Joakim Tjernlund wrote:
Riku Voipio riku.voi...@iki.fi wrote on 2014/08
Alexander Graf ag...@suse.de wrote on 2014/08/25 11:14:58:
On 25.08.14 11:09, Riku Voipio wrote:
Hi,
After weekend, I think the solution to using the P flag is to
go back to Joakim's original patch:
http://lists.gnu.org/archive/html/qemu-devel/2014-07/msg02269.html
With this,
Riku Voipio riku.voi...@iki.fi wrote on 2014/08/25 14:42:57:
On Mon, Aug 25, 2014 at 11:14:58AM +0200, Alexander Graf wrote:
On 25.08.14 11:09, Riku Voipio wrote:
Hi,
After weekend, I think the solution to using the P flag is to
go back to Joakim's original patch:
Riku Voipio riku.voi...@iki.fi wrote on 2014/08/25 15:55:55:
Hi,
On Mon, Aug 25, 2014 at 03:39:19PM +0200, Joakim Tjernlund wrote:
Then consider when you run a LXC without P flag.
Please remember that your usecase of running Qemu in LXC is a new
feature,
never before supported
Riku Voipio riku.voi...@iki.fi wrote on 2014/08/25 16:49:17:
On Mon, Aug 25, 2014 at 04:30:40PM +0200, Joakim Tjernlund wrote:
Riku Voipio riku.voi...@iki.fi wrote on 2014/08/25 15:55:55:
Hi,
On Mon, Aug 25, 2014 at 03:39:19PM +0200, Joakim Tjernlund wrote:
Then consider
Riku Voipio riku.voi...@linaro.org wrote on 2014/08/18 10:46:36:
On 15 August 2014 20:49, Peter Maydell peter.mayd...@linaro.org wrote:
On 15 August 2014 12:01, riku.voi...@linaro.org wrote:
A usual set of improvements and bugfixes. The binfmt flag addition is
an
ABI break so endusers
Peter Maydell peter.mayd...@linaro.org wrote on 2014/08/18 12:58:48:
On 18 August 2014 11:49, Joakim Tjernlund
joakim.tjernl...@transmode.se wrote:
The current binfmt is semibroken as is, for some it works when adding
O
flag but not all apps is happy with that. I think my patch
Peter Maydell peter.mayd...@linaro.org wrote on 2014/08/18 14:45:49:
On 18 August 2014 13:38, Joakim Tjernlund
joakim.tjernl...@transmode.se wrote:
Peter Maydell peter.mayd...@linaro.org wrote on 2014/08/18 12:58:48:
Well, binfmt-misc works fine for me as it is and presumably
for most
Peter Maydell peter.mayd...@linaro.org wrote on 2014/08/18 15:04:50:
On 18 August 2014 13:59, Joakim Tjernlund
joakim.tjernl...@transmode.se wrote:
Peter Maydell peter.mayd...@linaro.org wrote on 2014/08/18 14:45:49:
On 18 August 2014 13:38, Joakim Tjernlund
joakim.tjernl
Riku Voipio riku.voi...@linaro.org wrote on 2014/08/18 15:17:06:
On 18 August 2014 15:59, Joakim Tjernlund
joakim.tjernl...@transmode.se wrote:
Peter Maydell peter.mayd...@linaro.org wrote on 2014/08/18 14:45:49:
I'm sure there are cases which don't work; but we should try
to find a way
I do not see this one in master yet. Is there any problem with the patch?
-Joakim Tjernlund joakim.tjernl...@transmode.se wrote: -
===
To: Riku Voipio riku.voi...@iki.fi, Andreas Färber afaer...@suse.de,
Alexander Graf ag...@suse.de, qemu-devel@nongnu.org
Riku Voipio riku.voi...@iki.fi wrote on 2014/07/16 08:54:45:
On Tue, Jul 15, 2014 at 05:11:48PM +0200, Joakim Tjernlund wrote:
Riku Voipio riku.voi...@iki.fi wrote on 2014/07/15 16:12:26:
On Mon, Jul 14, 2014 at 05:38:49PM +0200, Joakim Tjernlund wrote:
Alexander Graf ag...@suse.de
Riku Voipio riku.voi...@iki.fi wrote on 2014/07/16 09:55:50:
From: Riku Voipio riku.voi...@iki.fi
To: Joakim Tjernlund joakim.tjernl...@transmode.se,
Cc: Alexander Graf ag...@suse.de, Peter Maydell
peter.mayd...@linaro.org, qemu-...@nongnu.org qemu-...@nongnu.org,
QEMU Developers qemu-devel
Riku Voipio riku.voi...@iki.fi wrote on 2014/07/16 08:54:45:
On Tue, Jul 15, 2014 at 05:11:48PM +0200, Joakim Tjernlund wrote:
Riku Voipio riku.voi...@iki.fi wrote on 2014/07/15 16:12:26:
On Mon, Jul 14, 2014 at 05:38:49PM +0200, Joakim Tjernlund wrote:
Alexander Graf ag...@suse.de
Riku Voipio riku.voi...@iki.fi wrote on 2014/07/15 15:20:35:
On Mon, Jul 14, 2014 at 11:37:02PM +0200, Joakim Tjernlund wrote:
Joakim Tjernlund/Transmode wrote on 2014/07/14 23:04:51:
Why do we need to modify argv[] here when we are building a
target_argv[] further down anyway
QEMU can autodetect if it is started from Linux binfmt loader
when binfmt flag O is on.
Use that and require binfmt flag P as well which will enable QEMU
to pass in correct argv0 to the application.
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
---
v2 - This one actually works
Riku Voipio riku.voi...@iki.fi wrote on 2014/07/15 16:12:26:
On Mon, Jul 14, 2014 at 05:38:49PM +0200, Joakim Tjernlund wrote:
Alexander Graf ag...@suse.de wrote on 2014/07/14 17:21:33:
On 14.07.14 16:38, Joakim Tjernlund wrote:
The popular binfmt-wrapper patch adds an additional
Riku Voipio riku.voi...@iki.fi wrote on 2014/07/15 16:12:26:
On Mon, Jul 14, 2014 at 05:38:49PM +0200, Joakim Tjernlund wrote:
Alexander Graf ag...@suse.de wrote on 2014/07/14 17:21:33:
On 14.07.14 16:38, Joakim Tjernlund wrote:
The popular binfmt-wrapper patch adds an additional
linux-user(qemu-$arch) and mangle argv there.
This just produces on executable which can be either copied to
the chroot or bind mounted with the appropriate -binfmt-wrapper
suffix.
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
---
linux-user/main.c | 13 +
1 file changed
Alexander Graf ag...@suse.de wrote on 2014/07/14 17:21:33:
From: Alexander Graf ag...@suse.de
To: Joakim Tjernlund joakim.tjernl...@transmode.se,
Cc: qemu-devel@nongnu.org
Date: 2014/07/14 17:21
Subject: Re: [PATCH] linux-user: Add binfmt wrapper
On 14.07.14 16:38, Joakim Tjernlund
Alexander Graf ag...@suse.de wrote on 2014/07/14 17:46:18:
On 14.07.14 17:38, Joakim Tjernlund wrote:
Alexander Graf ag...@suse.de wrote on 2014/07/14 17:21:33:
From: Alexander Graf ag...@suse.de
To: Joakim Tjernlund joakim.tjernl...@transmode.se,
Cc: qemu-devel@nongnu.org
Date
Peter Maydell peter.mayd...@linaro.org wrote on 2014/07/14 18:00:38:
On 14 July 2014 16:59, Joakim Tjernlund joakim.tjernl...@transmode.se
wrote:
scripts/qemu-binfmt-conf.sh does not use any flag currently, I don't
think
that works either with current linux-user and choot/lxc
Alexander Graf ag...@suse.de wrote on 2014/07/14 18:00:35:
On 14.07.14 17:59, Joakim Tjernlund wrote:
Alexander Graf ag...@suse.de wrote on 2014/07/14 17:46:18:
On 14.07.14 17:38, Joakim Tjernlund wrote:
Alexander Graf ag...@suse.de wrote on 2014/07/14 17:21:33:
From: Alexander
Alexander Graf ag...@suse.de wrote on 2014/07/14 18:34:34:
On 14.07.14 18:32, Joakim Tjernlund wrote:
Alexander Graf ag...@suse.de wrote on 2014/07/14 18:00:35:
You think everyone feel OK with new defaults like OP ?
Yes.
hmm, with current qemu it works to boot a LXC with just O flag
Alexander Graf ag...@suse.de wrote on 2014/07/14 18:34:34:
On 14.07.14 18:32, Joakim Tjernlund wrote:
Alexander Graf ag...@suse.de wrote on 2014/07/14 18:00:35:
You think everyone feel OK with new defaults like OP ?
Yes.
hmm, with current qemu it works to boot a LXC with just O flag
Alexander Graf ag...@suse.de wrote on 2014/07/14 18:54:27:
On 14.07.14 18:51, Joakim Tjernlund wrote:
Alexander Graf ag...@suse.de wrote on 2014/07/14 18:34:34:
On 14.07.14 18:32, Joakim Tjernlund wrote:
Alexander Graf ag...@suse.de wrote on 2014/07/14 18:00:35:
You think everyone
Alexander Graf ag...@suse.de wrote on 2014/07/14 18:54:27:
0 is a valid fd :). And yes, this would work, but I don't see why we
should introduce the -binfmt-wrapper logic to upstream QEMU. It's never
been there. And the AT_EXECFD evaluation is a lot cleaner.
While we're at it - should we
Qemu can autodetect if it is started from Linux binfmt loader
when binfmt flag O is on.
Use that and require binfmt flag P as well which will enable QEMU
to pass in correct argv0 to the application.
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
---
linux-user/main.c | 13
Qemu can autodetect if it is started from Linux binfmt loader
when binfmt flag O is on.
Use that and require binfmt flag P as well which will enable QEMU
to pass in correct argv0 to the application.
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
---
linux-user/main.c
Alexander Graf ag...@suse.de wrote on 2014/07/14 20:39:29:
On 14.07.14 20:32, Joakim Tjernlund wrote:
Qemu can autodetect if it is started from Linux binfmt loader
when binfmt flag O is on.
Use that and require binfmt flag P as well which will enable QEMU
to pass in correct argv0
Andreas Färber afaer...@suse.de wrote on 2014/07/14 22:14:25:
Am 14.07.2014 20:52, schrieb Joakim Tjernlund:
Qemu can autodetect if it is started from Linux binfmt loader
QEMU
when binfmt flag O is on.
Use that and require binfmt flag P as well which will enable QEMU
to pass
Joakim Tjernlund/Transmode wrote on 2014/07/14 23:04:51:
Why do we need to modify argv[] here when we are building a
target_argv[] further down anyway?
Because parse_opts() will not do it for me and I cannot figure out how
to modify
parse_opts() whithout breaking it.
I took another look
Joakim Tjernlund/Transmode wrote on 2014/07/14 23:37:02:
From: Joakim Tjernlund/Transmode
To:
Cc: Andreas Färber afaer...@suse.de, Alexander Graf ag...@suse.de,
qemu-devel@nongnu.org, Riku Voipio riku.voi...@iki.fi
Date: 2014/07/14 23:37
Subject: Re: [Qemu-devel] [PATCH v2] linux-user
Alexander Graf ag...@suse.de wrote on 2014/07/12 02:39:21:
On 11.07.14 20:22, Peter Maydell wrote:
On 11 July 2014 19:15, Joakim Tjernlund
joakim.tjernl...@transmode.se wrote:
Peter Maydell peter.mayd...@linaro.org wrote on 2014/07/11
19:14:25:
On 11 July 2014 16:18, Joakim Tjernlund
Peter Maydell peter.mayd...@linaro.org wrote on 2014/07/11 19:02:30:
From: Peter Maydell peter.mayd...@linaro.org
To: Joakim Tjernlund joakim.tjernl...@transmode.se,
Cc: QEMU Developers qemu-devel@nongnu.org
Date: 2014/07/11 19:02
Subject: Re: [Qemu-devel] [PATCH 1/4] qemu-user: Impl
---
linux-user/syscall.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 57c1664..5a07d9c 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -1497,6 +1497,25 @@ set_timeout:
Used by AF_PACKET sockets
---
linux-user/syscall.c | 7 +++
linux-user/syscall_defs.h | 10 ++
2 files changed, 17 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 5a07d9c..a87fe74 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@
Peter Maydell peter.mayd...@linaro.org wrote on 2014/07/12 11:01:55:
On 12 July 2014 09:31, Joakim Tjernlund joakim.tjernl...@transmode.se
wrote:
Peter Maydell peter.mayd...@linaro.org wrote on 2014/07/11 19:02:30:
I thought about that, but there's a corner case:
the kernel does
Implement conversion of the AF_PACKET sockaddr subtype
in target_to_host_sockaddr.
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
---
linux-user/syscall.c | 7 +++
linux-user/syscall_defs.h | 10 ++
2 files changed, 17 insertions(+)
diff --git a/linux-user
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
---
linux-user/syscall.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 57c1664..3ef046a 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
Alexander Graf ag...@suse.de wrote on 2014/07/12 12:41:05:
On 12.07.14 12:40, Peter Maydell wrote:
On 12 July 2014 10:39, Alexander Graf ag...@suse.de wrote:
On 12.07.14 10:58, Peter Maydell wrote:
On 12 July 2014 01:39, Alexander Graf ag...@suse.de wrote:
What do the other platforms do
Peter Maydell peter.mayd...@linaro.org wrote on 2014/07/11 19:02:30:
hmm, should we not pass through as is to the kernel?
Since we don't copy anything we could just remove this
check and let the kernel decide policy?
I thought about that, but there's a corner case:
the kernel does the
Peter Maydell peter.mayd...@linaro.org wrote on 2014/07/12 17:47:56:
From: Peter Maydell peter.mayd...@linaro.org
To: Joakim Tjernlund joakim.tjernl...@transmode.se,
Cc: QEMU Developers qemu-devel@nongnu.org
Date: 2014/07/12 17:48
Subject: Re: [Qemu-devel] [PATCH 1/4] qemu-user: Impl
Peter Maydell peter.mayd...@linaro.org wrote on 2014/07/12 19:38:26:
On 12 July 2014 18:30, Joakim Tjernlund joakim.tjernl...@transmode.se
wrote:
Peter Maydell peter.mayd...@linaro.org wrote on 2014/07/12 17:47:56:
That would work with the current kernel implementation, but
the API
harmless.
Joakim Tjernlund (4):
qemu-user: Impl. setsockopt(SO_BINDTODEVICE)
linux-user: impl. sockaddr_ll
alloca one extra byte sockets
ppc: remove excessive logging
linux-user/main.c | 1 -
linux-user/syscall.c | 26 +++---
linux-user/syscall_defs.h | 10
Used by AF_PACKET sockets
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
---
linux-user/syscall.c | 8
linux-user/syscall_defs.h | 10 ++
2 files changed, 18 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 1380f4e..a0e1ccc
ppc logs every type of Invalid instruction. This generates a lot
of garbage on console when sshd/ssh_keygen executes as
they try various insn to optimize its performance.
The invalid operation log is still there so an unknown insn
will still be logged.
Signed-off-by: Joakim Tjernlund
target_to_host_sockaddr() may increase the lenth with 1 byte
for AF_UNIX sockets so allocate 1 extra byte.
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
---
linux-user/syscall.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/linux-user/syscall.c b/linux
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
---
linux-user/syscall.c | 12
1 file changed, 12 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 5a272d3..1380f4e 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -1497,6
Peter Maydell peter.mayd...@linaro.org wrote on 2014/07/11 17:46:28:
From: Peter Maydell peter.mayd...@linaro.org
To: Joakim Tjernlund joakim.tjernl...@transmode.se,
Cc: QEMU Developers qemu-devel@nongnu.org
Date: 2014/07/11 17:46
Subject: Re: [Qemu-devel] [PATCH 1/4] qemu-user: Impl
Peter Maydell peter.mayd...@linaro.org wrote on 2014/07/11 18:00:25:
On 11 July 2014 16:18, Joakim Tjernlund joakim.tjernl...@transmode.se
wrote:
Used by AF_PACKET sockets
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
---
linux-user/syscall.c | 8
Peter Maydell peter.mayd...@linaro.org wrote on 2014/07/11 19:14:25:
On 11 July 2014 16:18, Joakim Tjernlund joakim.tjernl...@transmode.se
wrote:
ppc logs every type of Invalid instruction. This generates a lot
of garbage on console when sshd/ssh_keygen executes as
they try various insn
Wrong type was used in ioctl definition.
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
---
However, this does not fix my dhcp problem:
jocke-ppc ~ # busybox udhcpc -v
Adapter index 24
MAC fe:22:44:22:55:77
udhcpc (v1.21.0) started
Executing /usr/share/udhcpc/default.script
Joakim Tjernlund joakim.tjernl...@transmode.se wrote on 2014/07/11
03:02:02:
Wrong type was used in ioctl definition.
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
---
However, this does not fix my dhcp problem:
jocke-ppc ~ # busybox udhcpc -v
Adapter index 24
MAC
Joakim Tjernlund/Transmode wrote on 2014/07/11 03:45:27:
Joakim Tjernlund joakim.tjernl...@transmode.se wrote on 2014/07/11
03:02:02:
Wrong type was used in ioctl definition.
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
---
However, this does not fix my dhcp
-Original Message-
From: Rob Landley [mailto:[EMAIL PROTECTED]
Sent: den 29 mars 2007 18:53
To: [EMAIL PROTECTED]
Cc: uclibc@uclibc.org; qemu-devel@nongnu.org
Subject: Re: Powerpc crt1.S change faulty
On Thursday 29 March 2007 4:05 am, Joakim Tjernlund wrote:
Hi Rob
I
63 matches
Mail list logo