[PATCH] MAINTAINERS: update linux-user maintainer

2020-07-02 Thread riku . voipio
From: Riku Voipio I haven't been active for a while. Pass the maintainer hat forward to Laurent, who has done a stellar job filling in. Signed-off-by: Riku Voipio --- MAINTAINERS | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git MAINTAINERS MAINTAINERS index dec252f38b

Re: [Qemu-devel] [PATCH 0/2] linux-user: Fix race between threads in page_unprotect()

2018-01-19 Thread Riku Voipio
Hi Laurent, On Mon, Jan 15, 2018 at 01:52:32PM +0100, Laurent Vivier wrote: > Le 15/01/2018 à 13:48, Peter Maydell a écrit : > > On 28 November 2017 at 14:35, Peter Maydell > > wrote: > >> If multiple guest threads in user-mode emulation write to a > >> page which QEMU

[Qemu-devel] [PULL 11/15] linux-user/s390x: Mask si_addr for SIGSEGV

2017-11-20 Thread riku . voipio
is one of the issues described in https://bugs.launchpad.net/qemu/+bug/1705118 Reviewed-by: Laurent Vivier <laur...@vivier.eu> Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Riku Voipio <riku.voi...@

[Qemu-devel] [PULL 13/15] linux-user/sparc: Put address for data faults where linux-user expects it

2017-11-20 Thread riku . voipio
field of the guest siginfo. Reviewed-by: Laurent Vivier <laur...@vivier.eu> Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- target/sparc/mmu_helper.c |

[Qemu-devel] [PULL 10/15] linux-user: return EINVAL from prctl(PR_*_SECCOMP)

2017-11-20 Thread riku . voipio
owg...@mips.com> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/syscall.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 84e123b67b..f31b853bb7 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall

[Qemu-devel] [PULL 04/15] linux-user/hppa: Fix typo for TARGET_NR_epoll_wait

2017-11-20 Thread riku . voipio
From: Helge Deller <del...@gmx.de> Reviewed-by: Laurent Vivier <laur...@vivier.eu> Signed-off-by: Helge Deller <del...@gmx.de> Message-Id: <20170311100543.ga29...@ls3530.fritz.box> Signed-off-by: Richard Henderson <r...@twiddle.net> Signed-off-by: Riku Voipio <r

[Qemu-devel] [PULL 14/15] linux-user: Handle rt_sigaction correctly for SPARC

2017-11-20 Thread riku . voipio
<laur...@vivier.eu> Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/syscall.c | 27 +++ 1 file changed, 23 insertions(+), 4 de

[Qemu-devel] [PULL 03/15] linux-user/hppa: Fix cpu_clone_regs

2017-11-20 Thread riku . voipio
From: Richard Henderson <r...@twiddle.net> By failing to return from the syscall in the child, the child issues another clone syscall and hilarity ensues. Signed-off-by: Richard Henderson <r...@twiddle.net> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/hpp

[Qemu-devel] [PULL 15/15] linux-user: Fix calculation of auxv length

2017-11-20 Thread riku . voipio
xv as we pre-calculated, rather than merely having a comment saying we need to do that. Fixes: https://bugs.launchpad.net/qemu/+bug/1728116 Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Riku Voipio

[Qemu-devel] [PULL 06/15] linux-user/hppa: Fix TARGET_F_RDLCK, TARGET_F_WRLCK, TARGET_F_UNLCK

2017-11-20 Thread riku . voipio
From: Helge Deller <del...@gmx.de> Signed-off-by: Helge Deller <del...@gmx.de> Signed-off-by: Richard Henderson <r...@twiddle.net> Message-ID: <20170311175019.ga7...@ls3530.fritz.box> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/syscall_def

[Qemu-devel] [PULL 08/15] linux-user/syscall.c: Handle SH4's exceptional alignment for p{read, write}64

2017-11-20 Thread riku . voipio
ohn Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> Signed-off-by: James Clarke <jrt...@jrtc27.com> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/syscall.c | 36 +--- 1 file changed, 25 insertions(+), 11 deletions(-) diff

[Qemu-devel] [PULL 12/15] linux-user/ppc: Report correct fault address for data faults

2017-11-20 Thread riku . voipio
struction that caused the fault. This fixes the test case in https://bugs.launchpad.net/qemu/+bug/1077116 for ppc, ppc64 and ppc64le. Reviewed-by: Laurent Vivier <laur...@vivier.eu> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Riku Voipio <riku.voi...@lin

[Qemu-devel] [PULL 05/15] linux-user/hppa: Fix TARGET_MAP_TYPE

2017-11-20 Thread riku . voipio
lt;20170311175019.ga7...@ls3530.fritz.box> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/syscall_defs.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index 38339ecb9a..a6ed30d70e 100644 --- a/l

[Qemu-devel] [PULL 02/15] linux-user/hppa: Fix TARGET_SA_* defines

