Staging: hv: return correct error values in Connection.c