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