[PATCH RFC v6 11/12] target/riscv: Implement virtual time adjusting with vm state changing