libxl: Move "qmp_initializations" to libxl_dm
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 16 May 2019 13:23:28 +0000 (14:23 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 20 Sep 2019 09:42:41 +0000 (10:42 +0100)
commit9a5b0ff40f138b2250a356fdad75ab5ca04037c7
tree781efb02397375bb71e5a752ff410875faadf59b
parentc1ceba9e81299cd7e17488f216c5d48b3f562970
libxl: Move "qmp_initializations" to libxl_dm

libxl__qmp_initializations is part of the device domain startup, it
queries information about the newly spawned QEMU and do some
post-startup configuration. So the function call doesn't belong to the
general domain creation, but only to the device model part of the
process, thus the call belong to libxl_dm and libxl__dm_spawn_state's
machinery.

We move the call ahead of a follow-up patch which going to "inline"
libxl__qmp_initializations.

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