[Qemu-devel] [PATCH 1/7] linux-user: Add Alpha socket constants

2013-03-07 Thread riku . voipio
From: Dillon Amburgey Without these, some networking programs will not work Signed-off-by: Dillon Amburgey Reviewed-by: Richard Henderson Signed-off-by: Riku Voipio --- linux-user/socket.h | 69 + 1 file changed, 69 insertions(+) diff

[Qemu-devel] [PATCH 0/7] linux-user updates

2013-03-07 Thread riku . voipio
From: Riku Voipio Hi, I did a dig through the archive for linux-user patches that have slipped through during my inactivity. The ones in this patchset appear good and pass smoketest. I will send these as pull request once I'm back from travel and can update my git repository. Riku D

Re: [Qemu-devel] [PATCH 07/12] linux-user: AArch64 requires at least 3.8.0

2013-03-05 Thread Riku Voipio
Hi, Cool work and thanks for early sharing. On Wed, Mar 06, 2013 at 03:01:15AM +0100, Alexander Graf wrote: > Glibc 1.17 checks for the host kernel version on startup. Unfortunately, > it also checks whether the host kernel version is recent enough for the > target to run at all. > > Since AArch

Re: [Qemu-devel] [PATCH][v2] linux-user: correct setsockopt()

2013-01-30 Thread Riku Voipio
Hi, On Sat, Jan 26, 2013 at 12:24:56PM +0100, Laurent Vivier wrote: > Le dimanche 20 janvier 2013 à 00:32 +0100, Laurent Vivier a écrit : > > ping ? > > ping I'm really not managing to find time for qemu linux-user maintainance at the moment. I suggest you send the patches directly as pull reque

[Qemu-devel] [PATCH 05/11] alpha-linux-user: Fix sigaltstack structure definition

2012-10-18 Thread riku . voipio
From: Richard Henderson Signed-off-by: Richard Henderson Signed-off-by: Riku Voipio --- linux-user/alpha/target_signal.h |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/linux-user/alpha/target_signal.h b/linux-user/alpha/target_signal.h index 94f15f6..d3822da

[Qemu-devel] [PATCH 07/11] linux-user: If loading fails, print error as string, not number

2012-10-18 Thread riku . voipio
inary format" message because the strerror-enhanced message is now a more self-explanatory "Error while loading $guest-binary: Exec format error". Signed-off-by: Peter Maydell Signed-off-by: Riku Voipio --- linux-user/linuxload.c |8 linux-user/main.c |2 +-

[Qemu-devel] [PATCH 02/11] linux-user: fix multi-threaded /proc/self/maps

2012-10-18 Thread riku . voipio
's use that one instead! Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/syscall.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 1a38169..cf0b385 100644 --- a/linux-user/syscall.c

[Qemu-devel] [PATCH 09/11] tcg: Remove TCG_TARGET_HAS_GUEST_BASE define

2012-10-18 Thread riku . voipio
From: Peter Maydell GUEST_BASE support is now supported by all TCG backends, and is now mandatory. Drop the now-pointless TCG_TARGET_HAS_GUEST_BASE define (set by every backend) and the error if it is unset. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Signed-off-by: Riku

[Qemu-devel] [PULL] [PATCH 00/11] Pending linux-user patches

2012-10-18 Thread riku . voipio
From: Riku Voipio The following changes since commit b4ae3cfa57b8c1bdbbd7b7d420971e9171203ade: ssi: Add slave autoconnect helper (2012-10-10 11:13:32 +1000) are available in the git repository at: git://git.linaro.org/people/rikuvoipio/qemu.git linux-user-for-upstream for you to fetch

[Qemu-devel] [PATCH 06/11] linux-user: Fix siginfo handling

2012-10-18 Thread riku . voipio
From: Richard Henderson Compare signal numbers in the proper domain. Convert all of the fields for SIGIO and SIGCHLD. Signed-off-by: Richard Henderson Signed-off-by: Riku Voipio --- linux-user/qemu.h|3 +++ linux-user/signal.c | 59

[Qemu-devel] [PATCH 03/11] linux-user: Perform more checks on iovec lists

2012-10-18 Thread riku . voipio
From: Richard Henderson Validate count between 0 and IOV_MAX. Limit total length of operation in the same way the kernel does. Signed-off-by: Richard Henderson Signed-off-by: Riku Voipio --- linux-user/syscall.c | 162 +++--- 1 file changed, 102

[Qemu-devel] [PATCH 10/11] linux-user: ppc: mark as long long aligned

2012-10-18 Thread riku . voipio
requires long long aligned parameters - Riku Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/syscall.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 009bf8f..3da8e51 100644 --- a/linux-user

[Qemu-devel] [PATCH 11/11] linux-user: register align p{read, write}64

