target/riscv: Fix update of hstatus.GVA in riscv_cpu_do_interrupt
commit4aeb9e26c219a85f465eb2cc7ef6939a3c71944f
authorGeorg Kotheimer <georg.kotheimer@kernkonzept.com>
Tue, 13 Oct 2020 17:30:54 +0000 (13 19:30 +0200)
committerAlistair Francis <alistair.francis@wdc.com>
Thu, 22 Oct 2020 19:00:22 +0000 (22 12:00 -0700)
tree455e82723c5141fe03c80bdad8e4f09bd076fb6f
parentace544532c4064e995ef69ec9dc93aad62e19988
target/riscv: Fix update of hstatus.GVA in riscv_cpu_do_interrupt

The hstatus.GVA bit was not set if the faulting guest virtual address
was zero.

Signed-off-by: Georg Kotheimer <georg.kotheimer@kernkonzept.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20201013173054.451135-1-georg.kotheimer@kernkonzept.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
target/riscv/cpu_helper.c