Home
last modified time | relevance | path

Searched refs:dss (Results 1 – 11 of 11) sorted by relevance

/xen/tools/libxl/
A Dlibxl_remus.c75 libxl__domain_save_state *dss = CONTAINER_OF(rs, *dss, rs); in libxl__remus_setup() local
120 dss->callback(egc, dss, ERROR_FAIL); in libxl__remus_setup()
126 libxl__domain_save_state *dss = CONTAINER_OF(cds, *dss, cds); in remus_setup_done() local
142 libxl__domain_save_state *dss = CONTAINER_OF(cds, *dss, cds); in remus_setup_failed() local
151 dss->callback(egc, dss, rc); in remus_setup_failed()
161 libxl__domain_save_state *dss = CONTAINER_OF(rs, *dss, rs); in libxl__remus_teardown() local
178 libxl__domain_save_state *dss = CONTAINER_OF(cds, *dss, cds); in remus_teardown_done() local
187 dss->callback(egc, dss, rc); in remus_teardown_done()
226 dss->rc = rc; in remus_domain_suspend_callback_common_done()
234 libxl__domain_save_state *dss = CONTAINER_OF(cds, *dss, cds); in remus_devices_postsuspend_cb() local
[all …]
A Dlibxl_colo_save.c83 libxl__domain_save_state *dss = CONTAINER_OF(css, *dss, css); in libxl__colo_save_setup() local
158 dss->callback(egc, dss, ERROR_FAIL); in libxl__colo_save_setup()
166 libxl__domain_save_state *dss = CONTAINER_OF(css, *dss, css); in colo_save_setup_done() local
184 libxl__domain_save_state *dss = CONTAINER_OF(css, *dss, css); in colo_save_setup_failed() local
193 dss->callback(egc, dss, rc); in colo_save_setup_failed()
206 libxl__domain_save_state *dss = CONTAINER_OF(css, *dss, css); in libxl__colo_save_teardown() local
235 dss->callback(egc, dss, rc); in colo_teardown_done()
269 libxl__domain_save_state *dss = sws->dss; in libxl__colo_save_domain_suspend_callback() local
369 libxl__domain_save_state *dss = sws->dss; in libxl__colo_save_domain_checkpoint_callback() local
404 libxl__domain_save_state *dss = sws->dss; in libxl__colo_save_domain_resume_callback() local
[all …]
A Dlibxl_dom_save.c299 libxl__domain_save_state *dss = CONTAINER_OF(lds, *dss, logdirty); in domain_suspend_switch_qemu_logdirty_done() local
302 dss->rc = rc; in domain_suspend_switch_qemu_logdirty_done()
330 STATE_AO_GC(dss->ao); in libxl__save_emulator_xenstore_data()
380 STATE_AO_GC(dss->ao); in libxl__domain_save()
401 dss->rc = 0; in libxl__domain_save()
434 dss->sws.ao = dss->ao; in libxl__domain_save()
435 dss->sws.dss = dss; in libxl__domain_save()
436 dss->sws.fd = dss->fd; in libxl__domain_save()
456 STATE_AO_GC(dss->ao); in domain_save_done()
468 if (dss->remus) { in domain_save_done()
[all …]
A Dlibxl_no_colo.c39 libxl__domain_save_state *dss = CONTAINER_OF(css, *dss, css); in libxl__colo_save_setup() local
40 STATE_AO_GC(dss->ao); in libxl__colo_save_setup()
42 LOGD(ERROR, dss->domid, "COLO is not supported"); in libxl__colo_save_setup()
44 dss->callback(egc, dss, ERROR_FAIL); in libxl__colo_save_setup()
A Dlibxl_stream_write.c231 libxl__domain_save_state *dss = stream->dss; in libxl__stream_write_start() local
251 if (dss->type == LIBXL_DOMAIN_TYPE_HVM) { in libxl__stream_write_start()
341 STATE_AO_GC(dss->ao); in libxl__xc_domain_save_done()
348 dss->dsps.guest_responded ? in libxl__xc_domain_save_done()
351 if (!dss->dsps.guest_responded) in libxl__xc_domain_save_done()
353 else if (dss->rc) in libxl__xc_domain_save_done()
354 rc = dss->rc; in libxl__xc_domain_save_done()
386 libxl__domain_save_state *dss = stream->dss; in write_emulator_xenstore_record() local
425 libxl__domain_save_state *dss = stream->dss; in emulator_xenstore_record_done() local
427 if (dss->type == LIBXL_DOMAIN_TYPE_HVM) in emulator_xenstore_record_done()
[all …]
A Dlibxl_save_callout.c81 void libxl__xc_domain_save(libxl__egc *egc, libxl__domain_save_state *dss, in libxl__xc_domain_save() argument
84 STATE_AO_GC(dss->ao); in libxl__xc_domain_save()
90 dss->domid, dss->xcflags, cbflags, in libxl__xc_domain_save()
91 dss->checkpointed_stream, in libxl__xc_domain_save()
95 shs->domid = dss->domid; in libxl__xc_domain_save()
98 shs->caller_state = dss; in libxl__xc_domain_save()
101 run_helper(egc, shs, "--save-domain", dss->fd, dss->recv_fd, in libxl__xc_domain_save()
A Dlibxl_domain.c454 GCNEW(dss); in libxl_domain_remus_start()
455 dss->ao = ao; in libxl_domain_remus_start()
458 dss->fd = send_fd; in libxl_domain_remus_start()
460 dss->type = type; in libxl_domain_remus_start()
461 dss->live = 1; in libxl_domain_remus_start()
462 dss->debug = 0; in libxl_domain_remus_start()
500 flrc = libxl__fd_flags_restore(gc, dss->fd, dss->fdfl); in domain_suspend_cb()
521 GCNEW(dss); in libxl_domain_suspend()
523 dss->ao = ao; in libxl_domain_suspend()
527 dss->fd = fd; in libxl_domain_suspend()
[all …]
A Dlibxl_netbuffer.c44 libxl__domain_save_state *dss = CONTAINER_OF(cds, *dss, cds); in init_subkind_nic() local
51 LOGD(ERROR, dss->domid, "cannot allocate nl socket"); in init_subkind_nic()
58 LOGD(ERROR, dss->domid, "failed to open netlink socket: %s", in init_subkind_nic()
67 LOGD(ERROR, dss->domid, "failed to allocate qdisc cache: %s", in init_subkind_nic()
73 if (dss->remus->netbufscript) { in init_subkind_nic()
74 rs->netbufscript = libxl__strdup(gc, dss->remus->netbufscript); in init_subkind_nic()
A Dlibxl_dom_suspend.c402 libxl__domain_save_state *dss = shs->caller_state; in libxl__domain_suspend_callback() local
403 libxl__domain_suspend_state *dsps = &dss->dsps; in libxl__domain_suspend_callback()
412 libxl__domain_save_state *dss = CONTAINER_OF(dsps, *dss, dsps); in domain_suspend_callback_common_done() local
413 dss->rc = rc; in domain_suspend_callback_common_done()
414 libxl__xc_domain_saverestore_async_callback_done(egc, &dss->sws.shs, !rc); in domain_suspend_callback_common_done()
A Dlibxl_create.c2002 libxl__domain_save_state dss; member
2117 libxl__domain_save_state *dss; in do_domain_soft_reset() local
2127 dss = &srs->dss; in do_domain_soft_reset()
2176 dss->ao = ao; in do_domain_soft_reset()
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()
2181 rc = libxl__save_emulator_xenstore_data(dss, &srs->toolstack_buf, 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()
[all …]
A Dlibxl_internal.h3524 libxl__domain_save_state *dss; member
4215 libxl__domain_save_state *dss);
4220 libxl__domain_save_state *dss,
4241 _hidden int libxl__save_emulator_xenstore_data(libxl__domain_save_state *dss,

Completed in 35 milliseconds