2012-10-18 Thread riku . voipio
: Alexander Graf Tested-by: Alex Barcelo Reviewed-by: Peter Maydell Signed-off-by: Riku Voipio --- linux-user/syscall.c |8 1 file changed, 8 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 3da8e51..14a6b32 100644 --- a/linux-user/syscall.c +++ b/linux-user

[Qemu-devel] [PATCH 08/11] configure: Remove unnecessary host_guest_base code

2012-10-18 Thread riku . voipio
chard Henderson Signed-off-by: Riku Voipio --- configure | 31 ++- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/configure b/configure index c4a7837..a6bdf9a 100755 --- a/configure +++ b/configure @@ -198,7 +198,7 @@ cocoa="no" soft

[Qemu-devel] [PATCH 01/11] linux-user: fix statfs

2012-10-18 Thread riku . voipio
about the return value of pathconf("/", _PC_REC_XFER_ALIGN) otherwise, as it some times gave old pointers as return value. Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/syscall.c |4 1 file changed, 4 insertions(+) diff --git a/linux-user/syscall.c b/

[Qemu-devel] [PATCH 04/11] linux-user: Implement gethostname

2012-10-18 Thread riku . voipio
From: Richard Henderson Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson Signed-off-by: Riku Voipio --- linux-user/syscall.c | 13 + 1 file changed, 13 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 038aefe..89c74ad 100644 --- a/linux

Re: [Qemu-devel] [PATCH 00/11] Pending Linux-user patches

2012-10-17 Thread Riku Voipio
On 17 October 2012 18:15, Aurelien Jarno wrote: > This is not very clear if it is a pull request or a call for review. It was for review, pull request would come with [PULL] in subject. I wanted to wait a week for comments before sending them in a pull request. Riku

[Qemu-devel] [PATCH 1/5] linux-user: move exit to own function

2012-10-12 Thread riku . voipio
From: Riku Voipio In preparations for for refactoring the main switch/case out Signed-off-by: Riku Voipio --- linux-user/syscall.c | 92 ++ 1 file changed, 48 insertions(+), 44 deletions(-) diff --git a/linux-user/syscall.c b/linux-user

[Qemu-devel] [RFC] [PATCH 0/5] linux-user: refactor do_syscall()

2012-10-12 Thread riku . voipio
From: Riku Voipio Currently linux-user handles system calls with a 3000+ line switch/case construct in do_syscall(). Some syscalls are implemented inline in the switch/case, others as separate functions, and the rest as mix of both. As the first step of the cleanup, I'd like to

[Qemu-devel] [PATCH 4/5] linux-user: complete do_open function isolation

2012-10-12 Thread riku . voipio
From: Riku Voipio In preparations for for refactoring the main switch/case out Signed-off-by: Riku Voipio --- linux-user/syscall.c | 32 ++-- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index a9bfe8c

[Qemu-devel] [PATCH 5/5] linux-user: do_openat wrapper added

2012-10-12 Thread riku . voipio
From: Riku Voipio In preparations for for refactoring the main switch/case out Signed-off-by: Riku Voipio --- linux-user/syscall.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index eebf219..61030f2

[Qemu-devel] [PATCH 2/5] linux-user: move read to own function

2012-10-12 Thread riku . voipio
From: Riku Voipio In preparations for for refactoring the main switch/case out Signed-off-by: Riku Voipio --- linux-user/syscall.c | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 0b077e7..497cae5

[Qemu-devel] [PATCH 3/5] linux-user: move write to own function

2012-10-12 Thread riku . voipio
From: Riku Voipio In preparations for for refactoring the main switch/case out Signed-off-by: Riku Voipio --- linux-user/syscall.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 497cae5..a9bfe8c 100644

[Qemu-devel] [PATCH 00/11] Pending Linux-user patches

2012-10-12 Thread riku . voipio
From: Riku Voipio The following changes since commit b4ae3cfa57b8c1bdbbd7b7d420971e9171203ade: ssi: Add slave autoconnect helper (2012-10-10 11:13:32 +1000) are available in the git repository at: git://git.linaro.org/people/rikuvoipio/qemu.git linux-user-for-upstream for you to fetch

[Qemu-devel] [PATCH 07/11] linux-user: If loading fails, print error as string, not number

2012-10-12 Thread riku . voipio
inary format" message because the strerror-enhanced message is now a more self-explanatory "Error while loading $guest-binary: Exec format error". Signed-off-by: Peter Maydell Signed-off-by: Riku Voipio --- linux-user/linuxload.c |8 linux-user/main.c |2 +-

[Qemu-devel] [PATCH 08/11] configure: Remove unnecessary host_guest_base code

2012-10-12 Thread riku . voipio
chard Henderson Signed-off-by: Riku Voipio --- configure | 31 ++- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/configure b/configure index c4a7837..a6bdf9a 100755 --- a/configure +++ b/configure @@ -198,7 +198,7 @@ cocoa="no" soft

[Qemu-devel] [PATCH 05/11] alpha-linux-user: Fix sigaltstack structure definition