2017-11-20 Thread riku . voipio
From: Helge Deller <del...@gmx.de> Reviewed-by: Laurent Vivier <laur...@vivier.eu> Signed-off-by: Helge Deller <del...@gmx.de> Signed-off-by: Richard Henderson <r...@twiddle.net> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/syscall_defs.h |

[Qemu-devel] [PULL 01/15] linux-user: Restrict usage of sa_restorer

2017-11-20 Thread riku . voipio
-by: Richard Henderson <r...@twiddle.net> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/signal.c | 4 ++-- linux-user/syscall_defs.h | 13 + 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/linux-user/signal.c b/linux-user/signal.c inde

[Qemu-devel] [PULL 07/15] linux-user: Handle TARGET_MAP_STACK and TARGET_MAP_HUGETLB

2017-11-20 Thread riku . voipio
r <del...@gmx.de> Message-Id: <20170311183016.ga20...@ls3530.fritz.box> [rth: Drop MAP_STACK instead of translating it, since it is ignored in the kernel anyway. Fix tabs to spaces.] Signed-off-by: Richard Henderson <r...@twiddle.net> Signed-off-by: Riku Voipio <riku.voi...@

[Qemu-devel] [PULL 00/15] late linux-user fixes for 2.11

2017-11-20 Thread riku . voipio
From: Riku Voipio <riku.voi...@linaro.org> The following changes since commit b0fbe46ad82982b289a44ee2495b59b0bad8a842: Update version for v2.11.0-rc0 release (2017-11-07 16:05:28 +) are available in the git repository at: git://git.linaro.org/people/riku.voipio/qemu.git tag

[Qemu-devel] [PULL 09/15] linux-user: fix 'finshed' typo in comment

2017-11-20 Thread riku . voipio
From: "Emilio G. Cota" <c...@braap.org> Signed-off-by: Emilio G. Cota <c...@braap.org> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/syscall.c b/linux-use

Re: [Qemu-devel] [PATCH v2] linux-user: fix is_proc_myself to check the paths via realpath

2017-11-07 Thread Riku Voipio
Hi, On Mon, Nov 06, 2017 at 08:17:44PM +, Zach Riggle wrote: > Ping! What needs to be done to move this forward? My current implementation > is compatible with musl. I'll have a look at it soon. Riku > On Thu, Nov 2, 2017 at 12:36 PM Peter Maydell > wrote: > > >

Re: [Qemu-devel] [PATCH 0/4] linux-user: fix various SIGSEGV delivery bugs

2017-11-07 Thread Riku Voipio
On Mon, Nov 06, 2017 at 06:33:22PM +, Peter Maydell wrote: > This patchset fixes most of the problems with delivering SIGSEGV > noted in https://bugs.launchpad.net/qemu/+bug/1705118: > * s390x is missing masking operations on the fault address >passed to the guest in si_addr > * ppc is

Re: [Qemu-devel] [PATCH v2] linux-user: return EINVAL from prctl(PR_*_SECCOMP)

2017-11-06 Thread Riku Voipio
On Mon, Nov 06, 2017 at 06:03:51PM +, James Cowgill wrote: > If an application tries to install a seccomp filter using > prctl(PR_SET_SECCOMP), the filter is likely for the target instead of the host > architecture. This will probably cause qemu to be immediately killed when it > executes

Re: [Qemu-devel] [PATCH 2/4] linux-user: fix 'finshed' typo in comment

2017-11-06 Thread Riku Voipio
Applied to linux-user, thanks Riku On Wed, Oct 18, 2017 at 06:01:41PM -0400, Emilio G. Cota wrote: > Signed-off-by: Emilio G. Cota > --- > linux-user/syscall.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/linux-user/syscall.c b/linux-user/syscall.c

Re: [Qemu-devel] [PATCH v3] linux-user/syscall.c: Handle SH4's exceptional alignment for p{read, write}64

2017-11-06 Thread Riku Voipio
On Wed, Oct 04, 2017 at 10:38:50AM +0200, John Paul Adrian Glaubitz wrote: > Hi! > > Any chance that this patch gets merged soon? > > Looks like it has been reviewed by at least Richard and Philippe. Sorry, slipped under radar. Applied to linux-user. > Adrian > > On 09/15/2017 09:33 PM,

Re: [Qemu-devel] [PATCH 0/7] linux-user fixes, mostly for hppa

2017-11-06 Thread Riku Voipio
On Tue, Oct 31, 2017 at 01:53:51PM +0100, Richard Henderson wrote: > I believe these were last posted back in March. > I must claim responsibility for not pinging earlier. Thanks, applied to linux-user > > r~ > > > Helge Deller (5): > linux-user/hppa: Fix TARGET_SA_* defines >

Re: [Qemu-devel] [PATCH v2] linux-user: fix is_proc_myself to check the paths via realpath

2017-10-27 Thread Riku Voipio
On Thu, Oct 26, 2017 at 04:06:22PM -0500, Zach Riggle wrote: > Friendly ping :) > > I've updated the patch with v2 which addresses the style issue I'll have a look at it soon. > > *Zach Riggle* > > On Tue, Oct 24, 2017 at 10:34 PM, Zach Riggle wrote: > > > Previously,

