[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XEN PATCH 1/2] libxl: Replace short-form boolean for QEMU's -vnc


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Date: Mon, 28 Jun 2021 11:01:56 +0100
  • Authentication-results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Anthony PERARD <anthony.perard@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Juergen Gross <jgross@xxxxxxxx>
  • Delivery-date: Mon, 28 Jun 2021 10:02:36 +0000
  • Ironport-hdrordr: A9a23:LM1oV6uo0TSbWDEt5CaUj1xL7skDcNV00zEX/kB9WHVpmszxra +TdZMgpHjJYVcqKQgdcL+7WZVoLUmwyXcx2/hyAV7AZniDhILLFuFfBOLZqlWKcREWtNQtsJ uIG5IObuEYZmIVsS+V2mWF+q4bsbq6zJw=
  • Ironport-sdr: n5gxZFmaZzav9i0hIZl6nPfPEGi8RDin+0d1osdGIO9tE8G3j0M9He1JPF7G9H2IvGPKw83T1U A6UH24O+f00PcCPWCc6sZeX1iVp59pZhUk/3NwXrwYdbKlOJZu4szhcH7VfzHzeww7u5OFJtk+ 4JXUpikLrykFlgjnTYTNQfMCQt3d2Ps1kSuR2JI/WYhLWiK9BbwAu3WRhWhWmpFW2iUHwnv+lR eYPVrJG+V20/qqWc2c5qsn20oEhkdasNJ/iaB2PWio9UcyZJ0qTlvXrEViRrUCEpNpp3LZf7c7 4r4=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

f3f778c81769 forgot one boolean parameter.

Fixes: f3f778c81769 ("libxl: Replace QEMU's command line short-form boolean 
option")
Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
---
 tools/libs/light/libxl_dm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/libs/light/libxl_dm.c b/tools/libs/light/libxl_dm.c
index 5b01cf284163..7670e403a90f 100644
--- a/tools/libs/light/libxl_dm.c
+++ b/tools/libs/light/libxl_dm.c
@@ -1324,7 +1324,7 @@ static int libxl__build_device_model_args_new(libxl__gc 
*gc,
             vncarg = GCSPRINTF("127.0.0.1:%d", vnc->display);
 
         if (vnc->passwd && vnc->passwd[0]) {
-            vncarg = GCSPRINTF("%s,password", vncarg);
+            vncarg = GCSPRINTF("%s,password=on", vncarg);
         }
 
         if (libxl_defbool_val(vnc->findunused)) {
-- 
Anthony PERARD




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.