Refactoring: reduce warden-cpi create_vm complexity