[Qemu-devel] [PULL 08/10] linux-user: Fix target FS_IOC_GETFLAGS and FS_IOC_SETFLAGS numbers

2017-10-18 Thread riku . voipio
vivier.eu> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/syscall_defs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index 6e2287e918..447915cf80 100644 --- a/linux-user/syscall_defs.h +

[Qemu-devel] [PULL 10/10] linux-user: Fix TARGET_MTIOCTOP/MTIOCGET/MTIOCPOS values

2017-10-18 Thread riku . voipio
Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/syscall_defs.h | 31 --- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/linux-user/syscall_defs.h b/linux-user/sy

[Qemu-devel] [PULL 06/10] linux-user: Tidy and enforce reserved_va initialization

2017-10-18 Thread riku . voipio
Define a workable value in linux-user/arm/, and also document why the special case is required. Signed-off-by: Richard Henderson <r...@twiddle.net> Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> Message-Id: <20170708025030.15845-3-...@twiddle.net> Signed-off-by: Riku Voipio

[Qemu-devel] [PULL 00/10] linux-user update for 2.11

2017-10-18 Thread riku . voipio
From: Riku Voipio <riku.voi...@linaro.org> The following changes since commit 40a1e8ac2e10155b5df13a2508ac080b00cd7e23: Merge remote-tracking branch 'remotes/elmarco/tags/vu-pull-request' into staging (2017-10-16 10:22:39 +0100) are available in the git repository at: git://git.lina

[Qemu-devel] [PULL 07/10] linux-user/sh4: Reduce TARGET_VIRT_ADDR_SPACE_BITS to 31

2017-10-18 Thread riku . voipio
org> Message-Id: <20170708025030.15845-4-...@twiddle.net> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- target/sh4/cpu.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/target/sh4/cpu.h b/target/sh4/cpu.h index 79f85d3365..123f34783a 100644 --- a/tar

[Qemu-devel] [PULL 05/10] tcg: Fix off-by-one in assert in page_set_flags

2017-10-18 Thread riku . voipio
eu-Daudé <f4...@amsat.org> Message-Id: <20170708025030.15845-2-...@twiddle.net> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- accel/tcg/translate-all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c index

[Qemu-devel] [PULL 04/10] linux-user: Allow -R values up to 0xffff0000 for 32-bit ARM guests

2017-10-18 Thread riku . voipio
ich meant that it wasn't permitting the guest space to butt right up against the commpage. Fix the comparison, so that -R values all the way up to 0x work correctly. Reviewed-by: Emilio G. Cota <c...@braap.org> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Signe

[Qemu-devel] [PULL 01/10] linux-user: fix O_TMPFILE handling

2017-10-18 Thread riku . voipio
From: Riku Voipio <riku.voi...@linaro.org> Since O_TMPFILE might differ between guest and host, add it to the bitmask_transtbl. While at it, fix the definitions of O_DIRECTORY etc which should arm32 according to kernel sources. This fixes open14 and openat03 ltp testcases. Fixes:

[Qemu-devel] [PULL 02/10] target/m68k, linux-user: manage FP registers in ucontext

2017-10-18 Thread riku . voipio
From: Laurent Vivier <laur...@vivier.eu> Signed-off-by: Laurent Vivier <laur...@vivier.eu> Reviewed-by: Richard Henderson <r...@twiddle.net> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/signal.c | 43 +++ 1 fil

[Qemu-devel] [PULL 03/10] linux-user: remove duplicate break in syscall

2017-10-18 Thread riku . voipio
From: Carlo Marcelo Arenas Belón <care...@gmail.com> likely introduced in 3532fa7402cda16f7b95261b0339c58630051f0b Signed-off-by: Carlo Marcelo Arenas Belón <care...@gmail.com> Reviewed-by: Laurent Vivier <laur...@vivier.eu> Signed-off-by: Riku Voipio <riku.voi...@linaro

[Qemu-devel] [PULL 09/10] linux-user/main: support dfilter

2017-10-18 Thread riku . voipio
er.eu> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/main.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/linux-user/main.c b/linux-user/main.c index fd54d344bb..dde04c769a 100644 --- a/linu

Re: [Qemu-devel] [PATCH] linux-user/main: support dfilter

2017-10-17 Thread Riku Voipio
On Tue, Oct 17, 2017 at 11:35:14AM +0100, Alex Bennée wrote: > This adds the -dfilter support to linux-user. There is a minor > checkpatch complaint about formatting which I've ignored for aesthetic > reasons. Applied to linux-user, thanks > Signed-off-by: Alex Bennée >

Re: [Qemu-devel] [PATCH 2/2] linux-user: Fix TARGET_MTIOCTOP/MTIOCGET/MTIOCPOS values

