]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
chardev/socket: print a more correct command-line address
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 21 Jul 2021 12:55:53 +0000 (16:55 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 4 Aug 2021 19:23:31 +0000 (23:23 +0400)
Better reflect the command line version of the socket address arguments,
following the now recommended long-form opt=on syntax.

Complement/fixes commit 9d902d51 "chardev: do not use short form boolean
options in non-QemuOpts character device descriptions".

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
chardev/char-socket.c

index d0fb5459638d263075e35324281c9edc5a68efe1..c43668cc159ead7482400945e4429703e2a19290 100644 (file)
@@ -468,9 +468,9 @@ static char *qemu_chr_socket_address(SocketChardev *s, const char *prefix)
 
 #ifdef CONFIG_LINUX
         if (sa->has_abstract && sa->abstract) {
-            abstract = ",abstract";
+            abstract = ",abstract=on";
             if (sa->has_tight && sa->tight) {
-                tight = ",tight";
+                tight = ",tight=on";
             }
         }
 #endif