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