diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2025-03-08 14:58:40 -0800 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2025-03-19 16:42:09 +1000 |
commit | 1a010d22b7adecf0fb1c069e1e535af1aa51e9cf (patch) | |
tree | ed0ada7c4759ebed234e258263d0d36a02de2da9 /python/qemu/utils/accel.py | |
parent | 4e9e2478dfd26480bbf50367a67b9be0edafef2b (diff) | |
download | qemu-1a010d22b7adecf0fb1c069e1e535af1aa51e9cf.zip qemu-1a010d22b7adecf0fb1c069e1e535af1aa51e9cf.tar.gz qemu-1a010d22b7adecf0fb1c069e1e535af1aa51e9cf.tar.bz2 |
linux-user/riscv: Fix handling of cpu mask in riscv_hwprobe syscall
The third argument of the syscall contains the size of the
cpu mask in bytes, not bits. Nor is the size rounded up to
a multiple of sizeof(abi_ulong).
Cc: qemu-stable@nongnu.org
Reported-by: Andreas Schwab <schwab@suse.de>
Fixes: 9e1c7d982d7 ("linux-user/riscv: Add syscall riscv_hwprobe")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20250308225902.1208237-3-richard.henderson@linaro.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'python/qemu/utils/accel.py')
0 files changed, 0 insertions, 0 deletions