[xen staging] libxl: Add dmss_init/dispose for libxl__dm_spawn_state
Author: Anthony PERARD <[hidden email]>
AuthorDate: Thu Nov 22 12:09:37 2018 +0000
Commit: Wei Liu <[hidden email]>
CommitDate: Fri Jan 11 14:57:52 2019 +0000
libxl: Add dmss_init/dispose for libxl__dm_spawn_state
These two functions, dmss_init and dmss_dispose, need to be called to
initialise the private parts of a libxl__dm_spawn_state (dmss) as well
as dispose of them before giving back control to a caller.
There are 3 functions that can start using a dmss, the classic
libxl__spawn_local_dm, the one for stubdom libxl__spawn_stub_dm and
libxl__spawn_qdisk_backend. But there are only 2 exit path as
libxl__spawn_qdisk_backend is using libxl__spawn_local_dm functions.
These two new functions are empty but will be used shortly.
Signed-off-by: Anthony PERARD <[hidden email]>
Acked-by: Ian Jackson <[hidden email]>
tools/libxl/libxl_dm.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)