libxl: Replace libxl__qmp_initializations by ev_qmp calls
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 17 May 2019 09:39:13 +0000 (10:39 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 20 Sep 2019 09:42:41 +0000 (10:42 +0100)
commit93dcc22fe798c9fa5ce117f1ed6db0d8bd779020
treec93291b57e76d7ce87902dac259b699921309b3a
parent9a5b0ff40f138b2250a356fdad75ab5ca04037c7
libxl: Replace libxl__qmp_initializations by ev_qmp calls

Setup a timeout of 10s for all the commands. It used to be about 5s
per commands.

The order of command is changed, we call 'query-vnc' before
'change-vnc-password', but that should not matter. That makes it
easier to call 'change-vnc-password' conditionally.

Also 'change' command is replaced by 'change-vnc-password'
because 'change' is deprecated. The new command is available in all
QEMU versions that also have Xen support.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_dm.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_qmp.c