On 4/7/23 21:28, Richard Henderson wrote:
On 4/5/23 09:04, Philippe Mathieu-Daudé wrote:
These fields shouldn't be accessed when KVM is not available.
Signed-off-by: Philippe Mathieu-Daudé<philmd@xxxxxxxxxx>
---
RFC: The migration part is likely invalid...
kvmtimer_needed() is defined in target/riscv/machine.c as
static bool kvmtimer_needed(void *opaque)
{
return kvm_enabled();
}
which depends on a host feature.
---
target/riscv/cpu.h | 2 ++
target/riscv/machine.c | 4 ++++
2 files changed, 6 insertions(+)
Yeah, the kvm parts need to be extracted to their own subsection.
Oh, but they are. Ho hum, it's getting late.
r~