Skip to content

Commit

Permalink
tests/qtest/migration: Fix typo for vsock in SocketAddress_to_str
Browse files Browse the repository at this point in the history
Signed-off-by: Het Gala <het.gala@nutanix.com>
Link: https://lore.kernel.org/r/20240319204840.211632-2-het.gala@nutanix.com
Signed-off-by: Peter Xu <peterx@redhat.com>
  • Loading branch information
hetgala99 authored and xzpeter committed Apr 23, 2024
1 parent bc6307a commit fe3ba17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/qtest/migration-helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ static char *SocketAddress_to_str(SocketAddress *addr)
case SOCKET_ADDRESS_TYPE_FD:
return g_strdup_printf("fd:%s", addr->u.fd.str);
case SOCKET_ADDRESS_TYPE_VSOCK:
return g_strdup_printf("tcp:%s:%s",
return g_strdup_printf("vsock:%s:%s",
addr->u.vsock.cid,
addr->u.vsock.port);
default:
Expand Down

0 comments on commit fe3ba17

Please sign in to comment.