qemu/target/riscv/kvm
Natanael Copa d424db2354 target/riscv/kvm: do not use non-portable strerrorname_np()
strerrorname_np is non-portable and breaks building with musl libc.

Use strerror(errno) instead, like we do other places.

Cc: qemu-stable@nongnu.org
Fixes: commit 082e9e4a58 (target/riscv/kvm: improve 'init_multiext_cfg' error msg)
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2041
Buglink: https://gitlab.alpinelinux.org/alpine/aports/-/issues/15541
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2023-12-23 19:29:56 +03:00
..
kvm_riscv.h target/riscv: move KVM only files to kvm subdir 2023-10-12 12:20:24 +10:00
kvm-cpu.c target/riscv/kvm: do not use non-portable strerrorname_np() 2023-12-23 19:29:56 +03:00
meson.build target/riscv: move KVM only files to kvm subdir 2023-10-12 12:20:24 +10:00