2017-10-16 Thread Riku Voipio
On Thu, Oct 12, 2017 at 07:08:55PM +0200, Laurent Vivier wrote: > Le 12/10/2017 à 18:53, Peter Maydell a écrit : > > On 12 October 2017 at 17:49, Laurent Vivier wrote: > >> Le 12/10/2017 à 17:30, Peter Maydell a écrit : > >>> +#if defined(TARGET_SPARC) || defined(TARGET_MIPS) >

Re: [Qemu-devel] [PATCH 1/2] linux-user: Fix target FS_IOC_GETFLAGS and FS_IOC_SETFLAGS numbers

2017-10-16 Thread Riku Voipio
On Thu, Oct 12, 2017 at 04:30:44PM +0100, Peter Maydell wrote: > We were defining TARGET_FS_IOC_GETFLAGS and TARGET_FS_IOC_SETFLAGS > using the host 'long' type in the size field, which meant that > they had the wrong values if the host and guest had different > sized longs. Switch to abi_long

Re: [Qemu-devel] [PATCH v2 0/4] linux-user fixes for va mapping

2017-10-16 Thread Riku Voipio
On Thu, Oct 05, 2017 at 10:35:57AM -0400, Richard Henderson wrote: > Version 1 was back in July, > > https://lists.gnu.org/archive/html/qemu-devel/2017-07/msg02033.html > > > At first I was simply going to add TARGET_SH to the existing > > set of defines that trigger a 31-bit address

Re: [Qemu-devel] [PATCH] linux-user: remove duplicate break in syscall

2017-10-16 Thread Riku Voipio
On Mon, Sep 25, 2017 at 09:14:20PM -0700, Carlo Marcelo Arenas Belón wrote: > likely introduced in 3532fa7402cda16f7b95261b0339c58630051f0b > > Signed-off-by: Carlo Marcelo Arenas Belón Applied to linux-user, thanks > --- > linux-user/syscall.c | 1 - > 1 file changed, 1

Re: [Qemu-devel] linux-user: refactor socket.h into architecture specific sockbits

2017-10-16 Thread Riku Voipio
On Wed, Oct 11, 2017 at 12:10:04AM -0700, Carlo Arenas wrote: > ping Thanks for your patience > some of the patches already have a Reviewed-by as shown by : > > http://patchwork.ozlabs.org/patch/818378/ Can you send the series without the whitespace-only changes? > On Mon, Sep 25, 2017 at

Re: [Qemu-devel] [PATCH v4 1/1] target/m68k, linux-user: manage FP registers in ucontext

2017-10-16 Thread Riku Voipio
On Thu, Sep 14, 2017 at 06:35:05PM +0200, Laurent Vivier wrote: > Signed-off-by: Laurent Vivier > Reviewed-by: Richard Henderson Applied to linux-user que, thnanks > --- > linux-user/signal.c | 43 +++ > 1 file

[Qemu-devel] [Bug 1709170] [PATCH] linux-user: fix O_TMPFILE handling

2017-08-08 Thread Riku Voipio
Since O_TMPFILE might differ between guest and host, add it to the bitmask_transtbl. While at it, fix the definitions of O_DIRECTORY etc on arm64, which are identical to arm32 according to kernel sources. This fixes open14 and openat03 ltp testcases. Fixes:

Re: [Qemu-devel] [Bug 1709170] [NEW] QEMU fails to honor O_TMPFILE

2017-08-08 Thread Riku Voipio
On Mon, Aug 07, 2017 at 08:18:04PM -, Thiago Macieira wrote: > Public bug reported: > > When making a call like > > open("/tmp", O_TMPFILE | O_RDWR); > > under QEMU, we ged -EISDIR. > > Under any kernel 3.11 or later, we are supposed to get an unnamed file > in /tmp. In case the

[Qemu-devel] [Bug 1709170] Re: QEMU fails to honor O_TMPFILE

2017-08-08 Thread Riku Voipio
Hi Thiago, What is the version of glibc on the targets you are building to? There was an O_TMPFILE bug in older glibc's: https://sourceware.org/bugzilla/show_bug.cgi?id=17912 ** Bug watch added: Sourceware.org Bugzilla #17912 https://sourceware.org/bugzilla/show_bug.cgi?id=17912 -- You

Re: [Qemu-devel] [PATCH v5 6/6] target-m68k, linux-user: manage FP registers in ucontext

2017-06-29 Thread Riku Voipio
On Wed, Jun 28, 2017 at 10:44:57PM +0200, Laurent Vivier wrote: > Riku, > > could you ACK this patch, so I will add it in my next pull request for m68k? Whatabout Richard's comment about using cpu_m68k_set_fpcr ? Riku > Thanks, > Laurent > > Le 20/06/2017 à 22:51, Laurent Vivier a écrit : >

[Qemu-devel] [PULL 15/15] linux-user: add strace support for uinfo structure of rt_sigqueueinfo() and rt_tgsigqueueinfo()