2012-10-12 Thread riku . voipio
From: Richard Henderson Signed-off-by: Richard Henderson Signed-off-by: Riku Voipio --- linux-user/alpha/target_signal.h |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/linux-user/alpha/target_signal.h b/linux-user/alpha/target_signal.h index 94f15f6..d3822da

[Qemu-devel] [PATCH 11/11] linux-user: register align p{read, write}64

2012-10-12 Thread riku . voipio
: Alexander Graf Tested-by: Alex Barcelo Reviewed-by: Peter Maydell Signed-off-by: Riku Voipio --- linux-user/syscall.c |8 1 file changed, 8 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 3da8e51..14a6b32 100644 --- a/linux-user/syscall.c +++ b/linux-user

[Qemu-devel] [PATCH 04/11] linux-user: Implement gethostname

2012-10-12 Thread riku . voipio
From: Richard Henderson Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson Signed-off-by: Riku Voipio --- linux-user/syscall.c | 13 + 1 file changed, 13 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 038aefe..89c74ad 100644 --- a/linux

[Qemu-devel] [PATCH 09/11] tcg: Remove TCG_TARGET_HAS_GUEST_BASE define

2012-10-12 Thread riku . voipio
From: Peter Maydell GUEST_BASE support is now supported by all TCG backends, and is now mandatory. Drop the now-pointless TCG_TARGET_HAS_GUEST_BASE define (set by every backend) and the error if it is unset. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Signed-off-by: Riku

[Qemu-devel] [PATCH 02/11] linux-user: fix multi-threaded /proc/self/maps

2012-10-12 Thread riku . voipio
's use that one instead! Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/syscall.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 1a38169..cf0b385 100644 --- a/linux-user/syscall.c

[Qemu-devel] [PATCH 06/11] linux-user: Fix siginfo handling

2012-10-12 Thread riku . voipio
From: Richard Henderson Compare signal numbers in the proper domain. Convert all of the fields for SIGIO and SIGCHLD. Signed-off-by: Richard Henderson Signed-off-by: Riku Voipio --- linux-user/qemu.h|3 +++ linux-user/signal.c | 59

[Qemu-devel] [PATCH 01/11] linux-user: fix statfs

2012-10-12 Thread riku . voipio
about the return value of pathconf("/", _PC_REC_XFER_ALIGN) otherwise, as it some times gave old pointers as return value. Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/syscall.c |4 1 file changed, 4 insertions(+) diff --git a/linux-user/syscall.c b/

[Qemu-devel] [PATCH 10/11] linux-user: ppc: mark as long long aligned

2012-10-12 Thread riku . voipio
requires long long aligned parameters - Riku Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/syscall.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 009bf8f..3da8e51 100644 --- a/linux-user

[Qemu-devel] [PATCH 03/11] linux-user: Perform more checks on iovec lists

2012-10-12 Thread riku . voipio
From: Richard Henderson Validate count between 0 and IOV_MAX. Limit total length of operation in the same way the kernel does. Signed-off-by: Richard Henderson Signed-off-by: Riku Voipio --- linux-user/syscall.c | 162 +++--- 1 file changed, 102

Re: [Qemu-devel] [PATCH 4/6] linux-user: Rewrite __get_user/__put_user with __builtin_choose_expr

2012-10-12 Thread Riku Voipio
Hi, On Thu, Oct 11, 2012 at 12:52:27PM -0700, Richard Henderson wrote: > On 10/11/2012 12:22 PM, Richard Henderson wrote: > > The previous formuation with multiple assignments to __typeof(*hptr) falls > > down when hptr is qualified const. E.g. with const struct S *p, p->f is > > also qualified c

Re: [Qemu-devel] [PATCH 1/3] linux-user: implement FS_IOC_GETFLAGS ioctl

2012-10-11 Thread Riku Voipio
Hi Alexander, On 21 August 2012 16:47, Peter Maydell wrote: >> +#define TARGET_FS_IOC_GETFLAGS TARGET_IORU('f', 1) > > This and the SETFLAGS one in the next patch fail the consistency > check that an x86_64-on-x86_64 linux-user binary performs: > > cam-vm-266:precise:qemu$ ./x86_64-linux-user/qem

Re: [Qemu-devel] [PATCH 4/6] alpha-linux-user: Fix sigaction

2012-10-11 Thread Riku Voipio
Hi, This patch doesn't compile for me on ubuntu 12.04 x86_64 host: CClinux-user/signal.o /home/voipio/test/qemu/linux-user/signal.c: In function ‘do_sigaction’: /home/voipio/test/qemu/linux-user/signal.c:620:9: error: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer t

Re: [Qemu-devel] [PATCH 06/12] linux-user: Remove #if 0'd cpu_get_real_ticks() definition

