diff options
author | Daniel Henrique Barboza <dbarboza@ventanamicro.com> | 2023-12-08 15:38:33 -0300 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2024-01-10 18:47:46 +1000 |
commit | 10f86d1b845087d14b58d65dd2a6e3411d1b6529 (patch) | |
tree | 20d6852674d3916a877c74a218b075d40ecf24b0 /qga/commands-posix-ssh.c | |
parent | 450bd6618fda3d2e2ab02b2fce1c79efd5b66084 (diff) | |
download | qemu-10f86d1b845087d14b58d65dd2a6e3411d1b6529.zip qemu-10f86d1b845087d14b58d65dd2a6e3411d1b6529.tar.gz qemu-10f86d1b845087d14b58d65dd2a6e3411d1b6529.tar.bz2 |
target/riscv/kvm: change timer regs size to u64
KVM_REG_RISCV_TIMER regs are always u64 according to the KVM API, but at
this moment we'll return u32 regs if we're running a RISCV32 target.
Use the kvm_riscv_reg_id_u64() helper in RISCV_TIMER_REG() to fix it.
Reported-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Message-ID: <20231208183835.2411523-4-dbarboza@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'qga/commands-posix-ssh.c')
0 files changed, 0 insertions, 0 deletions