2017-05-31 Thread riku . voipio
ueinfo(8307,50,0x0040007ff6b0) = 0 After this commit, it looks like this: 8307 rt_sigqueueinfo(8307,50,{si_signo=50, si_code=SI_QUEUE, si_pid=8307, si_uid=1000, si_sigval=17716762128}) = 0 Signed-off-by: Miloš Stojanović <milos.stojano...@rt-rk.com> Signed-off-by: Riku Voipio <riku.voi...@linaro.org&g

[Qemu-devel] [PULL 10/15] linux-user: fix mismatch of lock/unlock_user() invocations in rt_sigqueinfo() syscall

2017-05-31 Thread riku . voipio
From: Miloš Stojanović <milos.stojano...@rt-rk.com> Change the unlock_user() argument from arg1 to arg3 to match with lock_user(), since arg3 contains the pointer to the siginfo_t structure. Signed-off-by: Miloš Stojanović <milos.stojano...@rt-rk.com> Signed-off-by: Riku Voip

[Qemu-devel] [PULL 08/15] linux-user: add tkill(), tgkill() and rt_sigqueueinfo() strace

2017-05-31 Thread riku . voipio
Signed-off-by: Miloš Stojanović <milos.stojano...@rt-rk.com> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/strace.c| 41 + linux-user/strace.list | 6 +++--- 2 files changed, 44 insertions(+), 3 deletions(-) diff --git a/l

[Qemu-devel] [PULL 13/15] linux-user: add rt_tgsigqueueinfo() strace

2017-05-31 Thread riku . voipio
: 7775 rt_tgsigqueueinfo(7775,7775,50,0x76ffea5c) = 0 Signed-off-by: Miloš Stojanović <milos.stojano...@rt-rk.com> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/strace.c| 15 +++ linux-user/strace.list | 2 +- 2 files changed, 16 insertions(+), 1 delet

[Qemu-devel] [PULL 11/15] linux-user: fix argument type declaration of rt_sigqueinfo() syscall

2017-05-31 Thread riku . voipio
s.stojano...@rt-rk.com> Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index de85b

[Qemu-devel] [PULL 07/15] linux-user: add strace for getuid(), gettid(), getppid(), geteuid()

2017-05-31 Thread riku . voipio
...@amsat.org> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/strace.list | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linux-user/strace.list b/linux-user/strace.list index 3b1282ec1a..6e33788a17 100644 --- a/linux-user/strace.list +++

[Qemu-devel] [PULL 14/15] linux-user: fix inconsistent spaces in print_siginfo() output

2017-05-31 Thread riku . voipio
i_code. Host strace was used as a reference for this chage. Prior to this commit, typical strace output used to look like this: Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/strace.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/linux-u

[Qemu-devel] [PULL 06/15] linux-user: remove all traces of qemu from /proc/self/cmdline

2017-05-31 Thread riku . voipio
From: Andreas Schwab <sch...@suse.de> Instead of post-processing the real contents use the remembered target argv. That removes all traces of qemu, including command line options, and handles QEMU_ARGV0. Signed-off-by: Andreas Schwab <sch...@suse.de> Signed-off-by: Riku Voip

[Qemu-devel] [PULL 12/15] linux-user: add support for rt_tgsigqueueinfo() system call

2017-05-31 Thread riku . voipio
ed-off-by: Miloš Stojanović <milos.stojano...@rt-rk.com> Conflicts: linux-user/syscall.c Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/syscall.c | 16 1 file changed, 16 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.

[Qemu-devel] [PULL 09/15] linux-user: fix ssetmask() system call

2017-05-31 Thread riku . voipio
anović <milos.stojano...@rt-rk.com> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/syscall.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 909dde6de6..93bc6f679e 100644 --- a/linux-us

[Qemu-devel] [PULL 03/15] linux-user: fix fadvise64_64() on ppc

2017-05-31 Thread riku . voipio
From: Laurent Vivier <laur...@vivier.eu> On ppc, advice is arg2, not arg6: long ppc_fadvise64_64(int fd, int advice, u32 offset_high, u32 offset_low, u32 len_high, u32 len_low) Signed-off-by: Laurent Vivier <laur...@vivier.eu> Signed-off-by: Riku Voip

[Qemu-devel] [PULL 04/15] linux-user: fix inotify

2017-05-31 Thread riku . voipio
name[]; }; The integer fields must be byte-swapped to the target endianness. Signed-off-by: Laurent Vivier <laur...@vivier.eu> Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/syscall.c | 29 +

[Qemu-devel] [PULL 00/15] Misc linux-user updates

2017-05-31 Thread riku . voipio
From: Riku Voipio <riku.voi...@linaro.org> The following changes since commit 9964e96dccf7f7c936ee854a795415d19b60: Merge remote-tracking branch 'jasowang/tags/net-pull-request' into staging (2017-05-23 15:01:31 +0100) are available in the git repository at: git://git.lina

[Qemu-devel] [PULL 05/15] linux-user: allocate heap memory for execve arguments

2017-05-31 Thread riku . voipio
oogle.com> Signed-off-by: Prasad J Pandit <p...@fedoraproject.org> Reviewed-by: Eric Blake <ebl...@redhat.com> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/syscall.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/linux-user/syscall.

