[PATCH v2] linux-user: strace now handles unshare syscall args correctly

2021-04-06 Thread Matus Kysel
Syscall unshare did not have custom print function for strace, but it's argument is same as flags in clone syscall, so it can be easily implemented. Also updated missing flags from clone_flags. Signed-off-by: Matus Kysel --- linux-user/strace.c| 18 ++ linux-user

[PATCH] linux-user: strace now handles unshare syscall args correctly

2021-04-06 Thread Matus Kysel
Syscall unshare did not have custom print function for strace, but it's argument is same as flags in clone syscall, so it can be easily implemented. Signed-off-by: Matus Kysel --- linux-user/strace.c| 12 linux-user/strace.list | 2 +- 2 files changed, 13 insertions(+), 1

[Bug 1907817] Re: qemu-aarch64 tcg assertion v5.2.0

2020-12-16 Thread Matus Kysel
I can confirm this patch fixes the issue -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1907817 Title: qemu-aarch64 tcg assertion v5.2.0 Status in QEMU: Confirmed Bug description: After

[PATCH] linux-user: correct errno returned from accept4() syscall

2020-09-30 Thread Matus Kysel
accept4() returned wrong errno, that did not match current linux Signed-off-by: Matus Kysel --- linux-user/syscall.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 897d20c076..5b8c20cf21 100644 --- a/linux-user

[PATCH v3 2/2] linux-user: support of semtimedop syscall

2020-06-26 Thread Matus Kysel
We should add support of semtimedop syscall as new version of glibc 2.31 uses semop based on semtimedop (commit: https://gitlab.com/freedesktop-sdk/mirrors/sourceware/glibc/-/commit/765cdd0bffd77960ae852104fc4ea5edcdb8aed3 ). Signed-off-by: Matus Kysel --- linux-user/syscall.c | 58

[PATCH v3 1/2] linux-user: refactor ipc syscall

2020-06-26 Thread Matus Kysel
Refactoring ipc syscall for s390x and SPARC, so it matches glibc implementation Signed-off-by: Matus Kysel --- linux-user/syscall.c | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 97de9fb5c9

[PATCH v3 0/2] linux-user: support of semtimedop syscall

2020-06-26 Thread Matus Kysel
Updated version according Laurent's comments. v3: split patch and add some arch specific modification

[PATCH v2] linux-user: support of semtimedop syscall

2020-05-12 Thread Matus Kysel
We should add support of semtimedop syscall as new version of glibc 2.31 uses semop based on semtimedop (commit: https://gitlab.com/freedesktop-sdk/mirrors/sourceware/glibc/-/commit/765cdd0bffd77960ae852104fc4ea5edcdb8aed3 ). Signed-off-by: Matus Kysel --- linux-user/syscall.c | 34

[PATCH] linux-user: support of semtimedop syscall

2020-05-11 Thread Matus Kysel
We should add support of semtimedop syscall as new version of glibc 2.31 uses semop based on semtimedop (commit: https://gitlab.com/freedesktop-sdk/mirrors/sourceware/glibc/-/commit/765cdd0bffd77960ae852104fc4ea5edcdb8aed3 ). Signed-off-by: Matus Kysel --- linux-user/syscall.c | 26

RE: [PATCH] Handling SIGSETXID used by glibc NPTL setuid/setgid

2020-01-28 Thread Matus Kysel
Hi all, It seems my patch was ignore. Ping! https://patchew.org/QEMU/20200116115700.127951-1-mky...@tachyum.com/ -Original Message- From: Matus Kysel Sent: štvrtok 16. januára 2020 12:57 Cc: Matus Kysel ; Riku Voipio ; Laurent Vivier ; open list:All patches CC here Subject: [PATCH

[PATCH] Handling SIGSETXID used by glibc NPTL setuid/setgid

2020-01-16 Thread Matus Kysel
Used same style to handle another glibc reserved signal SIGSETXID (33), that is used by glibc NPTL setuid/setgid functions. This should fix problems with application using those functions and failing with error "qemu:handle_cpu_signal received signal outside vCPU context". Signed-off

RE: [PATCH] Added hardfloat conversion from float32 to float64

2019-10-30 Thread Matus Kysel
Hi, I have send patch v2 with proposed changes, please have a look https://lists.nongnu.org/archive/html/qemu-devel/2019-10/msg04264.html Matus -Original Message- From: Richard Henderson Sent: streda 16. októbra 2019 17:38 To: Matus Kysel ; qemu-devel@nongnu.org Cc: Peter Maydell

[PATCH v2] Added hardfloat conversion from float32 to float64

2019-10-17 Thread Matus Kysel
-off-by: Matus Kysel --- fpu/softfloat.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/fpu/softfloat.c b/fpu/softfloat.c index 0638c9f4e0..4bc7c38668 100644 --- a/fpu/softfloat.c +++ b/fpu/softfloat.c @@ -1920,13 +1920,30 @@ float16 float32_to_float16

[PATCH] Added hardfloat conversion from float32 to float64

2019-10-16 Thread Matus Kysel
-off-by: Matus Kysel --- fpu/softfloat.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/fpu/softfloat.c b/fpu/softfloat.c index 0638c9f4e0..e28ea3f933 100644 --- a/fpu/softfloat.c +++ b/fpu/softfloat.c @@ -1920,13 +1920,26 @@ float16 float32_to_float16(float32