libxl: Add init/dispose of for libxl__domain_build_state
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 22 Nov 2018 18:10:45 +0000 (18:10 +0000)
committerWei Liu <wei.liu2@citrix.com>
Fri, 11 Jan 2019 14:57:52 +0000 (14:57 +0000)
commite3f606ca1a05a6fee5516b687ac035638eba1c2a
treed04106be85948b207538f23654ee2fb522ff51bc
parent15c63d33eab32b1d23bb78a7e3a9eaf62f5226f2
libxl: Add init/dispose of for libxl__domain_build_state

These two new functions libxl__domain_build_state_{init,dispose} should
be called every time a new libxl__domain_build_state comes to existance.

There seems to be two of them, one with the domain creation machinery,
and one in the stub_dm_spawn.

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
tools/libxl/libxl_internal.h