On Mon, Nov 21, 2011 at 12:21:19PM +, Peter Maydell wrote:
Correct the printing of errnos for syscalls which are handled
via print_syscall_ret_addr (mmap, mmap2, brk, shmat): errnos
are returned as negative returned values at this level, not
via the host 'errno' variable.
Signed-off-by:
On Wed, Nov 02, 2011 at 08:23:21PM +0100, Alexander Graf wrote:
When running linux-user programs in QEMU, the guest program can examine
itself by checking /proc/self/ files. And some libraries really do use
this!
Unfortunately, when checking /proc/self/ today, the guest program sees
the
On Sat, Oct 29, 2011 at 08:08:39PM +0200, Alexander Graf wrote:
When using qemu's linux-user binaries through binfmt, argv[0] gets lost
along the execution because qemu only gets passed in the full file name
to the executable while argv[0] can be something completely different.
This
Fixes related linux-user qemu targetting 1.0 are available in
the git repository at:
git://git.linaro.org/people/rikuvoipio/qemu.git linux-user-for-upstream
Alexander Graf (2):
linux-user: fix openat
linux-user: implement reboot syscall
Matthias Braun (3):
linux-user: fix
From: Richard Henderson r...@twiddle.net
Use target_ulong instead of hard-coded uint32_t.
Remove the disabled printf's that are redundant with -strace.
Signed-off-by: Richard Henderson r...@twiddle.net
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/main.c | 13
From: Richard Henderson r...@twiddle.net
Signed-off-by: Richard Henderson r...@twiddle.net
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/main.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/linux-user/main.c b/linux-user/main.c
index e7dad54
From: Richard Henderson r...@twiddle.net
Signed-off-by: Richard Henderson r...@twiddle.net
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/main.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/linux-user/main.c b/linux-user/main.c
index 2bc10ed
From: Matthias Braun ma...@braunis.de
Signed-off-by: Matthias Braun ma...@braunis.de
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/syscall_defs.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
of the mode parameter,
rendering permission passing of openat() to work with linux-user.
Reported-by: Dirk Mueller dmuel...@suse.de
Signed-off-by: Alexander Graf ag...@suse.de
Signed-off-by: Riku Voipio riku.voi...@iki.fi
---
linux-user/syscall.c | 14 +-
1 files changed, 1
From: Matthias Braun ma...@braunis.de
Signed-off-by: Matthias Braun ma...@braunis.de
Signed-off-by: Riku Voipio riku.voi...@iki.fi
---
linux-user/syscall_defs.h |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
From: Riku Voipio riku.voi...@linaro.org
Fixes related linux-user qemu targetting 1.0. please ping
If I have missed any.
Patches are also available in the git repository at:
git://git.linaro.org/people/rikuvoipio/qemu.git linux-user-for-upstream
Alexander Graf (2):
linux-user: fix openat
From: Richard Henderson r...@twiddle.net
Don't confuse the load address with the load bias. They're equal
for ET_DYN objects (i.e. ld.so) but different for ET_EXEC objects
(i.e. statically linked).
Signed-off-by: Richard Henderson r...@twiddle.net
Signed-off-by: Riku Voipio riku.voi
From: Richard Henderson r...@twiddle.net
Signed-off-by: Richard Henderson r...@twiddle.net
Signed-off-by: Riku Voipio riku.voi...@iki.fi
---
linux-user/sparc/syscall_nr.h |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/linux-user/sparc/syscall_nr.h b/linux-user/sparc
From: Matthias Braun ma...@braunis.de
abi_(u)long might be different from target_ulong, so don't use tswapl
but introduce a new tswapal
Signed-off-by: Matthias Braun ma...@braunis.de
Signed-off-by: Riku Voipio riku.voi...@iki.fi
---
linux-user/qemu-types.h | 12 ++
linux-user/signal.c
sys_reboot()
emulation.
Signed-off-by: Alexander Graf ag...@suse.de
Signed-off-by: Riku Voipio riku.voi...@iki.fi
---
linux-user/syscall.c |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 6159571..9f5da36 100644
The following changes since commit 27cdad67a1bc23b38c765b677ed8064bfb8d3e44:
Revert alpha-softmmu: Disable for the 0.15 release branch. (2011-09-21
00:50:32 +0200)
are available in the git repository at:
git://git.linaro.org/people/rikuvoipio/qemu.git linux-user-for-upstream
An-Cheng Huang
From: An-Cheng Huang anch...@ubnt.com
Change the number of argument for MIPS sys_syscall from 0 to 8. This
allows arguments for indirect syscalls to be processed correctly.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
Signed-off
From: An-Cheng Huang anch...@ubnt.com
On MIPS, some syscall arguments are taken from the stack. This patch adds
verification such that do_syscall() is only invoked if all arguments
have been successfully taken from the stack.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Reviewed-by: Peter
From: Peter Maydell peter.mayd...@linaro.org
If gdbserver_start() fails (usually because we couldn't bind to the
requested TCP port) then exit qemu rather than blithely continuing.
This brings the linux-user behaviour in to line with system mode.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
From: Riku Voipio riku.voi...@linaro.org
The following patches have sent to the list last month and look
ok. If everyone is Ok with these patches, I will send these as
pull request next week.
Patches are also available at the git repository at:
git://git.linaro.org/people/rikuvoipio/qemu.git
From: Johannes Schauer j.scha...@email.de
(Edits by Riku Voipio to apply to current HEAD)
Rework option parsing code for linux-user in a table-driven manner to allow
environment variables for all commandline options.
Also generate usage() output from option table.
Fix complains from
From: An-Cheng Huang anch...@ubnt.com
This patch implements the setxattr, getxattr, and removexattr syscalls
if CONFIG_ATTR is enabled.
Note that since libattr uses indirect syscalls for these, this change
depends on the fix for indirect syscall handling on MIPS.
Signed-off-by: Riku Voipio
error: Segmentation fault
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Signed-off-by: Laurent ALFONSI laurent.alfo...@st.com
Signed-off-by: Cédric VINCENT cedric.vinc...@st.com
---
linux-user/syscall.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/linux-user
* Allow guest to object to guest offset to ensure it can map a page
* Populate page with kernel helper version
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Dr. David Alan Gilbert david.gilb...@linaro.org
---
linux-user
Hi,
On Wed, Aug 17, 2011 at 02:30:53PM -0700, An-Cheng Huang wrote:
On Tue, Aug 09, 2011 at 12:30:52PM -0700, An-Cheng Huang wrote:
These patches implement the setxattr, getxattr, and removexattr syscalls.
Since libattr uses indirect syscalls for these, the fix for the indirect
syscall
On Fri, Sep 02, 2011 at 09:50:44AM +0200, Gerd Hoffmann wrote:
On 09/02/11 09:03, juha.riihim...@nokia.com wrote:
How to you test musb?
Unfortunately I don't have any test cases which actively use the musb,
so I settle for testing an n810 image (and a beagle image in my omap3
tree) and
On Fri, Jul 29, 2011 at 05:21:59PM +0200, Johannes Schauer wrote:
So if we agree on using environment variables to pass options to
qemu-user we next need to agree on how to name the options.
The following commandline arguments exist (in order as they are checked
in linux-user/main.c) and I
On Sat, Jul 23, 2011 at 07:47:49AM +0200, josch wrote:
This could be avoided by setting the proposed environment variable
QEMU_LD_PREFIX to the just
created debian rootfs. As mentioned earlier, the usage of the -L option
is not possible in this scenario because qemu-user is only implicitly
On Tue, Jul 26, 2011 at 08:56:38AM +, Holger Freyther wrote:
For semctl qemu enters through the do_ipc method, it appears
to be that the 'variable' ptr is really a ptr (to the stack) and
needs to be dereferenced. The below snippet seems to fix that
issue for me.
My next problem is with
Hi,
On 07/12/2011 02:09 PM, Khansa Butt wrote:
We have developed Mips64 user mode emulation. In addition we implemented
Cavium specific instruction along with octeon CPU definition. We need your
support to make our contribution public ally available via making it open
source. I tried to
from kernel 2.6.39.2
linux-user: Implement prlimit64 syscall
linux-user/syscall.c: Enforce pselect6 sigset size restrictions
linux-user/signal.c: Rename s390 target_ucontext fields to fix ia64
Riku Voipio (2):
linux-user: correct syscall 123 on sh4
linux-user: make MIPS
On 07/18/2011 01:18 PM, Alexander Graf wrote:
The ia64 sys/ucontext.h defines macros 'uc_link', 'uc_sigmask' and
'uc_stack'. Rename the s390 target_ucontext struct members to tuc_*,
bringing them into line with the other targets and fixing a compile
failure on ia64 hosts caused by this clash.
Cc: Riku Voipio riku.voi...@iki.fi
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
arm-semi.c | 113 +++
1 files changed, 67 insertions(+), 46 deletions(-)
diff --git a/arm-semi.c b/arm-semi.c
index 5a62d03..873518a 100644
--- a/arm
From: Riku Voipio riku.voi...@linaro.org
This time including Wesleys patches I missed last time, replacing his
mips: eabi syscall support for 64-bit args patch with a my version,
and fixing cacheflush syscall as requested bt Cédric.
Patches also available in the git repository at:
git
)) setleds.host
$(SETLEDS_INIT:setleds=$(SETLEDS_QEMU))
$(SETLEDS_TESTS:setleds=$(SETLEDS_QEMU)) setleds.target
cmp setleds.host setleds.target
Signed-off-by: Cédric VINCENT cedric.vinc...@st.com
Cc: Riku Voipio riku.voi...@iki.fi
Signed-off-by: Riku Voipio riku.voi...@linaro.org
From: Peter Maydell peter.mayd...@linaro.org
Implement the prlimit64 syscall.
Slightly modified to apply upstream -Riku
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/syscall.c | 43
From: Wesley W. Terpstra terps...@debian.org
The syscall sigaltstack takes two parameters, not zero. This patch
should have no impact as only values above 4 influence the runtime
behaviour. Nevertheless, it is wrong.
Signed-off-by: Wesley W. Terpstra terps...@debian.org
Signed-off-by: Riku
-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/syscall.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index e2f356b..90f6789 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -5699,6 +5699,11 @@ abi_long
-by: Riku Voipio riku.voi...@linaro.org
Signed-off-by: Wesley W. Terpstra terps...@debian.org
---
linux-user/main.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/linux-user/main.c b/linux-user/main.c
index d695610..e32f987 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
From: Riku Voipio riku.voi...@linaro.org
As reported by Cédric VINCENT:
The syscall #123 on SH4 should be TARGET_NR_cacheflush instead of
TARGET_NR_modify_ldt [1]. The only consequence of this misnaming is
that many Unsupported syscall warnings are issued when emulating JIT
compilers.
Reported
From: Cédric VINCENT cedric.vinc...@st.com
DirectFB-1.0 uses at least two of the four added ioctls, and the two
others were added for completeness. This patch was validated with the
program vlock -all/-new.
Signed-off-by: Cédric VINCENT cedric.vinc...@st.com
Cc: Riku Voipio riku.voi...@iki.fi
.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/signal.c | 30 +++---
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 7d168e1..07ad07a
From: Wesley W. Terpstra terps...@debian.org
Dereferencing a null pointer causes an exception 0xC (EXCP_AdEL)
instead of EXCP_TLBL. This should also trigger a segfault.
Signed-off-by: Wesley W. Terpstra terps...@debian.org
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/main.c
From: Riku Voipio riku.voi...@linaro.org
MIPS uses similar calling convention than ARM eabi, where when using
64-bit values some registers are skipped. This patch makes MIPS and ARM
eabi share the argument reordering code.
This affects ftruncate64, creating insane sized fails (or just failing
From: Cédric VINCENT cedric.vinc...@st.com
This patch was validated with programs from DirectFB-1.0 and
WebKit/DirectFB.
Signed-off-by: Cédric VINCENT cedric.vinc...@st.com
Cc: Riku Voipio riku.voi...@iki.fi
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/ioctls.h|5
-by: Wesley W. Terpstra terps...@debian.org
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/syscall.c | 45 ++---
linux-user/syscall_defs.h | 34 ++
2 files changed, 76 insertions(+), 3 deletions(-)
diff
From: Peter Maydell peter.mayd...@linaro.org
Add syscall numbers for new syscall numbers; this brings us
into line with Linux 2.6.39.2.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/alpha/syscall_nr.h | 23
allocation fails (too big) and child process dies
Signed-off-by: Wesley W. Terpstra terps...@debian.org
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/syscall.c | 22 +-
1 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/linux-user/syscall.c b
On 07/02/2011 02:52 AM, Lisandro Damián Nicanor Pérez Meyer wrote:
I have clearly not been verbose enough, so I'll better try to solve that :-)
The problem is the following: once I create a chroot, I copy /usr/bin/qemu-
mips-static to $CHROOT/usr/bin and then chroot $CHROOT.
Now if I do run
Cc: Riku Voipio riku.voi...@iki.fi
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
arm-semi.c | 113 +++
1 files changed, 67 insertions(+), 46 deletions(-)
diff --git a/arm-semi.c b/arm-semi.c
index 5a62d03..873518a 100644
--- a/arm
)) setleds.host
$(SETLEDS_INIT:setleds=$(SETLEDS_QEMU))
$(SETLEDS_TESTS:setleds=$(SETLEDS_QEMU)) setleds.target
cmp setleds.host setleds.target
Signed-off-by: Cédric VINCENT cedric.vinc...@st.com
Cc: Riku Voipio riku.voi...@iki.fi
Signed-off-by: Riku Voipio riku.voi...@linaro.org
From: Riku Voipio riku.voi...@linaro.org
Following linux-user patches have been submitted since the last
round. Last chance to comment before I ask for pull.
Patches also available in the git repository at:
git://git.linaro.org/people/rikuvoipio/qemu.git linux-user-for-upstream
Cédric
From: Cédric VINCENT cedric.vinc...@st.com
This patch was validated with programs from DirectFB-1.0 and
WebKit/DirectFB.
Signed-off-by: Cédric VINCENT cedric.vinc...@st.com
Cc: Riku Voipio riku.voi...@iki.fi
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/ioctls.h|5
From: Peter Maydell peter.mayd...@linaro.org
Add syscall numbers for new syscall numbers; this brings us
into line with Linux 2.6.39.2.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/alpha/syscall_nr.h | 23
From: Peter Maydell peter.mayd...@linaro.org
Implement the prlimit64 syscall.
Slightly modified to apply upstream -Riku
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/syscall.c | 43
-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/syscall.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index e2f356b..90f6789 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -5699,6 +5699,11 @@ abi_long
On Mon, Jul 11, 2011 at 11:10:50AM -0300, Lisandro Damián Nicanor Pérez Meyer
wrote:
Thanks Riku! This bug has already been solved by Wesley Terpstra:
http://lists.nongnu.org/archive/html/qemu-devel/2011-07/msg00313.html
Ok, I missed these patches. Will adjust the linux-user patchset to
From: Cédric VINCENT cedric.vinc...@st.com
DirectFB-1.0 uses at least two of the four added ioctls, and the two
others were added for completeness. This patch was validated with the
program vlock -all/-new.
Signed-off-by: Cédric VINCENT cedric.vinc...@st.com
Cc: Riku Voipio riku.voi...@iki.fi
On Tue, Jun 28, 2011 at 12:21:57PM +0100, Peter Maydell wrote:
Enforce the same restriction on the size of the sigset passed to
pselect6 as the Linux kernel does. This is both correct and silences
a gcc 4.6 warning about a write-only variable.
Odd but true, after all the trouble of passing the
of do_brk()
linux-user: Bump do_syscall() up to 8 syscall arguments
linux-user/signal.c: Remove only-ever-set variable fpu_save_addr
linux-user/signal.c: Remove unused fenab
Riku Voipio (1):
linux-user: Fix sync_file_range on 32bit mips
arm-semi.c |5 +-
linux
On Tue, Jun 21, 2011 at 09:11:00AM +0200, cedric.vinc...@st.com wrote:
On Mon, Jun 20, 2011 at 06:20:12PM +0200, riku.voi...@iki.fi wrote:
linux-user/syscall.c | 11 ++-
1 files changed, 6 insertions(+), 5 deletions(-)
This is not the latest version of the patch (that one
From: Mike McCormack mj.mccorm...@samsung.com
Fixes crash in i386 when user emulation base address is non-zero.
21797 rt_sigreturn(8,1082124603,1,0,1082126048,1082126248)Exit reason and
status: signal 11
Signed-off-by: Mike McCormack mj.mccorm...@samsung.com
Signed-off-by: Riku Voipio riku.voi
-by: Riku Voipio riku.voi...@iki.fi
---
m68k-semi.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/m68k-semi.c b/m68k-semi.c
index 0371089..7fde10e 100644
--- a/m68k-semi.c
+++ b/m68k-semi.c
@@ -370,7 +370,7 @@ void do_m68k_semihosting(CPUM68KState *env, int nr
From: Riku Voipio riku.voi...@iki.fi
Hi,
All included patches except mine have already been on the list. These patches
should be ready for pull, but giving last minute chance for people to object.
The following changes since commit eb47d7c5d96060040931c42773ee07e61e547af9
hw/9118.c
#1, r3
trapa #40 // syscall(__NR_exit)
nop
The bug appears when the log (option -d) is enabled.
Signed-off-by: Cédric VINCENT cedric.vinc...@st.com
Signed-off-by: Yves JANIN yves.ja...@st.com
Signed-off-by: Riku Voipio riku.voi...@iki.fi
---
linux-user/elfload.c | 34
From: Peter Maydell peter.mayd...@linaro.org
In the ARM semihosting implementation of SYS_HEAPINFO, use the correct
check for whether do_brk() has failed -- it does not return -1 but the
previous value of the break limit.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku
-by: Riku Voipio riku.voi...@iki.fi
---
linux-user/syscall.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 57d9233..1c0503f 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -7181,7 +7181,7 @@ abi_long
(HOST_PAGE_SIZE);
if (!failure) {
printf(success\n);
exit(EXIT_SUCCESS);
}
else {
exit(EXIT_FAILURE);
}
}
Signed-off-by: Cédric VINCENT cedric.vinc...@st.com
Reviewed-by: Christophe Guillon christophe.guil...@st.com
Signed-off-by: Riku
-by: Riku Voipio riku.voi...@iki.fi
---
linux-user/flatload.c |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/linux-user/flatload.c b/linux-user/flatload.c
index cd7af7c..6fb78f5 100644
--- a/linux-user/flatload.c
+++ b/linux-user/flatload.c
@@ -384,7 +384,7 @@ static int
and handle mapped but at
different address as an error case instead.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@iki.fi
---
linux-user/syscall.c | 29 -
1 files changed, 20 insertions(+), 9 deletions(-)
diff --git a/linux
From: Mike Frysinger vap...@gentoo.org
Some architectures (like Blackfin) only implement pselect6 (and skip
select/newselect). So add support for it.
Signed-off-by: Mike Frysinger vap...@gentoo.org
Signed-off-by: Riku Voipio riku.voi...@iki.fi
---
linux-user/syscall.c | 149
From: Juan Quintela quint...@redhat.com
We assign ret with the error code, but then return 0 unconditionally.
Signed-off-by: Juan Quintela quint...@redhat.com
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@iki.fi
---
linux-user/syscall.c |8
. This
bug was noticed with a binary created by the Google Go toolchain for ARM.
We fix the bug by refactoring the probe for guest base code out into
its own self-contained function.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@iki.fi
---
linux-user
From: Juan Quintela quint...@redhat.com
Signed-off-by: Juan Quintela quint...@redhat.com
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@iki.fi
---
linux-user/linuxload.c | 25 +
1 files changed, 1 insertions(+), 24 deletions
about arg7 and arg8
variables being set and never used.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@iki.fi
---
linux-user/main.c| 37 -
linux-user/qemu.h|3 ++-
linux-user/syscall.c |8
Signed-off-by: Laurent ALFONSI laurent.alfo...@st.com
Signed-off-by: Riku Voipio riku.voi...@iki.fi
---
linux-user/elfload.c | 21 -
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index a13eb7b..b2746f2 100644
From: Riku Voipio riku.voi...@iki.fi
As noticed while looking at Bump do_syscall() up to 8 syscall arguments
patch, sync_file_range uses a pad argument on 32bit mips. Deal with it
by reading the correct arguments when on mips.
Signed-off-by: Riku Voipio riku.voi...@iki.fi
---
linux-user
From: Peter Maydell peter.mayd...@linaro.org
Remove fenab as it is only written, never used. Add a FIXME
comment about the discrepancy between our behaviour and that
of the Linux kernel for this routine.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi
From: Juan Quintela quint...@redhat.com
Signed-off-by: Juan Quintela quint...@redhat.com
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@iki.fi
---
linux-user/flatload.c |3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/linux
() can never fail.)
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@iki.fi
---
linux-user/signal.c | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/linux-user/signal.c b/linux-user/signal.c
index cb7138f..4edd974 100644
On 05/18/2011 03:14 AM, Mike Frysinger wrote:
Some architectures (like Blackfin) only implement pselect6 (and skip
select/newselect). So add support for it using existing newselect code.
There is a blackfin qemu? Anyways, with this patch pselect01 ltp
testcase starts failing. Looks like (at
From: Riku Voipio riku.voi...@iki.fi
The following changes since commit 08ab2ccb08372a52ee1c597acf640cadb9089a3a:
Merge branch 'patches' of git://qemu.weilnetz.de/git/qemu (2011-04-29
20:01:51 +)
are available in the git repository at:
git://gitorious.org/qemu-maemo/qemu.git linux
From: Stefan Weil w...@mail.berlios.de
Debian Lenny and other installations with older linux versions
failed to compile linux-user because some CLONE_xxx macros are
undefined.
Signed-off-by: Stefan Weil w...@mail.berlios.de
Signed-off-by: Riku Voipio riku.voi...@iki.fi
---
linux-user/strace.c
From: Mike McCormack mj.mccorm...@samsung.com
The kernel doesn't fill the buffer provided to sched_getaffinity
with zero bytes, so neither should QEMU.
Signed-off-by: Mike McCormack mj.mccorm...@samsung.com
Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Signed-off-by: Riku Voipio
...@linux.vnet.ibm.com
Acked-by: Mike Frysinger vap...@gentoo.org
Signed-off-by: Riku Voipio riku.voi...@iki.fi
---
linux-user/syscall.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index e969d1b..5b7b8e2 100644
--- a/linux-user
to llseek list
Laurent Vivier (3):
linux-user: improve traces
linux-user: convert ioctl(SIOCGIFCONF, ...) result.
linux-user: add ioctl(SIOCGIWNAME, ...) support.
Riku Voipio (2):
[v2] linux-user: bigger default stack
linux-user: untie syscalls from UID16
linux-user/alpha
On Tue, Apr 19, 2011 at 06:19:49PM +0900, Mike McCormack wrote:
* modifying do_brk to not use MAP_FIXED - causes an out of memory
failure rather than a crash
Have you tried the patch posted by Peter Maydell yesterday:
http://www.mail-archive.com/qemu-devel@nongnu.org/msg61733.html
Riku
Hi,
The patch looks OK, but I'd like to have a try with some s390x static
binaries. Such binaries are also useful for me to test that new patches
for linxu-user don't break targets I don't usually use.
Riku
On Fri, Apr 15, 2011 at 05:32:43PM +0200, Alexander Graf wrote:
From: Ulrich Hecht
On Mon, Apr 18, 2011 at 02:06:02PM +0200, Alexander Graf wrote:
The patch looks OK, but I'd like to have a try with some s390x static
binaries. Such binaries are also useful for me to test that new patches
for linxu-user don't break targets I don't usually use.
Sure - what exactly would
On Fri, Apr 15, 2011 at 05:32:44PM +0200, Alexander Graf wrote:
From: Ulrich Hecht u...@suse.de
Quite a number of syscalls are only defined on systems with USE_UID16
defined; this patch defines them on other systems as well.
Fixes a large number of uid/gid-related testcases on the s390x
to some other location.
Alexander Graf (1):
linux-user: add s390x to llseek list
Laurent Vivier (3):
linux-user: improve traces
linux-user: convert ioctl(SIOCGIFCONF, ...) result.
linux-user: add ioctl(SIOCGIWNAME, ...) support.
Riku Voipio (2):
[v2] linux-user: bigger default stack
From: Laurent Vivier laur...@vivier.eu
Add trace details for getpid(), kill(), _llseek(), rt_sigaction(),
rt_sigprocmask(), clone().
Signed-off-by: Laurent Vivier laur...@vivier.eu
Signed-off-by: Riku Voipio riku.voi...@iki.fi
---
linux-user/strace.c| 161
From: Riku Voipio riku.voi...@nokia.com
PTHREAD_STACK_MIN (16KB) is somewhat inadequate for a new stack for new
QEMU threads. Set new limit to 256K which should be enough, yet doesn't
increase memory pressure significantly.
Signed-off-by: Riku Voipio riku.voi...@nokia.com
Reviewed-by: Nathan
);
return 0;
}
$ ./wifi eth0
No wireless extension
$ ./wifi wlan0
wlan0
IEEE 802.11bg
Signed-off-by: Laurent Vivier laur...@vivier.eu
Signed-off-by: Riku Voipio riku.voi...@iki.fi
---
linux-user/ioctls.h |1 +
linux-user/syscall.c |2 +-
linux-user/syscall_defs.h |3 +++
3
From: Alexander Graf ag...@suse.de
We keep a list of host architectures that do llseek with the same
syscall as lseek. S390x is one of them, so let's add it to the list.
Original-patch-by: Ulrich Hecht u...@suse.de
Signed-off-by: Alexander Graf ag...@suse.de
Signed-off-by: Riku Voipio riku.voi
ifc.ifc_len / sizeof(struct ifreq) ; i ++) {
struct sockaddr_in *s;
s = (struct sockaddr_in*)ifc.ifc_req[i].ifr_addr;
printf(%s\n, ifc.ifc_req[i].ifr_name);
printf(%s\n, inet_ntoa(s-sin_addr));
}
}
Signed-off-by: Laurent Vivier laur...@vivier.eu
Signed-off-by: Riku
selected UID16 syscalls. MIPS and PowerPC
were also defined as UID16, to get uid/gid syscalls available, drop
this error as well.
Change QEMU to reflect this.
Cc: Ulrich Hecht u...@suse.de
Cc: Richard Henderson r...@twiddle.net
Cc: Alexander Graf ag...@suse.de
Signed-off-by: Riku Voipio riku.voi
Hi,
First, do you have some instructions on howto build Octeon usermode
64bit binaries. Second, I think we would prefer that the patch was split
to smaller patches. At least the target-mips changes should be a separate
patch.
Some more comments included inline between the code.
On Sat, Mar 26,
Hi,
First, thanks for the report!
On Mon, Mar 21, 2011 at 12:09:10PM +, Peter Maydell wrote:
== Talk 11: PRoot: A Step Forward for QEMU User-Mode ==
STMicroelectronics again, presenting an alternative to the usual
chroot plus binfmt_misc approach for running target binaries
seamlessly
On Thu, Mar 03, 2011 at 08:46:40AM -0800, Nathan Froyd wrote:
On Thu, Mar 03, 2011 at 06:15:49PM +0200, Riku Voipio wrote:
QEMU linux-user calls glibc functions which, while usually very conservative
with memory usage, are not guaranteed not take less than 10KB (at do_syscall
we are already
1101 - 1200 of 1316 matches
Mail list logo