]> xenbits.xensource.com Git - people/larsk/xen.git/commit
libxl: Use ev_qmp in libxl_set_vcpuonline
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 30 May 2019 17:08:45 +0000 (18:08 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 20 Sep 2019 09:42:43 +0000 (10:42 +0100)
commit42368ef73de8ae580f95ea9e4294f49a0c4d7091
tree1617bbd9bc8fefec4c04fa9ac0d812265da495d1
parenta7cd57fe8d77a991a30aab650991daf85d6ab8f9
libxl: Use ev_qmp in libxl_set_vcpuonline

Removed libxl__qmp_cpu_add since it's not used anymore.

`cpumap' arg of libxl__set_vcpuonline_xenstore is constified.

The QMP command "query-cpus" is going to be called from different
places, so the algorithm that parse the answer is in a separate
function, qmp_parse_query_cpus.

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