Home
last modified time | relevance | path

Searched refs:dsps (Results 1 – 10 of 10) sorted by relevance

/xen/tools/libxl/
A Dlibxl_dom_suspend.c26 STATE_AO_GC(dsps->ao); in libxl__domain_suspend_init()
40 dsps->type = type; in libxl__domain_suspend_init()
75 STATE_AO_GC(dsps->ao); in libxl__domain_suspend_device_model()
100 dsps->callback_device_model_done(egc, dsps, rc); /* must be last */ in libxl__domain_suspend_device_model()
210 libxl__domain_suspend_state *dsps = CONTAINER_OF(evev, *dsps, guest_evtchn); in domain_suspend_common_wait_guest_evtchn() local
223 libxl__domain_suspend_state *dsps = CONTAINER_OF(xswa, *dsps, pvcontrol); in domain_suspend_common_pvcontrol_suspending() local
310 libxl__domain_suspend_state *dsps = CONTAINER_OF(xsw, *dsps, guest_watch); in suspend_common_wait_guest_watch() local
359 libxl__domain_suspend_state *dsps = CONTAINER_OF(ev, *dsps, guest_timeout); in suspend_common_wait_guest_timeout() local
395 dsps->callback_common_done(egc, dsps, rc); in domain_suspend_common_done()
403 libxl__domain_suspend_state *dsps = &dss->dsps; in libxl__domain_suspend_callback() local
[all …]
A Dlibxl_colo_restore.c24 libxl__domain_suspend_state dsps; member
180 STATE_AO_GC(dsps->ao); in init_dsps()
191 dsps->type = type; in init_dsps()
193 dsps->guest_evtchn.port = -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()
961 libxl__domain_suspend_state *const dsps = &crcs->dsps; in libxl__colo_restore_domain_suspend_callback() local
[all …]
A Dlibxl_dom_save.c392 libxl__domain_suspend_state *dsps = &dss->dsps; in libxl__domain_save() local
405 dsps->ao = ao; in libxl__domain_save()
406 dsps->domid = domid; in libxl__domain_save()
407 dsps->live = !!live; in libxl__domain_save()
408 rc = libxl__domain_suspend_init(egc, dsps, type); in libxl__domain_save()
460 libxl__domain_suspend_state *dsps = &dss->dsps; in domain_save_done() local
462 libxl__ev_evtchn_cancel(gc, &dsps->guest_evtchn); in domain_save_done()
464 if (dsps->guest_evtchn.port > 0) in domain_save_done()
466 dsps->guest_evtchn.port, &dsps->guest_evtchn_lockfd); in domain_save_done()
A Dlibxl_qmp.c977 ev->ao = dsps->ao; in libxl__qmp_suspend_save()
978 ev->domid = dsps->domid; in libxl__qmp_suspend_save()
989 dsps->callback_device_model_done(egc, dsps, rc); in libxl__qmp_suspend_save()
996 libxl__domain_suspend_state *dsps = CONTAINER_OF(ev, *dsps, qmp); in dm_stopped() local
1030 dsps->callback_device_model_done(egc, dsps, rc); in dm_stopped()
1039 libxl__domain_suspend_state *dsps = CONTAINER_OF(ev, *dsps, qmp); in dm_state_fd_ready() local
1059 dsps->callback_device_model_done(egc, dsps, rc); in dm_state_fd_ready()
1067 libxl__domain_suspend_state *dsps = CONTAINER_OF(ev, *dsps, qmp); in dm_state_save_to_fdset() local
1087 dsps->callback_device_model_done(egc, dsps, rc); in dm_state_save_to_fdset()
1094 libxl__domain_suspend_state *dsps = CONTAINER_OF(ev, *dsps, qmp); in dm_state_saved() local
[all …]
A Dlibxl_remus.c193 libxl__domain_suspend_state *dsps, int ok);
206 libxl__domain_suspend_state *dsps = &dss->dsps; in libxl__remus_domain_suspend_callback() local
208 dsps->callback_common_done = remus_domain_suspend_callback_common_done; in libxl__remus_domain_suspend_callback()
209 libxl__domain_suspend(egc, dsps); in libxl__remus_domain_suspend_callback()
213 libxl__domain_suspend_state *dsps, int rc) in remus_domain_suspend_callback_common_done() argument
215 libxl__domain_save_state *dss = CONTAINER_OF(dsps, *dss, dsps); in remus_domain_suspend_callback_common_done()
A Dlibxl_colo_save.c258 libxl__domain_suspend_state *dsps,
272 libxl__domain_suspend_state *dsps = &dss->dsps; in libxl__colo_save_domain_suspend_callback() local
274 dsps->callback_common_done = colo_suspend_primary_vm_done; in libxl__colo_save_domain_suspend_callback()
275 libxl__domain_suspend(egc, dsps); in libxl__colo_save_domain_suspend_callback()
279 libxl__domain_suspend_state *dsps, in colo_suspend_primary_vm_done() argument
282 libxl__domain_save_state *dss = CONTAINER_OF(dsps, *dss, dsps); in colo_suspend_primary_vm_done()
A Dlibxl_stream_write.c348 dss->dsps.guest_responded ? in libxl__xc_domain_save_done()
351 if (!dss->dsps.guest_responded) in libxl__xc_domain_save_done()
453 const char *const filename = dss->dsps.dm_savefile; in write_emulator_context_record()
A Dlibxl_create.c2103 libxl__domain_suspend_state *dsps,
2177 dss->domid = dss->dsps.domid = domid; in do_domain_soft_reset()
2178 dss->dsps.dm_savefile = GCSPRINTF(LIBXL_DEVICE_MODEL_SAVE_FILE".%d", in do_domain_soft_reset()
2188 dss->dsps.ao = ao; in do_domain_soft_reset()
2189 dss->dsps.callback_device_model_done = soft_reset_dm_suspended; in do_domain_soft_reset()
2190 libxl__domain_suspend_device_model(egc, &dss->dsps); /* must be last */ in do_domain_soft_reset()
2199 libxl__domain_suspend_state *dsps, in soft_reset_dm_suspended() argument
2202 STATE_AO_GC(dsps->ao); in soft_reset_dm_suspended()
2204 CONTAINER_OF(dsps, *srs, dss.dsps); in soft_reset_dm_suspended()
A Dlibxl_domain.c556 libxl__domain_suspend_state *dsps; in libxl_domain_suspend_only() local
565 GCNEW(dsps); in libxl_domain_suspend_only()
566 dsps->ao = ao; in libxl_domain_suspend_only()
567 dsps->domid = domid; in libxl_domain_suspend_only()
568 dsps->type = type; in libxl_domain_suspend_only()
569 rc = libxl__domain_suspend_init(egc, dsps, type); in libxl_domain_suspend_only()
571 dsps->callback_common_done = domain_suspend_empty_cb; in libxl_domain_suspend_only()
572 libxl__domain_suspend(egc, dsps); in libxl_domain_suspend_only()
A Dlibxl_internal.h3616 libxl__domain_suspend_state *dsps,
3622 libxl__domain_suspend_state *dsps);
3641 libxl__domain_suspend_state dsps; member
4269 libxl__domain_suspend_state *dsps);
4275 libxl__domain_suspend_state *dsps);

Completed in 37 milliseconds