2012-09-14 Thread Riku Voipio
in qemu-timer.h. > > Signed-off-by: Peter Maydell > Signed-off-by: Stefan Hajnoczi Acked-by: Riku Voipio > --- > linux-user/main.c | 13 - > 1 file changed, 13 deletions(-) > > diff --git a/linux-user/main.c b/linux-user/main.c > index 1a1c661..e84a18c 1006

[Qemu-devel] [Bug 1042388] Re: qemu: Unsupported syscall: 257 (timer_create)

2012-08-28 Thread Riku Voipio
Implementing timer_create along is probably not enough, one would have to implement rest of the related syscalls: * timer_create(): Create a timer. * timer_settime(2): Arm (start) or disarm (stop) a timer. * timer_gettime(2): Fetch the time remaining until the next expirati

[Qemu-devel] [PATCH 3/3] linux-user: Clarify "Unable to reserve guest address space" error

2012-08-27 Thread riku . voipio
things. Signed-off-by: Peter Maydell Signed-off-by: Riku Voipio --- linux-user/main.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/linux-user/main.c b/linux-user/main.c index b1c228a..1a1c661 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -3519,7

[Qemu-devel] [PATCH 1/3] linux-user: arg_table need not have global scope

2012-08-27 Thread riku . voipio
From: Jim Meyering Declare arg_table to be "static const", and adjust the two users to also be const. Signed-off-by: Jim Meyering Signed-off-by: Riku Voipio --- linux-user/main.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linux-user/main.c b/

[Qemu-devel] [PULL] [FOR 1.2] [PATCH 0/3] linux-user fixes for 1.2

2012-08-27 Thread riku . voipio
From: Riku Voipio Hi, The following changes since commit d03c98d80ffb7c561d9e6874580f52fe7ecc8c6c: tcg/ia64: fix and optimize ld/st slow path (2012-08-26 21:10:37 +0200) are available in the git repository at: git://git.linaro.org/people/rikuvoipio/qemu.git linux-user-for-upstream for

[Qemu-devel] [PATCH 2/3] linux-user: fix emulation of getdents

2012-08-27 Thread riku . voipio
Reviewed-by: Peter Maydell Signed-off-by: Dmitry V. Levin Signed-off-by: Riku Voipio --- linux-user/syscall.c | 11 +-- linux-user/syscall_defs.h |8 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 1174306..62

Re: [Qemu-devel] [PATCH 2/2] linux-user: Add -stracefile to log strace elsewhere than stderr

