Re: [Qemu-devel] [PATCH 1/2] linux-user: Move if-elses to a switch statement

2014-04-28 Thread Huw Davies
On Sun, Apr 27, 2014 at 02:34:09PM +0300, Riku Voipio wrote: Hi, It looks good in my opinion. I'll include them in my next pull request. Great, thanks! Do you have a testcase for this, I didn't see one in ltp. No, I don't have a testcase, my use case is Wine. I can take a look at getting a

[Qemu-devel] [PULL 2/2] linux-user: Add support for SCM_CREDENTIALS.

2014-04-25 Thread Huw Davies
Signed-off-by: Huw Davies h...@codeweavers.com --- linux-user/syscall.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index cf4372e..e9ae9c5 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -1269,6 +1269,17 @@ static

[Qemu-devel] [PULL 0/2] linux-user: Add support for SCM_CREDENTIALS.

2014-04-25 Thread Huw Davies
: linux-user: Add support for SCM_CREDENTIALS. (2014-04-25 12:32:40 +0100) Huw Davies (2): linux-user: Move if-elses to a switch statement. linux-user: Add support for SCM_CREDENTIALS. linux-user/syscall.c | 62

[Qemu-devel] [PULL 1/2] linux-user: Move if-elses to a switch statement.

2014-04-25 Thread Huw Davies
This makes adding more message types cleaner. Signed-off-by: Huw Davies h...@codeweavers.com --- linux-user/syscall.c | 51 +-- 1 file changed, 33 insertions(+), 18 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index

Re: [Qemu-devel] [PATCH 1/2] linux-user: Move if-elses to a switch statement

2014-04-25 Thread Huw Davies
This makes adding more message types cleaner. Signed-off-by: Huw Davies address@hidden --- linux-user/syscall.c | 51 +-- 1 file changed, 33 insertions(+), 18 deletions(-) Ping, any advice on this set? Thanks, Huw.

[Qemu-devel] [PATCH 1/2] linux-user: Move if-elses to a switch statement.

2014-04-17 Thread Huw Davies
This makes adding more message types cleaner. Signed-off-by: Huw Davies h...@codeweavers.com --- linux-user/syscall.c | 51 +-- 1 file changed, 33 insertions(+), 18 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index

[Qemu-devel] [PATCH 2/2] linux-user: Add support for SCM_CREDENTIALS.

2014-04-17 Thread Huw Davies
Signed-off-by: Huw Davies h...@codeweavers.com --- linux-user/syscall.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index cf4372e..e9ae9c5 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -1269,6 +1269,17 @@ static

[Qemu-devel] [PATCH] tcg-arm: The shift count of op_rotl_i32 is in args[2] not args[1].

2014-02-13 Thread Huw Davies
It's this that should be subtracted from 0x20 when converting to a right rotate. Signed-off-by: Huw Davies h...@codeweavers.com --- tcg/arm/tcg-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcg/arm/tcg-target.c b/tcg/arm/tcg-target.c index 82658a1..c8884b3 100644

[Qemu-devel] [PATCH] memory: Pass a target address to walk_memory_regions_1() not a page index.

2014-01-27 Thread Huw Davies
Signed-off-by: Huw Davies h...@codeweavers.com --- translate-all.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/translate-all.c b/translate-all.c index 105c25a..e7ed09c 100644 --- a/translate-all.c +++ b/translate-all.c @@ -1641,7 +1641,8 @@ int walk_memory_regions(void