diff options
author | Daniel Henrique Barboza <dbarboza@ventanamicro.com> | 2023-12-08 15:38:32 -0300 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2024-01-10 18:47:46 +1000 |
commit | 450bd6618fda3d2e2ab02b2fce1c79efd5b66084 (patch) | |
tree | 41913eedc04c722bfceb10a256b4dd7fb4eb305b /qga | |
parent | 49c211ffca00fdf7c0c29072c224e88527a14838 (diff) | |
download | qemu-450bd6618fda3d2e2ab02b2fce1c79efd5b66084.zip qemu-450bd6618fda3d2e2ab02b2fce1c79efd5b66084.tar.gz qemu-450bd6618fda3d2e2ab02b2fce1c79efd5b66084.tar.bz2 |
target/riscv/kvm: change KVM_REG_RISCV_FP_D to u64
KVM_REG_RISCV_FP_D regs are always u64 size. Using kvm_riscv_reg_id() in
RISCV_FP_D_REG() ends up encoding the wrong size if we're running with
TARGET_RISCV32.
Create a new helper that returns a KVM ID with u64 size and use it with
RISCV_FP_D_REG().
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-3-dbarboza@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'qga')
0 files changed, 0 insertions, 0 deletions