Currently the test cases all follow the proxy=auto behavior, but
we want to add coverage for other proxy modes as well.
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
const char *username;
bool noTTY;
bool noVerify;
+ virNetClientProxy proxy;
const char *netcat;
const char *keyfile;
const char *path;
virNetSocket *csock = NULL; /* Client socket */
int ret = -1;
char buf[1024];
- g_autofree char *command = virNetClientSSHHelperCommand(VIR_NET_CLIENT_PROXY_AUTO,
+ g_autofree char *command = virNetClientSSHHelperCommand(data->proxy,
data->netcat,
data->path,
"qemu:///session",