[Qemu-devel] [PULL 02/15] linux-user: fix eventfd

2017-05-31 Thread riku . voipio
From: Laurent Vivier <laur...@vivier.eu> When a fd is opened using eventfd(), a read provides a 64bit counter in the host byte order, and a write increase the internal counter by the provided 64bit value. Signed-off-by: Laurent Vivier <laur...@vivier.eu> Signed-off-by: Riku Voip

[Qemu-devel] [PULL 01/15] linux-user: call fd_trans_target_to_host_data() for write()

2017-05-31 Thread riku . voipio
ed-off-by: Laurent Vivier <laur...@vivier.eu> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/syscall.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index cec8428589..b2b563e388 10064

Re: [Qemu-devel] [PATCH] linux-user: remove all traces of qemu from /proc/self/cmdline

2017-05-19 Thread Riku Voipio
On Mon, Mar 20, 2017 at 12:31:55PM +0100, Andreas Schwab wrote: > Instead of post-processing the real contents use the remembered target > argv. That removes all traces of qemu, including command line options, > and handles QEMU_ARGV0. Applied to Linux-user, thanks Riku > Signed-off-by:

Re: [Qemu-devel] [PATCH] linux-user: Fix TARGET_MAP* and TARGET_F_??LCK for hppa arch

2017-05-19 Thread Riku Voipio
On Sun, Mar 12, 2017 at 08:17:46AM +1000, Richard Henderson wrote: > On 03/12/2017 03:50 AM, Helge Deller wrote: > >TARGET_MAP_TYPE needs to be 0x03 instead of 0x0f on the hppa > >architecture, otherwise it conflicts with MAP_FIXED which is 0x04. > > > >Add missing TARGET_MAP_STACK and

Re: [Qemu-devel] [PATCH 0/2] linux-user: fix eventfd()

2017-05-19 Thread Riku Voipio
On Tue, Apr 25, 2017 at 06:32:30PM +0200, Laurent Vivier wrote: > Ping? Applied, thanks. > Laurent > > Le 01/03/2017 à 10:37, Laurent Vivier a écrit : > > This patch series byte-swap the uint64_t data stream > > of a file-descriptor opened with eventfd(). > > > > It allows to pass more LTP

Re: [Qemu-devel] [PATCH] maintainers: Add myself as linux-user reviewer

2017-05-11 Thread Riku Voipio
On Wed, May 10, 2017 at 05:39:50PM +0200, Laurent Vivier wrote: > I volunteer to review linux-user patches. > Adding myself will help to not miss some of them. > > Signed-off-by: Laurent Vivier <laur...@vivier.eu> Acked-by: Riku Voipio <riku.voi...@linaro.org> > --

Re: [Qemu-devel] [PATCH v2 7/7] linux-user: Fix mq_open

2017-01-05 Thread Riku Voipio
On Thu, Nov 24, 2016 at 05:08:58PM +0100, Lena Djokic wrote: > If fourth argument is NULL it should be passed without > using lock_user function which would, in that case, return > EFAULT, and system call supports passing NULL as fourth argument. Thanks, applied to linux-user > Signed-off-by:

Re: [Qemu-devel] [PATCH v2 5/7] linux-user: Fix readahead

2017-01-05 Thread Riku Voipio
On Thu, Nov 24, 2016 at 05:08:56PM +0100, Lena Djokic wrote: > Calculation of 64-bit offset was not correct for all cases. Thanks, applied to linux-user > Signed-off-by: Lena Djokic > --- > linux-user/syscall.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [Qemu-devel] [PATCH v2 2/7] linux-user: Fix inotify_init1 support

2017-01-05 Thread Riku Voipio
On Thu, Nov 24, 2016 at 05:08:53PM +0100, Lena Djokic wrote: > This commit adds necessary conversion of argument passed to inotify_init1. > inotify_init1 flags can be IN_NONBLOCK and IN_CLOEXEC which rely on O_NONBLOCK > and O_CLOEXEC and those can have different values on different platforms.

Re: [Qemu-devel] [PATCH v2] linux-user: Fix s390x safe-syscall for z900

2017-01-05 Thread Riku Voipio
On Wed, Oct 26, 2016 at 12:08:52PM -0700, Richard Henderson wrote: > The LT instruction was added in the extended immediate facility > introduced with the z9-109 processor. Sorry I missed this during 2.8. This is stable-2.8 material once it opens. Applied to linux-user now, thanks. >

[Qemu-devel] [Bug 902413] Re: qemu-i386-user on ARM host: wine hangs/spins when trying to run anything

2016-11-22 Thread Riku Voipio
You might want to retry wine with qemu-i386-static again now with qemu 2.7, which has a major thread/signal rework done. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/902413 Title: qemu-i386-user

Re: [Qemu-devel] [PATCH v7 05/10] linux-user: Add support for ustat() syscall

