1 diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
2 index decb0f2..4feb912 100644
3 --- a/src/qemu/qemu_migration.c
4 +++ b/src/qemu/qemu_migration.c
5 @@ -1589,7 +1589,7 @@ qemuMigrationRun(struct qemud_driver *driver,
6 spec->dest.unix_socket.file);
9 - "nc", "-U", spec->dest.unix_socket.file, NULL
10 + "nc.openbsd", "-U", spec->dest.unix_socket.file, NULL
12 ret = qemuMonitorMigrateToCommand(priv->mon, migrate_flags, args);
14 diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c
15 index e98ebd7..dbba481 100644
16 --- a/src/remote/remote_driver.c
17 +++ b/src/remote/remote_driver.c
18 @@ -610,7 +610,7 @@ doRemoteOpen (virConnectPtr conn,
22 - netcat ? netcat : "nc",
23 + netcat ? netcat : "nc.openbsd",
27 diff --git a/src/rpc/virnetsocket.c b/src/rpc/virnetsocket.c
28 index e4eff49..3be7766 100644
29 --- a/src/rpc/virnetsocket.c
30 +++ b/src/rpc/virnetsocket.c
31 @@ -639,7 +639,7 @@ int virNetSocketNewConnectSSH(const char *nodename,
32 virCommandAddArgList(cmd, "-o", "StrictHostKeyChecking=no", NULL);
36 + netcat = "nc.openbsd";
38 virCommandAddArgList(cmd, nodename, "sh", "-c", NULL);