Displaying 1 result from an estimated 1 matches for "libxl__stub_dm_spawn_state".
2012 Jul 04
2
[PATCH] libxl: rename stubdomain when renaming domain
...libxl__destroy_domid_state *dis,
int rc);
+char *libxl__stub_dm_name(libxl__gc *gc, const char *guest_name)
+{
+ return libxl__sprintf(gc, "%s-dm", guest_name);
+}
+
void libxl__spawn_stub_dm(libxl__egc *egc, libxl__stub_dm_spawn_state *sdss)
{
STATE_AO_GC(sdss->dm.spawn.ao);
@@ -733,7 +738,7 @@ void libxl__spawn_stub_dm(libxl__egc *eg
libxl_domain_create_info_init(&dm_config->c_info);
dm_config->c_info.type = LIBXL_DOMAIN_TYPE_PV;
- dm_config->c_info.name = libxl__sprintf(gc, "%s-dm"...