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