search for: stub_dm_new_nam

Displaying 1 result from an estimated 1 matches for "stub_dm_new_nam".

Did you mean: stub_dm_new_name
2012 Jul 04
2
[PATCH] libxl: rename stubdomain when renaming domain
...25:02 2012 +0100 +++ b/tools/libxl/libxl.c Wed Jul 04 11:27:05 2012 +0100 @@ -276,6 +276,8 @@ int libxl__domain_rename(libxl__gc *gc, char *got_old_name; unsigned int got_old_len; xs_transaction_t our_trans = 0; + uint32_t stub_dm_domid; + const char *stub_dm_old_name = NULL, *stub_dm_new_name = NULL; int rc; dom_path = libxl__xs_get_dompath(gc, domid); @@ -284,6 +286,12 @@ int libxl__domain_rename(libxl__gc *gc, name_path= libxl__sprintf(gc, "%s/name", dom_path); if (!name_path) goto x_nomem; + stub_dm_domid = libxl_get_stubdom_id(CTX, domid); +...