2016-10-21 Thread Riku Voipio
On Thu, Sep 22, 2016 at 06:56:54PM +0200, Aleksandar Markovic wrote: > From: Aleksandar Markovic > > This patch implements Qemu user mode ustat() syscall support. > > Syscall ustat() returns information about a mounted filesystem. > > Its declaration is: > >

[Qemu-devel] [PULL v3] linux-user changes

2016-10-21 Thread riku . voipio
From: Riku Voipio <riku.voi...@linaro.org> The following changes since commit da158a86c407fa7b9da848b571356a26809d8df9: Merge remote-tracking branch 'remotes/berrange/tags/pull-qcrypto-2016-10-20-1' into staging (2016-10-20 14:46:19 +0100) are available in the git repository at:

[Qemu-devel] [PULL v2 21/22] linux-user: added support for pwritev() system call.

2016-10-18 Thread riku . voipio
d long, which can be of different sizes on different platforms. The input arguments are converted to the appropriate host size when passed to safe_pwritev(). Signed-off-by: Dejan Jovicevic <dejan.jovice...@rt-rk.com> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-u

[Qemu-devel] [PULL v2 22/22] linux-user: disable unicore32 linux-user build

2016-10-18 Thread riku . voipio
From: Riku Voipio <riku.voi...@linaro.org> In order to cleanup linux-user, we need support for most relatively modern syscalls. unicore32 lacks support for syscalls like epoll_pwait, preventing cleaning up the CONFIG_EPOLL mess. This patch can be reverted when unicore32 starts either supp

[Qemu-devel] [PULL v2 17/22] linux-user: Update ioctls definitions for Mips32

2016-10-18 Thread riku . voipio
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com> Update linux-user/mips/termbits.h with ioctl definitions from kernel file arch/mips/include/uapi/asm/ioctls.h. Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com> Signed-off-by: Riku Voipio <riku.vo

[Qemu-devel] [PULL v2 20/22] linux-user: added support for preadv() system call.

2016-10-18 Thread riku . voipio
which can be of different sizes on different platforms. The input arguments are converted to the appropriate host size when passed to safe_preadv(). Signed-off-by: Dejan Jovicevic <dejan.jovice...@rt-rk.com> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-u

[Qemu-devel] [PULL v2 16/22] linux-user: Update mips_syscall_args[] array in main.c

2016-10-18 Thread riku . voipio
dar.marko...@imgtec.com> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/main.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/linux-user/main.c b/linux-user/main.c index 0e31dad..18d5a62 100644 --- a/linux-user/main.c +++ b/linux-user

[Qemu-devel] [PULL v2 19/22] linux-user: Fix fadvise64() syscall support for Mips32

2016-10-18 Thread riku . voipio
dar Rikalo <aleksandar.rik...@imgtec.com> Signed-off-by: Miroslav Tisma <miroslav.ti...@imgtec.com> Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/mips/syscall_nr.h | 2 +- 1 file changed, 1 in

[Qemu-devel] [PULL v2 10/22] linux-user: add RTA_PRIORITY in netlink

2016-10-18 Thread riku . voipio
From: Laurent Vivier <laur...@vivier.eu> Used by fedora21 on ppc64 in the network initialization Signed-off-by: Laurent Vivier <laur...@vivier.eu> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/syscall.c | 1 + 1 file changed, 1 insertion(+) diff

[Qemu-devel] [PULL v2 18/22] linux-user: Redirect termbits.h for Mips64 to termbits.h for Mips32

2016-10-18 Thread riku . voipio
rkovic <aleksandar.marko...@imgtec.com> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/mips64/termbits.h | 245 +-- 1 file changed, 1 insertion(+), 244 deletions(-) diff --git a/linux-user/mips64/termbits.h b/linux-user/mips64/termbi

[Qemu-devel] [PULL v2 09/22] linux-user: add kcmp() syscall

2016-10-18 Thread riku . voipio
From: Laurent Vivier <laur...@vivier.eu> Signed-off-by: Laurent Vivier <laur...@vivier.eu> Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/syscall.c | 10 ++ 1 file changed, 10 insertions(+)

[Qemu-devel] [PULL v2 11/22] linux-user: Don't use alloca() for epoll_wait's epoll event array

2016-10-18 Thread riku . voipio
Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/syscall.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index bbdf316..fb56fed

[Qemu-devel] [PULL v2 12/22] linux-user: use libc wrapper instead of direct mremap syscall

2016-10-18 Thread riku . voipio
64bit targets on 32bit hosts because of the default integer type promotions. Since glibc-2.4 is now a decade old, we can remove this workaround. Signed-off-by: Felix Janda <felix.ja...@posteo.de> Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Riku Voipio <r

[Qemu-devel] [PULL v2 14/22] linux-user: Add support for clock_adjtime() syscall

2016-10-18 Thread riku . voipio
: Aleksandar Markovic <aleksandar.marko...@imgtec.com> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- configure | 18 linux-user/strace.c| 76 ++ linux-user/strace.list | 3 ++ linux-user/syscall.c |

