Lines Matching refs:dsps
24 libxl__domain_suspend_state dsps; member
175 static int init_dsps(libxl__domain_suspend_state *dsps) in init_dsps() argument
180 STATE_AO_GC(dsps->ao); in init_dsps()
182 libxl__xswait_init(&dsps->pvcontrol); in init_dsps()
183 libxl__ev_evtchn_init(&dsps->guest_evtchn); in init_dsps()
184 libxl__ev_xswatch_init(&dsps->guest_watch); in init_dsps()
185 libxl__ev_time_init(&dsps->guest_timeout); in init_dsps()
187 type = libxl__domain_type(gc, dsps->domid); in init_dsps()
191 dsps->type = type; in init_dsps()
193 dsps->guest_evtchn.port = -1; in init_dsps()
194 dsps->guest_evtchn_lockfd = -1; in init_dsps()
195 dsps->guest_responded = 0; in init_dsps()
196 dsps->dm_savefile = libxl__device_model_savefile(gc, dsps->domid); in init_dsps()
244 crcs->dsps.ao = ao; in libxl__colo_restore_setup()
245 crcs->dsps.domid = domid; in libxl__colo_restore_setup()
246 if (init_dsps(&crcs->dsps)) in libxl__colo_restore_setup()
945 libxl__domain_suspend_state *dsps,
961 libxl__domain_suspend_state *const dsps = &crcs->dsps; in libxl__colo_restore_domain_suspend_callback() local
964 dsps->callback_common_done = colo_suspend_vm_done; in libxl__colo_restore_domain_suspend_callback()
966 libxl__domain_suspend(shs->egc, dsps); in libxl__colo_restore_domain_suspend_callback()
970 libxl__domain_suspend_state *dsps, in colo_suspend_vm_done() argument
973 libxl__colo_restore_checkpoint_state *crcs = CONTAINER_OF(dsps, *crcs, dsps); in colo_suspend_vm_done()