/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxl_remus.c | 75 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 D | libxl_colo_save.c | 83 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 D | libxl_dom_save.c | 141 libxl__domain_save_state *dss = CONTAINER_OF(lds, *dss, logdirty); in domain_suspend_switch_qemu_logdirty_done() local 144 dss->rc = rc; in domain_suspend_switch_qemu_logdirty_done() 287 STATE_AO_GC(dss->ao); in libxl__save_emulator_xenstore_data() 358 dss->rc = 0; in libxl__domain_save() 370 dss->hvm = 1; in libxl__domain_save() 374 dss->hvm = 0; in libxl__domain_save() 409 dss->sws.ao = dss->ao; in libxl__domain_save() 410 dss->sws.dss = dss; in libxl__domain_save() 411 dss->sws.fd = dss->fd; in libxl__domain_save() 443 if (dss->remus) { in domain_save_done() [all …]
|
A D | libxl_no_colo.c | 39 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 D | libxl_stream_write.c | 231 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 D | libxl_domain.c | 435 GCNEW(dss); in libxl_domain_remus_start() 436 dss->ao = ao; in libxl_domain_remus_start() 439 dss->fd = send_fd; in libxl_domain_remus_start() 441 dss->type = type; in libxl_domain_remus_start() 442 dss->live = 1; in libxl_domain_remus_start() 443 dss->debug = 0; in libxl_domain_remus_start() 481 flrc = libxl__fd_flags_restore(gc, dss->fd, dss->fdfl); in domain_suspend_cb() 502 GCNEW(dss); in libxl_domain_suspend() 504 dss->ao = ao; in libxl_domain_suspend() 508 dss->fd = fd; in libxl_domain_suspend() [all …]
|
A D | libxl_save_callout.c | 83 void libxl__xc_domain_save(libxl__egc *egc, libxl__domain_save_state *dss, in libxl__xc_domain_save() argument 86 STATE_AO_GC(dss->ao); in libxl__xc_domain_save() 92 dss->domid, dss->xcflags, dss->hvm, cbflags, in libxl__xc_domain_save() 93 dss->checkpointed_stream, in libxl__xc_domain_save() 97 shs->domid = dss->domid; in libxl__xc_domain_save() 100 shs->caller_state = dss; in libxl__xc_domain_save() 103 run_helper(egc, shs, "--save-domain", dss->fd, dss->recv_fd, in libxl__xc_domain_save()
|
A D | libxl_netbuffer.c | 44 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 D | libxl_dom_suspend.c | 408 libxl__domain_save_state *dss = shs->caller_state; in libxl__domain_suspend_callback() local 409 libxl__domain_suspend_state *dsps = &dss->dsps; in libxl__domain_suspend_callback() 418 libxl__domain_save_state *dss = CONTAINER_OF(dsps, *dss, dsps); in domain_suspend_callback_common_done() local 419 dss->rc = rc; in domain_suspend_callback_common_done() 420 libxl__xc_domain_saverestore_async_callback_done(egc, &dss->sws.shs, !rc); in domain_suspend_callback_common_done()
|
A D | libxl_create.c | 1649 libxl__domain_save_state dss; member 1760 libxl__domain_save_state *dss; in do_domain_soft_reset() local 1770 dss = &srs->dss; in do_domain_soft_reset() 1818 dss->ao = ao; in do_domain_soft_reset() 1819 dss->domid = dss->dsps.domid = domid_soft_reset; in do_domain_soft_reset() 1820 dss->dsps.dm_savefile = GCSPRINTF(LIBXL_DEVICE_MODEL_SAVE_FILE".%d", in do_domain_soft_reset() 1823 rc = libxl__save_emulator_xenstore_data(dss, &srs->toolstack_buf, in do_domain_soft_reset() 1830 rc = libxl__domain_suspend_device_model(gc, &dss->dsps); in do_domain_soft_reset()
|
A D | libxl_internal.h | 3189 libxl__domain_save_state *dss; member 3781 libxl__domain_save_state *dss); 3786 libxl__domain_save_state *dss, 3807 _hidden int libxl__save_emulator_xenstore_data(libxl__domain_save_state *dss,
|