[Qemu-devel] [PATCH 10/10] alpha-linux-user: Fix the getpriority syscall

2012-08-03 Thread Richard Henderson
Alpha uses unbiased priority values in the syscall, with the a3 return value signaling error conditions. Therefore, properly interpret the libc getpriority as needed for the guest rather than passing the host value through unchanged. Signed-off-by: Richard Henderson --- linux-user/syscall.c |

Re: [Qemu-devel] [PATCH 10/10] alpha-linux-user: Fix the getpriority syscall

2012-08-02 Thread Richard Henderson
On 2012-08-02 07:48, Peter Maydell wrote: > Sanity check -- it is only getpriority that has the biasing, not setpriority? Correct. r~

Re: [Qemu-devel] [PATCH 10/10] alpha-linux-user: Fix the getpriority syscall

2012-08-02 Thread Peter Maydell
On 25 July 2012 23:10, Richard Henderson wrote: > Alpha uses unbiased priority values in the syscall, with the a3 > return value signaling error conditions. Therefore, properly > interpret the libc getpriority as needed for the guest rather > than passing the host value through unchanged. > > Sig

[Qemu-devel] [PATCH 10/10] alpha-linux-user: Fix the getpriority syscall

2012-07-25 Thread Richard Henderson
Alpha uses unbiased priority values in the syscall, with the a3 return value signaling error conditions. Therefore, properly interpret the libc getpriority as needed for the guest rather than passing the host value through unchanged. Signed-off-by: Richard Henderson --- linux-user/syscall.c |