summaryrefslogtreecommitdiffstats
path: root/qga/channel-posix.c
diff options
context:
space:
mode:
authorMarkus Armbruster2017-04-26 09:36:39 +0200
committerMarkus Armbruster2017-05-09 09:14:40 +0200
commitdfd100f242370886bb6732f70f1f7cbd8eb9fedc (patch)
tree3ad4f17ad74b5b420f556ccea55b391a39d5a2c5 /qga/channel-posix.c
parentqapi: New QAPI_CLONE_MEMBERS() (diff)
downloadqemu-dfd100f242370886bb6732f70f1f7cbd8eb9fedc.tar.gz
qemu-dfd100f242370886bb6732f70f1f7cbd8eb9fedc.tar.xz
qemu-dfd100f242370886bb6732f70f1f7cbd8eb9fedc.zip
sockets: Rename SocketAddress to SocketAddressLegacy
The next commit will rename SocketAddressFlat to SocketAddress, and the commit after that will replace most uses of SocketAddressLegacy by SocketAddress, replacing most of this commit's renames right back. Note that checkpatch emits a few "line over 80 characters" warnings. The long lines are all temporary; the SocketAddressLegacy replacement will shorten them again. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1493192202-3184-5-git-send-email-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qga/channel-posix.c')
-rw-r--r--qga/channel-posix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/qga/channel-posix.c b/qga/channel-posix.c
index 3f34465159..65ab8eb634 100644
--- a/qga/channel-posix.c
+++ b/qga/channel-posix.c
@@ -203,7 +203,7 @@ static gboolean ga_channel_open(GAChannel *c, const gchar *path,
case GA_CHANNEL_VSOCK_LISTEN: {
if (fd < 0) {
Error *local_err = NULL;
- SocketAddress *addr;
+ SocketAddressLegacy *addr;
char *addr_str;
addr_str = g_strdup_printf("vsock:%s", path);
@@ -216,7 +216,7 @@ static gboolean ga_channel_open(GAChannel *c, const gchar *path,
}
fd = socket_listen(addr, &local_err);
- qapi_free_SocketAddress(addr);
+ qapi_free_SocketAddressLegacy(addr);
if (local_err != NULL) {
g_critical("%s", error_get_pretty(local_err));
error_free(local_err);