2012-05-31 Thread Riku Voipio
On Fri, Jun 01, 2012 at 01:49:26AM +0100, Peter Maydell wrote: > On 31 May 2012 20:37, Richard Henderson wrote: > >  void gemu_log(const char *fmt, ...) > >  { > >     va_list ap; > > > >     va_start(ap, fmt); > > -    vfprintf(stderr, fmt, ap); > > +    vfprintf(strace_log_file, fmt, ap); > >  

Re: [Qemu-devel] [PATCH 1.1] linux-user: Fix stale tbs after mmap

2012-05-16 Thread Riku Voipio
On Tue, May 15, 2012 at 04:32:51PM -0500, Anthony Liguori wrote: > Riku, > > Can you review/ack this patch? Acked-by: Riku Voipio Are there any other Linux-user patches to consider for 1.1 ? > > Regards, > > Anthony Liguori > > > On 05/15/2012 03:35 PM, Pete

[Qemu-devel] [PATCH 1/2] linux-user: Clean up interim solution for exit syscall

2012-05-03 Thread riku . voipio
From: Andreas Färber After all target CPUs have been QOM'ified, we no longer need an #ifdef to switch between object_delete() and g_free() in NPTL thread exit. Signed-off-by: Andreas Färber Signed-off-by: Riku Voipio --- linux-user/syscall.c |4 1 file changed, 4 deletions(-)

[Qemu-devel] [PATCH 2/2] linux-user: fix emulation of /proc/self/maps

2012-05-03 Thread riku . voipio
n writable memory. (For an example see the bug reported in https://bugs.launchpad.net/qemu-linaro/+bug/947888 where gpg aborts.) Signed-off-by: Alexander Graf Signed-off-by: Peter Maydell Signed-off-by: Riku Voipio --- linux-user/syscall.c | 42 +- 1 file c

[Qemu-devel] [PATCH 0/2] [PULL 1.1] linux-user fixes for 1.1

2012-05-03 Thread riku . voipio
From: Riku Voipio The following fixes since commit f05ae5379e40f81a6c8526d891693af8bf6e62da: Bail out if CONFIG_TCG_PASS_AREG0 is defined (2012-05-03 15:48:49 +0400) are available in the git repository at: git://git.linaro.org/people/rikuvoipio/qemu.git linux-user-for-upstream Please

Re: [Qemu-devel] [PATCH] linux-user: Fix undefined HOST_LONG_SIZE on PPC hosts

2012-04-26 Thread Riku Voipio
On 26 April 2012 14:53, Alexander Graf wrote: > Ok, changed to sizeof(void*). Since the patch is so trivial, I won't repost > it, but instead just send it out with my next pull request. That's fine from my side. Riku

[Qemu-devel] [PATCH 15/17] arm-linux-user: fix elfload.c's AT_HWCAP to reflect cpu features.

2012-04-06 Thread riku . voipio
From: Benoit Canet The cpu capabilities passed by the elf loader in AT_HWCAP where a constant. Make AT_HWCAP reflect the emulated cpu features in order to give correct clues to eglibc. Riku Voipio: fixed to apply to current head Fix : [Bug 887516] [NEW] VFP support reported for the PXA270

[Qemu-devel] [PATCH 02/17] linux-user: target_argv is placed on ts->bprm->argv and can't be freed()

2012-04-06 Thread riku . voipio
Fabio Erculiani Acked-by: Alexander Graf Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/main.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/linux-user/main.c b/linux-user/main.c index 962677e..2570140 100644 --- a/linux-user/main.c +++ b/linu

[Qemu-devel] [PATCH 05/17] linux-user: fix BLK ioctl arguments

2012-04-06 Thread riku . voipio
From: Alexander Graf Some BLK ioctls passed sizeof(x) into a macro that already did sizeof() on the passed in argument, rendering the size information inside the ioctl be the size of the host default integer type. Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user

[Qemu-devel] [PATCH 03/17] linux-user: implement device mapper ioctls

2012-04-06 Thread riku . voipio
From: Alexander Graf This patch implements all ioctls currently implemented by device mapper, enabling us to run dmsetup and kpartx inside of linux-user. Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/ioctls.h| 32 ++ linux-user/syscall.c | 226

[Qemu-devel] [PATCH 08/17] linux-user: fix fallocate

2012-04-06 Thread riku . voipio
From: Alexander Graf Fallocate gets off_t parameters passed in, so we should also read them out accordingly. Signed-off-by: Alexander Graf --- v1 -> v2: - unbreak 64-bit guests Signed-off-by: Riku Voipio --- linux-user/syscall.c |5 + 1 files changed, 5 insertions(+)

[Qemu-devel] [PATCH 12/17] linux-user/syscall.c: Fix indentation in prctl handling

2012-04-06 Thread riku . voipio
From: Peter Maydell Clean up the odd indentation of this switch statement before we double its size by adding new cases to it. Signed-off-by: Peter Maydell Signed-off-by: Riku Voipio --- linux-user/syscall.c | 29 +++-- 1 files changed, 15 insertions(+), 14

[Qemu-devel] [PATCH 16/17] elf.h: Update EF_ARM_ constants to newer ABI versions

2012-04-06 Thread riku . voipio
Signed-off-by: Riku Voipio --- elf.h | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/elf.h b/elf.h index 36bcac4..e1422b8 100644 --- a/elf.h +++ b/elf.h @@ -538,6 +538,27 @@ typedef struct { #define EF_ALIGN8 0x40/* 8-bit

[Qemu-devel] [PATCH 10/17] linux-user: resolve reserved_va vma downwards

2012-04-06 Thread riku . voipio
af [minor changes to get it to apply -- PMM] Signed-off-by: Riku Voipio --- linux-user/main.c |1 + linux-user/mmap.c | 35 --- linux-user/qemu.h |1 + 3 files changed, 26 insertions(+), 11 deletions(-) diff --git a/linux-user/main.c b/linux-user/main.c ind

[Qemu-devel] [PATCH 01/17] linux-user: improve fake /proc/self/stat making `ps` not segfault.

2012-04-06 Thread riku . voipio
/proc mounted. Signed-off-by: Fabio Erculiani Acked-by: Alexander Graf Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/syscall.c | 19 +++ 1 files changed, 15 insertions(+), 4 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index

[Qemu-devel] [PATCH 00/17] linux-user: pending patches

2012-04-06 Thread riku . voipio
From: Riku Voipio The following patches are to sent in the pull request for linux-user. As usual, the are also available in the git repository at: git://git.linaro.org/people/rikuvoipio/qemu.git linux-user-for-upstream Riku Alexander Graf (8): linux-user: implement device mapper ioctls

[Qemu-devel] [PATCH 06/17] linux-user: add BLKSSZGET ioctl wrapper

2012-04-06 Thread riku . voipio
From: Alexander Graf This patch adds an ioctl definition for BLKSSZGET. Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/ioctls.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h index fd8b7bb..5b70f92

[Qemu-devel] [PATCH 07/17] linux-user: Add ioctl for BLKBSZGET

2012-04-06 Thread riku . voipio
From: Alexander Graf This patch adds the ioctl wrapper definition for BLKBSZGET. Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/ioctls.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h index 5b70f92

[Qemu-devel] [PATCH 09/17] linux-user: take RESERVED_VA into account for g2h_valid()

2012-04-06 Thread riku . voipio
hat aren't accessible from the guest process's point of view. Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- cpu-all.h |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/cpu-all.h b/cpu-all.h index 9621c3c..4512518 100644 --- a/cpu-all.h ++

[Qemu-devel] [PATCH 13/17] linux-user: Add support for prctl PR_GET_NAME and PR_SET_NAME

2012-04-06 Thread riku . voipio
From: Peter Maydell Add support for the prctl options PR_GET_NAME and PR_SET_NAME, which take or return a name in a 16 byte buffer pointed to by arg2. Signed-off-by: Peter Maydell Signed-off-by: Riku Voipio --- linux-user/syscall.c | 24 1 files changed, 24

[Qemu-devel] [PATCH 14/17] linux-user/arm/syscall_nr.h: Add syscall number for ppoll

2012-04-06 Thread riku . voipio
isn't present.) Signed-off-by: Peter Maydell Signed-off-by: Riku Voipio --- linux-user/arm/syscall_nr.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linux-user/arm/syscall_nr.h b/linux-user/arm/syscall_nr.h index 7f05879..5356395 100644 --- a/linux-user/arm/sy

[Qemu-devel] [PATCH 04/17] linux-user: add struct old_dev_t compat

2012-04-06 Thread riku . voipio
: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/syscall_types.h |4 ++-- thunk.c| 28 thunk.h| 28 3 files changed, 58 insertions(+), 2 deletions(-) diff --git a/linux-user

[Qemu-devel] [PATCH 17/17] Userspace ARM BE8 support

2012-04-06 Thread riku . voipio
.c to satisfy checkpatch ] Signed-off-by: Peter Maydell Signed-off-by: Riku Voipio --- disas.c| 18 +- linux-user/elfload.c |1 + linux-user/main.c | 34 +- linux-user/qemu.h |1 + target-arm/cpu.h |

[Qemu-devel] [PATCH 11/17] linux-user: reserve 4GB of vmem for 32-on-64

2012-04-06 Thread riku . voipio
fault value to also make use of it! Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/main.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/linux-user/main.c b/linux-user/main.c index aa95db3..23ad357 100644 --- a/linux-user/main.c +++ b/

Re: [Qemu-devel] [PATCH v1 1/1] syscall: #ifdef newer RLIMIT_* codes

2012-03-27 Thread Riku Voipio
Hi, Do we really need this? 2.6.12 came out in 2005, even oldest supported RHEL (5) is minimum 2.6.18 these days. Riku On Tue, Mar 27, 2012 at 10:08:03AM -0500, Meador Inge wrote: > Ping. > > On 02/20/2012 01:38 PM, Andreas Färber wrote: > > Am 20.02.2012 19:26, schrieb Meador Inge: > >> Commit

Re: [Qemu-devel] [PATCH 0/2] linux-user: Support prctl PR_GET/SET_NAME

2012-03-21 Thread Riku Voipio
Hi, looks like I'll be busy for the rest of the of the month :/ Riku On Tue, Mar 20, 2012 at 11:47:01AM +, Peter Maydell wrote: > Ping^3 (past the six-week mark now...) > > -- PMM > > On 8 March 2012 14:20, Peter Maydell wrote: > > Ping^2 ? > > > > -- PMM > > > > On 22 February 2012 22:55

[Qemu-devel] [PULL] [PATCH 00/19] linux-user update

2012-02-03 Thread riku . voipio
From: Riku Voipio The following changes since commit d34e8f6e9d3a396c3327aa9807c83f9e1f4a7bd7: main-loop: For tools, initialize timers as part of qemu_init_main_loop() (2012-02-01 14:45:02 -0600) are available in the git repository at: git://git.linaro.org/people/rikuvoipio/qemu.git linux

[Qemu-devel] [PATCH 16/19] linux-user: Add default configs for mips64[el]

2012-02-03 Thread riku . voipio
From: Andreas Färber Prepares for mips64[el]-linux-user targets. Signed-off-by: Khansa Butt Signed-off-by: Andreas Färber Signed-off-by: Riku Voipio --- default-configs/mips64-linux-user.mak |1 + default-configs/mips64el-linux-user.mak |1 + 2 files changed, 2 insertions(+), 0

[Qemu-devel] [PATCH 04/19] linux-user: fake /proc/self/maps

2012-02-03 Thread riku . voipio
stack range. Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/syscall.c | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index e100025..1864d7f 100644 --- a/linux-user/syscall.c +++ b/

[Qemu-devel] [PATCH 02/19] linux-user: save auxv length

2012-02-03 Thread riku . voipio
later uses by a lot. (edited by Riku to apply to qemu HEAD) Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/elfload.c | 15 --- linux-user/qemu.h|1 + 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/linux-user/elfload.c b/linux-user

[Qemu-devel] [PATCH 08/19] linux-user: add SO_PEERCRED support for getsockopt

2012-02-03 Thread riku . voipio
From: Akos PASZTORY Signed-off-by: Akos PASZTORY Signed-off-by: Riku Voipio --- linux-user/syscall.c | 34 +- linux-user/syscall_defs.h |6 ++ 2 files changed, 39 insertions(+), 1 deletions(-) diff --git a/linux-user/syscall.c b/linux-user

[Qemu-devel] [PATCH 05/19] linux-user: fake /proc/self/stat

2012-02-03 Thread riku . voipio
Alexander Graf Signed-off-by: Riku Voipio --- linux-user/syscall.c | 26 ++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 1864d7f..5a5fdac 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -

[Qemu-devel] [PATCH 19/19] linux-user: Fix sa_flags byte swaps for mips

2012-02-03 Thread riku . voipio
From: Andreas Färber sa_flags is uint32_t for mips{,n32,64}, so don't use tswapal(). edited by Riku Voipio: likewise on alpha Reported-by: Khansa Butt Suggested-by: Richard Henderson Signed-off-by: Andreas Färber Cc: Ehsan Ul Haq Signed-off-by: Riku Voipio --- linux-user/signal.c |

[Qemu-devel] [PATCH 03/19] linux-user: add open() hijack infrastructure

2012-02-03 Thread riku . voipio
: Riku Voipio --- linux-user/syscall.c | 52 +++-- 1 files changed, 49 insertions(+), 3 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 2bf9e7e..e100025 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -4600,6

[Qemu-devel] [PATCH 01/19] linux-user: stack_base is now mandatory on all targets

2012-02-03 Thread riku . voipio
From: Riku Voipio Signed-off-by: Riku Voipio --- linux-user/qemu.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linux-user/qemu.h b/linux-user/qemu.h index 55ad9d8..30e2abd 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h @@ -123,10 +123,10 @@ typedef struct

[Qemu-devel] [PATCH 15/19] linux-user: Add default-configs for mipsn32[el]

2012-02-03 Thread riku . voipio
From: Andreas Färber Prepares for mipsn32[el]-linux-user targets. Signed-off-by: Ulricht Hecht Signed-off-by: Andreas Färber Signed-off-by: Riku Voipio --- default-configs/mipsn32-linux-user.mak |1 + default-configs/mipsn32el-linux-user.mak |1 + 2 files changed, 2 insertions

[Qemu-devel] [PATCH 12/19] linux-user: Allow NULL value pointer in setxattr and getxattr

2012-02-03 Thread riku . voipio
From: Peter Maydell It's valid to pass a NULL value pointer to setxattr, so don't fail this case EFAULT. Signed-off-by: Peter Maydell Signed-off-by: Riku Voipio --- linux-user/syscall.c | 24 ++-- 1 files changed, 18 insertions(+), 6 deletions(-) diff --g

[Qemu-devel] [PATCH 18/19] linux-user: Define TARGET_QEMU_ESIGRETURN for mips64

2012-02-03 Thread riku . voipio
From: Andreas Färber Copied from mips/syscall.h. Signed-off-by: Khansa Butt Signed-off-by: Andreas Färber Signed-off-by: Riku Voipio --- linux-user/mips64/syscall.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/linux-user/mips64/syscall.h b/linux-user/mips64

[Qemu-devel] [PATCH 17/19] linux-user: Define TARGET_QEMU_ESIGRETURN for mipsn32

2012-02-03 Thread riku . voipio
From: Andreas Färber Copied from mips/syscall.h. Signed-off-by: Ulrich Hecht Signed-off-by: Andreas Färber Signed-off-by: Riku Voipio --- linux-user/mipsn32/syscall.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/linux-user/mipsn32/syscall.h b/linux-user/mipsn32

[Qemu-devel] [PATCH 13/19] linux-user/syscall.c: Implement f and l versions of set/get/removexattr

2012-02-03 Thread riku . voipio
From: Peter Maydell Implement the f and l versions (operate on fd, don't follow links) of the setxattr, getxattr and removexattr syscalls. Signed-off-by: Peter Maydell Signed-off-by: Riku Voipio --- linux-user/syscall.c | 79 -- 1

[Qemu-devel] [PATCH 11/19] linux-user: fix wait* syscall status returns

2012-02-03 Thread riku . voipio
est cases when building yast2-core in OBS for ARM. Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- 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 29d92c4..06b19e0 100644 --- a/l

[Qemu-devel] [PATCH 07/19] linux-user/main.c: Add option to user-mode emulation so that user can specify log file name

2012-02-03 Thread riku . voipio
en Wen-Ren Signed-off-by: Riku Voipio --- linux-user/main.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/linux-user/main.c b/linux-user/main.c index 64d2208..14bf5f0 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -2945,6 +2945,11 @@ static void handl

[Qemu-devel] [PATCH 14/19] linux-user: Implement *listxattr syscalls

2012-02-03 Thread riku . voipio
From: Peter Maydell Implement listxattr, flistxattr and llistxattr syscalls. Signed-off-by: Peter Maydell Signed-off-by: Riku Voipio --- linux-user/syscall.c | 36 +++- 1 files changed, 35 insertions(+), 1 deletions(-) diff --git a/linux-user/syscall.c b

[Qemu-devel] [PATCH 10/19] linux-user/strace.c: Correct errno printing for mmap etc

2012-02-03 Thread riku . voipio
From: Peter Maydell 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: Peter Maydell Signed-off-by: R

[Qemu-devel] [PATCH 09/19] linux-user: fix QEMU_STRACE=1 segfault

2012-02-03 Thread riku . voipio
resolve invalid errnos into strings. Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/strace.c | 18 ++ linux-user/syscall.c |3 +++ 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/linux-user/strace.c b/linux-user/strace.c index 90027a1

[Qemu-devel] [PATCH 06/19] linux-user: fake /proc/self/auxv

2012-02-03 Thread riku . voipio
acked auxv tables via /proc/self/auxv as well. Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/syscall.c | 30 ++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 5a5fdac..c6bfcd8 10

Re: [Qemu-devel] [PATCH 0/4] linux-user: A serie of patches to set default CPU

2012-01-31 Thread Riku Voipio
On Sun, Jan 22, 2012 at 01:27:13PM +0100, Laurent Vivier wrote: > This serie of patches has already been sent, more or less, several time, > last time in july 2011. > For chrooted environment, it allows to define the default cpu model as we > can't use '-cpu' argument. We now can, with QEMU_CPU

[Qemu-devel] [PATCH 02/19] linux-user: save auxv length

2012-01-31 Thread riku . voipio
later uses by a lot. (edited by Riku to apply to qemu HEAD) Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/elfload.c | 15 --- linux-user/qemu.h|1 + 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/linux-user/elfload.c b/linux-user

[Qemu-devel] [PATCH 03/19] linux-user: add open() hijack infrastructure

2012-01-31 Thread riku . voipio
: Riku Voipio --- linux-user/syscall.c | 52 +++-- 1 files changed, 49 insertions(+), 3 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 2bf9e7e..e100025 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -4600,6

[Qemu-devel] [PATCH 16/19] linux-user: Add default configs for mips64[el]

2012-01-31 Thread riku . voipio
From: Andreas Färber Prepares for mips64[el]-linux-user targets. Signed-off-by: Khansa Butt Signed-off-by: Andreas Färber Signed-off-by: Riku Voipio --- default-configs/mips64-linux-user.mak |1 + default-configs/mips64el-linux-user.mak |1 + 2 files changed, 2 insertions(+), 0

[Qemu-devel] [PATCH 19/19] linux-user: Fix sa_flags byte swaps for mips

2012-01-31 Thread riku . voipio
From: Andreas Färber sa_flags is uint32_t for mips{,n32,64}, so don't use tswapal(). edited by Riku Voipio: likewise on alpha Reported-by: Khansa Butt Suggested-by: Richard Henderson Signed-off-by: Andreas Färber Cc: Ehsan Ul Haq Signed-off-by: Riku Voipio --- linux-user/signal.c |

[Qemu-devel] [PATCH 04/19] linux-user: fake /proc/self/maps

2012-01-31 Thread riku . voipio
stack range. Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/syscall.c | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index e100025..1864d7f 100644 --- a/linux-user/syscall.c +++ b/

[Qemu-devel] [PATCH 18/19] linux-user: Define TARGET_QEMU_ESIGRETURN for mips64

2012-01-31 Thread riku . voipio
From: Andreas Färber Copied from mips/syscall.h. Signed-off-by: Khansa Butt Signed-off-by: Andreas Färber Signed-off-by: Riku Voipio --- linux-user/mips64/syscall.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/linux-user/mips64/syscall.h b/linux-user/mips64

[Qemu-devel] [PATCH 09/19] linux-user: fix QEMU_STRACE=1 segfault

2012-01-31 Thread riku . voipio
resolve invalid errnos into strings. Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/strace.c | 18 ++ linux-user/syscall.c |3 +++ 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/linux-user/strace.c b/linux-user/strace.c index 90027a1

[Qemu-devel] [PATCH 00/19] Pending linux-user patches

2012-01-31 Thread riku . voipio
From: Riku Voipio The collection of simpler linux-user patches submitted since release of 1.0. To be sent as pull request later this week unless bugs found. Patches are also available in the git repository at: git://git.linaro.org/people/rikuvoipio/qemu.git linux-user-for-upstream Akos

[Qemu-devel] [PATCH 05/19] linux-user: fake /proc/self/stat

2012-01-31 Thread riku . voipio
Alexander Graf Signed-off-by: Riku Voipio --- linux-user/syscall.c | 26 ++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 1864d7f..5a5fdac 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -

<    6   7   8   9   10   11   12   13   14   >