[PATCH RFC v3 13/14] target/riscv: Implement virtual time adjusting with vm state changing