All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] chardev/socket: print a more correct command-line address
@ 2021-07-21 13:04 marcandre.lureau
  2021-07-21 13:19 ` Daniel P. Berrangé
  2021-07-21 13:49 ` Philippe Mathieu-Daudé
  0 siblings, 2 replies; 3+ messages in thread
From: marcandre.lureau @ 2021-07-21 13:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, berrange, Marc-André Lureau

From: Marc-André Lureau <marcandre.lureau@redhat.com>

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>
---
 chardev/char-socket.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chardev/char-socket.c b/chardev/char-socket.c
index d0fb545963..c43668cc15 100644
--- a/chardev/char-socket.c
+++ b/chardev/char-socket.c
@@ -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
-- 
2.32.0.264.g75ae10bc75



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-21 13:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-21 13:04 [PATCH] chardev/socket: print a more correct command-line address marcandre.lureau
2021-07-21 13:19 ` Daniel P. Berrangé
2021-07-21 13:49 ` Philippe Mathieu-Daudé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.