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?
>
>
maintainer&data=02%7C01%7Cjoakim.tjernlund%40infinera.com%7C8fd615a611ec4bd9cce408d7814dda1a%7C285643de5f5b4b03a1530ae2dc8aaf77%7C1%7C0%7C637120043688298205&sdata=d433DXO8SEaFJqAu73VTQwkZptmvK2eMAxivELGMcMI%3D&reserved=0
> > and
> > the output of ./scripts/get_maintainer.pl -f target/ppc/excp_he
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 requ
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-by
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 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 wrote:
> > > Il 29/08/2014 20:01, Peter Maydell ha scritto:
> > >> [cc'ing MJT for more distro opinion since I think fundamentally
> > >> the
Peter Maydell 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 and when run via the
>
Any resolution for how to handle P flag yet?
Jocke
Joakim Tjernlund/Transmode wrote on 2014/08/25 17:02:42:
>
> Riku Voipio wrote on 2014/08/25 16:49:17:
> >
> > On Mon, Aug 25, 2014 at 04:30:40PM +0200, Joakim Tjernlund wrote:
> > > Riku Voipio w
Riku Voipio wrote on 2014/08/25 16:49:17:
>
> On Mon, Aug 25, 2014 at 04:30:40PM +0200, Joakim Tjernlund wrote:
> > Riku Voipio wrote on 2014/08/25 15:55:55:
> > >
> > > Hi,
> > >
> > > On Mon, Aug 25, 2014 at 03:39:19PM +0200, Joakim Tjernlund
Riku Voipio 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 b
Riku Voipio 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:
> > >
>
Alexander Graf 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 t
Riku Voipio wrote on 2014/08/18 15:17:06:
>
> On 18 August 2014 15:59, Joakim Tjernlund
wrote:
> > Peter Maydell 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 which allows us to
Peter Maydell wrote on 2014/08/18 15:04:50:
>
> On 18 August 2014 13:59, Joakim Tjernlund
wrote:
> > Peter Maydell wrote on 2014/08/18 14:45:49:
> >>
> >> On 18 August 2014 13:38, Joakim Tjernlund
> > wrote:
> >> > Peter Maydell wrote on 2014/
Peter Maydell wrote on 2014/08/18 14:45:49:
>
> On 18 August 2014 13:38, Joakim Tjernlund
wrote:
> > Peter Maydell wrote on 2014/08/18 12:58:48:
> >> Well, binfmt-misc works fine for me as it is and presumably
> >> for most people or we'd have had more com
Peter Maydell wrote on 2014/08/18 12:58:48:
>
> On 18 August 2014 11:49, Joakim Tjernlund
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 is the best
> > way solve this
Riku Voipio wrote on 2014/08/18 10:46:36:
>
> On 15 August 2014 20:49, Peter Maydell wrote:
> > On 15 August 2014 12:01, wrote:
> >> A usual set of improvements and bugfixes. The binfmt flag addition is
an
> >> ABI break so endusers need to update their binfmt registering
scripts.
>
> > Ugh
I do not see this one in master yet. Is there any problem with the patch?
-Joakim Tjernlund wrote: -
===
To: Riku Voipio , Andreas Färber ,
Alexander Graf , qemu-devel@nongnu.org
From: Joakim Tjernlund
Date: 15/07/2014 15:47
Cc: Joakim Tjernlund
Riku Voipio wrote on 2014/07/16 08:54:45:
>
> On Tue, Jul 15, 2014 at 05:11:48PM +0200, Joakim Tjernlund wrote:
> > Riku Voipio wrote on 2014/07/15 16:12:26:
> > > On Mon, Jul 14, 2014 at 05:38:49PM +0200, Joakim Tjernlund wrote:
> > > > Alexander G
Riku Voipio wrote on 2014/07/16 09:55:50:
> From: Riku Voipio
> To: Joakim Tjernlund ,
> Cc: Alexander Graf , Peter Maydell
, "qemu-...@nongnu.org" ,
QEMU Developers
> Date: 2014/07/16 09:55
> Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 4/4] ppc: remove excessive
Riku Voipio wrote on 2014/07/16 08:54:45:
>
> On Tue, Jul 15, 2014 at 05:11:48PM +0200, Joakim Tjernlund wrote:
> > Riku Voipio wrote on 2014/07/15 16:12:26:
> > > On Mon, Jul 14, 2014 at 05:38:49PM +0200, Joakim Tjernlund wrote:
> > > > Alexander G
Riku Voipio wrote on 2014/07/15 16:12:26:
> On Mon, Jul 14, 2014 at 05:38:49PM +0200, Joakim Tjernlund wrote:
> > Alexander Graf wrote on 2014/07/14 17:21:33:
> > > On 14.07.14 16:38, Joakim Tjernlund wrote:
> > > > The popular binfmt-wrapper patch adds an addit
Riku Voipio wrote on 2014/07/15 16:12:26:
>
> On Mon, Jul 14, 2014 at 05:38:49PM +0200, Joakim Tjernlund wrote:
> > Alexander Graf wrote on 2014/07/14 17:21:33:
> > > On 14.07.14 16:38, Joakim Tjernlund wrote:
> > > > The popular binfmt-wrapper patch adds an ad
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
---
v2 - This one actually works and does not abuse argv0
Riku Voipio 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
> > > &g
Joakim Tjernlund/Transmode wrote on 2014/07/14 23:37:02:
> From: Joakim Tjernlund/Transmode
> To:
> Cc: Andreas Färber , Alexander Graf ,
qemu-devel@nongnu.org, Riku Voipio
> Date: 2014/07/14 23:37
> Subject: Re: [Qemu-devel] [PATCH v2] linux-user: make binfmt flag O
requir
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 i
Andreas Färber 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
Alexander Graf 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
> > t
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 | 13 -
scripts/qemu
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 | 13 -
1 file changed, 12
Alexander Graf 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 also pa
Alexander Graf wrote on 2014/07/14 18:54:27:
>
>
> On 14.07.14 18:51, Joakim Tjernlund wrote:
> > Alexander Graf wrote on 2014/07/14 18:34:34:
> >>
> >> On 14.07.14 18:32, Joakim Tjernlund wrote:
> >>> Alexander Graf wrote on 2014/07/14 18:00:
Alexander Graf wrote on 2014/07/14 18:34:34:
>
>
> On 14.07.14 18:32, Joakim Tjernlund wrote:
> > Alexander Graf 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
Alexander Graf wrote on 2014/07/14 18:34:34:
>
>
> On 14.07.14 18:32, Joakim Tjernlund wrote:
> > Alexander Graf 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
Alexander Graf wrote on 2014/07/14 18:00:35:
>
>
> On 14.07.14 17:59, Joakim Tjernlund wrote:
> > Alexander Graf wrote on 2014/07/14 17:46:18:
> >>
> >> On 14.07.14 17:38, Joakim Tjernlund wrote:
> >>> Alexander Graf wrote on 2014/07/14 17:21:33:
Peter Maydell wrote on 2014/07/14 18:00:38:
>
> On 14 July 2014 16:59, Joakim Tjernlund
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
>
> That script is prett
Alexander Graf wrote on 2014/07/14 17:46:18:
>
>
> On 14.07.14 17:38, Joakim Tjernlund wrote:
> > Alexander Graf wrote on 2014/07/14 17:21:33:
> >
> >> From: Alexander Graf
> >> To: Joakim Tjernlund ,
> >> Cc: qemu-devel@nongnu.org
> >&g
Alexander Graf wrote on 2014/07/14 17:21:33:
> From: Alexander Graf
> To: Joakim Tjernlund ,
> 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 wrote:
> > The pop
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
---
linux-user/main.c | 13 +
1 file changed, 13 insertions(+)
diff --git
Peter Maydell wrote on 2014/07/12 19:38:26:
>
> On 12 July 2014 18:30, Joakim Tjernlund
wrote:
> > Peter Maydell wrote on 2014/07/12 17:47:56:
> >> That would work with the current kernel implementation, but
> >> the API definition (as described in the socket(7
Peter Maydell wrote on 2014/07/12 17:47:56:
> From: Peter Maydell
> To: Joakim Tjernlund ,
> Cc: QEMU Developers
> Date: 2014/07/12 17:48
> Subject: Re: [Qemu-devel] [PATCH 1/4] qemu-user: Impl.
setsockopt(SO_BINDTODEVICE)
>
> On 12 July 2014 16:13, Joakim Tjernlu
Peter Maydell 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 clamping of th
Alexander Graf 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 wrote:
> >> On 12.07.14 10:58, Peter Maydell wrote:
> >>> On 12 July 2014 01:39, Alexander Graf wrote:
> What do the other platforms do on illegal instructions
Peter Maydell wrote on 2014/07/12 12:42:48:
>
> On 12 July 2014 10:48, Joakim Tjernlund
wrote:
> > Peter Maydell wrote on 2014/07/12 11:01:55:
> > OK, 2 new patches sent
>
> Thanks.
>
> > I hope these will all make it to the impending release?
>
> I
Signed-off-by: Joakim Tjernlund
---
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
@@ -1497,6 +1497,25 @@ set_timeout
Implement conversion of the AF_PACKET sockaddr subtype
in target_to_host_sockaddr.
Signed-off-by: Joakim Tjernlund
---
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
Peter Maydell wrote on 2014/07/12 11:01:55:
>
> On 12 July 2014 09:31, Joakim Tjernlund
wrote:
> > Peter Maydell wrote on 2014/07/11 19:02:30:
> >> I thought about that, but there's a corner case:
> >> the kernel does the clamping of the optlen before the
&g
---
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:
unlock_user_struct(
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
@@ -1140,
Peter Maydell wrote on 2014/07/11 19:02:30:
> From: Peter Maydell
> To: Joakim Tjernlund ,
> Cc: QEMU Developers
> Date: 2014/07/11 19:02
> Subject: Re: [Qemu-devel] [PATCH 1/4] qemu-user: Impl.
setsockopt(SO_BINDTODEVICE)
>
Snip
>
> >>
> >> Also, the
Alexander Graf 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
wrote:
> >> Peter Maydell wrote on 2014/07/11
19:14:25:
> >>> On 11 July 2014 16:18, Joakim Tjernlund
> >>
Peter Maydell wrote on 2014/07/11 19:14:25:
>
> On 11 July 2014 16:18, Joakim Tjernlund
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 to optimize its perf
Peter Maydell wrote on 2014/07/11 18:00:25:
> On 11 July 2014 16:18, Joakim Tjernlund
wrote:
> > Used by AF_PACKET sockets
> >
> > Signed-off-by: Joakim Tjernlund
> > ---
> > linux-user/syscall.c | 8
> > linux-user/syscall_defs.h |
Peter Maydell wrote on 2014/07/11 17:46:28:
> From: Peter Maydell
> To: Joakim Tjernlund ,
> Cc: QEMU Developers
> Date: 2014/07/11 17:46
> Subject: Re: [Qemu-devel] [PATCH 1/4] qemu-user: Impl.
setsockopt(SO_BINDTODEVICE)
>
> On 11 July 2014 16:18, Joakim Tjernlund
Signed-off-by: Joakim Tjernlund
---
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 +1497,18 @@ set_timeout
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
---
linux-user/syscall.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 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
---
linux
that seems 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_d
Used by AF_PACKET sockets
Signed-off-by: Joakim Tjernlund
---
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 100644
--- a/linux-user/syscall.c
Joakim Tjernlund/Transmode wrote on 2014/07/11 03:45:27:
>
> Joakim Tjernlund wrote on 2014/07/11
03:02:02:
> >
> > Wrong type was used in ioctl definition.
> >
> > Signed-off-by: Joakim Tjernlund
> > ---
> >
> > However, this does not fix
Joakim Tjernlund wrote on 2014/07/11
03:02:02:
>
> Wrong type was used in ioctl definition.
>
> Signed-off-by: Joakim Tjernlund
> ---
>
> However, this does not fix my dhcp problem:
>
> jocke-ppc ~ # busybox udhcpc -v
> Adapter index 24
> MAC fe:22:44:22
Wrong type was used in ioctl definition.
Signed-off-by: Joakim Tjernlund
---
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 deconfig
Setting IP address
> -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
64 matches
Mail list logo