[Qemu-devel] [PULL v2 13/22] linux-user: Fix definition of target_sigevent for 32-bit guests

2016-10-18 Thread riku . voipio
switch the 'int32_t' fields to 'abi_int'; this will only matter for guests with non-standard integer alignment like m68k. Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/syscall_defs.h | 16 ++--

[Qemu-devel] [PULL v2 07/22] linux-user: Remove a duplicate item from strace.list

2016-10-18 Thread riku . voipio
sandar Markovic <aleksandar.marko...@imgtec.com> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/strace.list | 3 --- 1 file changed, 3 deletions(-) diff --git a/linux-user/strace.list b/linux-user/strace.list index 2c7ad2b..4bbe0d3 100644 --- a/linux-user/strace.lis

[Qemu-devel] [PULL v2 02/22] linux-user: Add support for ustat() syscall

2016-10-18 Thread riku . voipio
does not change it. This patch also fixes failures of LTP tests ustat01, and ustat02, if executed on Qemu-emulated systems. Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/syscall.c | 23 +++

[Qemu-devel] [PULL v2 15/22] linux-user: Add support for syncfs() syscall

2016-10-18 Thread riku . voipio
nsists of a straightforward invocation of host's syncfs(). Configure and strace support is included as well. Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- configure | 18 ++ linux-user/strace.l

[Qemu-devel] [PULL v2 08/22] linux-user: sparc64: Use correct target SHMLBA in shmat()

2016-10-18 Thread riku . voipio
bs.org/patch/646980/ http://patchwork.ozlabs.org/patch/673339/ Add the accidentally-dropped code. Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/sparc64/target_syscall.h | 7 +++ 1 file changed, 7 inserti

[Qemu-devel] [PULL v2 03/22] linux-user: Fix mq_open() syscall support

2016-10-18 Thread riku . voipio
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com> Conversion of file creation flags (O_CREAT, ...) from target to host was missing. Also, this patch implements better error handling. Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com> Signed-off-by:

[Qemu-devel] [PULL v2 05/22] linux-user: Fix socketcall() syscall support

2016-10-18 Thread riku . voipio
ted on some Qemu emulated sywstems (uer mode). Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/strace.c | 39 --- linux-user/syscall.c | 119 --

[Qemu-devel] [PULL v2 06/22] linux-user: Fix syslog() syscall support

2016-10-18 Thread riku . voipio
_NR_syslog" is also proprerly inserted when needed. Support for Qemu's "-strace" switch for syslog() syscall is included too. LTP tests syslog11 and syslog12 pass with this patch (while fail without it), on any platform. Changes to original patch by Riku Voipio: fixed error pat

[Qemu-devel] [PULL v2 04/22] linux-user: Fix msgrcv() and msgsnd() syscalls support

2016-10-18 Thread riku . voipio
fixes this by extending the conversion table to include ENOMSG. Also, LTP test msgrcv04 will be fixed for some platforms. Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com> Reviewed-by: Laurent Vivier <laur...@vivier.eu> Signed-off-by: Riku Voipio <riku.voi...@linaro

[Qemu-devel] [PULL v2 01/22] linux-user: Add support for adjtimex() syscall

2016-10-18 Thread riku . voipio
xes failures of LTP tests adjtimex01 and adjtimex02, if executed in Qemu user mode. Signed-off-by: Aleksandar Rikalo <aleksandar.rik...@imgtec.com> Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/str

[Qemu-devel] [PULL v2 00/22] linux-user changes

2016-10-18 Thread riku . voipio
From: Riku Voipio <riku.voi...@linaro.org> The following changes since commit 7bf59dfec4234e75e31b3f397374cb5bab1a5b2c: Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.8-20161017' into staging (2016-10-17 12:59:54 +0100) are available in the git repository at:

Re: [Qemu-devel] [PULL 06/22] linux-user: Fix syslog() syscall support

2016-10-18 Thread Riku Voipio
-strace" switch for syslog() syscall is included too. > > LTP tests syslog11 and syslog12 pass with this patch (while fail without > it), on any platform. > > Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com> > Signed-off-by: Riku Voipio <

[Qemu-devel] [PULL 18/22] linux-user: Redirect termbits.h for Mips64 to termbits.h for Mips32

2016-10-17 Thread riku . voipio
rkovic <aleksandar.marko...@imgtec.com> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-user/mips64/termbits.h | 245 +-- 1 file changed, 1 insertion(+), 244 deletions(-) diff --git a/linux-user/mips64/termbits.h b/linux-user/mips64/termbi

[Qemu-devel] [PULL 21/22] linux-user: added support for pwritev() system call.

2016-10-17 Thread riku . voipio
d long, which can be of different sizes on different platforms. The input arguments are converted to the appropriate host size when passed to safe_pwritev(). Signed-off-by: Dejan Jovicevic <dejan.jovice...@rt-rk.com> Signed-off-by: Riku Voipio <riku.voi...@linaro.org> --- linux-u

  1   2   3   4   5   6   7   8   9   10   >