/xen/tools/libxl/ |
A D | libxl_stream_read.c | 205 stream->shs.ao = stream->ao; in libxl__stream_read_init() 208 stream->chs.ao = stream->ao; in libxl__stream_read_init() 211 stream->rc = 0; in libxl__stream_read_init() 268 stream->fd = libxl__carefd_fd(stream->chs.v2_carefd); in libxl__stream_read_start() 269 stream->dcs->libxc_fd = stream->fd; in libxl__stream_read_start() 283 &stream->hdr, sizeof(stream->hdr), in libxl__stream_read_start() 327 libxl__stream_read_state *stream = CONTAINER_OF(dc, *stream, dc); in stream_header_done() local 788 stream->checkpoint_callback(egc, stream, ret); in checkpoint_done() 872 stream->completion_callback(egc, stream, 0); in libxl__xc_domain_restore_done() 947 stream->completion_callback(egc, stream, stream->rc); in check_all_finished() [all …]
|
A D | libxl_stream_write.c | 192 libxl__stream_write_state *stream = CONTAINER_OF(dc, *stream, dc); in write_done() local 201 cb(egc, stream); in write_done() 208 assert(stream->ao); in libxl__stream_write_init() 210 stream->shs.ao = stream->ao; in libxl__stream_write_init() 213 stream->rc = 0; in libxl__stream_write_init() 314 libxl__stream_write_state *stream = CONTAINER_OF(dc, *stream, dc); in stream_header_done() local 333 libxl__xc_domain_save(egc, stream->dss, &stream->shs); in libxc_header_done() 506 libxl__stream_write_state *stream = CONTAINER_OF(dc, *stream, emu_dc); in emulator_context_read_done() local 639 stream->checkpoint_callback(egc, stream, rc); in checkpoint_done() 683 stream->completion_callback(egc, stream, stream->rc); in check_all_finished() [all …]
|
A D | libxl_colo_save.c | 239 libxl__stream_write_state *stream, 242 libxl__stream_read_state *stream, 652 libxl__stream_write_state *stream, in colo_common_write_stream_done() argument 655 libxl__domain_save_state *dss = CONTAINER_OF(stream, *dss, sws); in colo_common_write_stream_done() 685 libxl__stream_read_state *stream, in colo_common_read_stream_done() argument 688 libxl__colo_save_state *css = CONTAINER_OF(stream, *css, srs); in colo_common_read_stream_done()
|
A D | libxl_vsnd.c | 153 libxl_vsnd_stream *stream) in libxl__stream_from_xenstore() argument 158 stream->unique_id = xs_read(CTX->xsh, XBT_NULL, in libxl__stream_from_xenstore() 173 stream->type = type; in libxl__stream_from_xenstore() 176 rc = libxl__params_from_xenstore(gc, path, &stream->params); in libxl__stream_from_xenstore()
|
A D | libxl_colo_restore.c | 475 libxl__stream_write_state *stream, 478 libxl__stream_read_state *stream, 1032 libxl__stream_write_state *stream, in colo_common_write_stream_done() argument 1036 CONTAINER_OF(stream, *crcs, sws); in colo_common_write_stream_done() 1064 libxl__stream_read_state *stream, in colo_common_read_stream_done() argument 1067 libxl__domain_create_state *dcs = CONTAINER_OF(stream, *dcs, srs); in colo_common_read_stream_done()
|
A D | libxl_internal.h | 3483 _hidden void libxl__stream_read_init(libxl__stream_read_state *stream); 3485 libxl__stream_read_state *stream); 3493 libxl__stream_read_inuse(const libxl__stream_read_state *stream) in libxl__stream_read_inuse() argument 3495 return stream->running; in libxl__stream_read_inuse() 3556 _hidden void libxl__stream_write_init(libxl__stream_write_state *stream); 3558 libxl__stream_write_state *stream); 3561 libxl__stream_write_state *stream); 3564 libxl__stream_write_state *stream, 3567 libxl__stream_write_state *stream, 3570 libxl__stream_write_inuse(const libxl__stream_write_state *stream) in libxl__stream_write_inuse() argument [all …]
|
A D | libxl_remus.c | 403 libxl__egc *egc, libxl__stream_read_state *stream, int rc) in remus_checkpoint_stream_done() argument 405 libxl__xc_domain_saverestore_async_callback_done(egc, &stream->shs, rc); in remus_checkpoint_stream_done()
|
/xen/tools/libxc/ |
A D | xc_dom_bzimageloader.c | 48 bz_stream stream; in xc_try_bzip2_decode() local 56 stream.bzalloc = NULL; in xc_try_bzip2_decode() 57 stream.bzfree = NULL; in xc_try_bzip2_decode() 58 stream.opaque = NULL; in xc_try_bzip2_decode() 99 stream.next_out = out_buf; in xc_try_bzip2_decode() 118 if ( stream.avail_out == 0 ) in xc_try_bzip2_decode() 163 total = (((uint64_t)stream.total_out_hi32) << 32) | stream.total_out_lo32; in xc_try_bzip2_decode() 179 BZ2_bzDecompressEnd(&stream); in xc_try_bzip2_decode() 234 stream->next_out = out_buf; in _xc_try_lzma_decode() 328 *size = stream->total_out; in _xc_try_lzma_decode() [all …]
|
/xen/tools/firmware/vgabios/ |
A D | biossums.c | 51 FILE* stream; in main() local 61 if ((stream = fopen(argv[1], "rb")) == NULL) { in main() 66 bios_len = fread(bios_data, 1, MAX_BIOS_DATA, stream); in main() 69 fclose(stream); in main() 72 fclose(stream); in main() 158 if ((stream = fopen( argv[1], "wb")) == NULL) { in main() 162 if (fwrite(bios_data, 1, bios_len, stream) < bios_len) { in main() 164 fclose(stream); in main() 167 fclose(stream); in main()
|
/xen/tools/python/ |
A D | Makefile | 23 $(INSTALL_PYTHON_PROG) scripts/convert-legacy-stream $(DESTDIR)$(LIBEXEC_BIN) 24 $(INSTALL_PYTHON_PROG) scripts/verify-stream-v2 $(DESTDIR)$(LIBEXEC_BIN) 28 rm -f $(DESTDIR)$(LIBEXEC_BIN)/verify-stream-v2 29 rm -f $(DESTDIR)$(LIBEXEC_BIN)/convert-legacy-stream
|
/xen/tools/xl/ |
A D | xl_utils.c | 201 void print_bitmap(uint8_t *map, int maplen, FILE *stream) in print_bitmap() argument 224 fprintf(stream, "%s%d", state > 1 ? "," : "", firstset); in print_bitmap() 226 fprintf(stream, "-%d", i - 1); in print_bitmap() 234 fprintf(stream, "none"); in print_bitmap() 240 fprintf(stream, "all"); in print_bitmap() 244 fprintf(stream, "%s%d", state > 1 ? "," : "", firstset); in print_bitmap() 246 fprintf(stream, "-%d", i - 1); in print_bitmap()
|
A D | xl_vsnd.c | 146 libxl_vsnd_stream *stream = &vsnds[i].pcms[j].streams[k]; in main_vsndlist() local 150 XENSND_FIELD_TYPE": %s", k, stream->unique_id, in main_vsndlist() 151 libxl_vsnd_stream_type_to_string(stream->type)); in main_vsndlist() 152 print_params(&stream->params); in main_vsndlist()
|
A D | xl_migrate.c | 74 const char *stream; in migrate_read_fixedmessage() local 77 stream = rune ? "migration receiver stream" : "migration stream"; in migrate_read_fixedmessage() 78 rc = libxl_read_exactly(ctx, fd, buf, msgsz, stream, what); in migrate_read_fixedmessage() 83 stream, what); in migrate_read_fixedmessage()
|
A D | xl_utils.h | 144 void print_bitmap(uint8_t *map, int maplen, FILE *stream);
|
/xen/docs/features/ |
A D | migration.pandoc | 48 The format of the migration v2 stream is specified in two documents, and 50 maintained via the `convert-legacy-stream` script which transforms a 51 legacy stream into a migration v2 stream. 54 * `docs/specs/libxc-migration-stream.pandoc` 55 * `docs/specs/libxl-migration-stream.pandoc` 63 * `tools/python/scripts/convert-legacy-stream` 64 * `tools/python/scripts/verify-stream-v2` 105 stream)
|
/xen/tools/firmware/rombios/ |
A D | biossums.c | 73 FILE* stream; in main() local 84 if(( stream = fopen( argv[1], "rb" )) == NULL ) { in main() 88 if( fread( bios_data, 1, LEN_BIOS_DATA, stream ) < LEN_BIOS_DATA ) { in main() 90 fclose( stream ); in main() 93 fclose( stream ); in main() 201 if(( stream = fopen( argv[1], "wb" )) == NULL ) { in main() 205 if( fwrite( bios_data, 1, LEN_BIOS_DATA, stream ) < LEN_BIOS_DATA ) { in main() 207 fclose( stream ); in main() 210 fclose( stream ); in main()
|
/xen/docs/specs/ |
A D | libxl-migration-stream.pandoc | 27 * The contents of the stream is passed directly through `libxl` to `libxc`. 36 self-contained, extensible stream with each layer responsible for its own 61 The header identifies the stream as a `libxl` stream, including the version of 83 bit 1: Legacy Format. If set, this stream was created by 158 emulator_id 0x00000000: Unknown (In the case of a legacy stream) 178 in the stream. 188 A libxc context record is a marker, indicating that the stream should be 190 own image format from the stream. 199 might write into the stream, especially for live migration where the quantity
|
A D | libxc-migration-stream.pandoc | 174 The legacy stream conversion tool writes a `xen_major` version of 0, and sets 258 in the stream. 582 A checkpoint record indicates that all the preceding records in the stream 590 If the stream is embedded in a higher level toolstack stream, the 591 CHECKPOINT record marks the end of the libxc portion of the stream 592 and the stream is handed back to the higher level for further 595 The higher level stream may then hand the stream back to libxc to 607 applicable in the backchannel of a checkpointed stream. It is only used 745 A v3 stream is compatible with a v2 stream, but mandates the presense of a 749 A v3-compatible reciever interpreting a v2 stream should infer the position of [all …]
|
/xen/tools/ocaml/xenstored/ |
A D | config.ml | 56 let parse_line stream = 65 let line = trim_spaces (input_line stream) in 77 let stream = open_in filename in 78 let cf = parse_line stream in 79 close_in stream;
|
/xen/docs/designs/ |
A D | xenstore-migration.md | 6 save records are required in the migrations stream to allow a guest running PV 14 image format for a 'migration stream' suitable for both purposes. 25 The header identifies the stream as a `xenstore` stream, including the version 69 written as zero and should be ignored when the stream is read. 86 Some records will depend on other records in the migration stream. Records 87 upon which other records depend must always appear earlier in the stream. 97 in the stream.
|
A D | non-cooperative-migration.md | 135 migration stream. It may be feasible to include it as an optional record 162 the migration stream. There is a record defined in *libxenlight Domain 251 * Within the migration stream extra save records will be defined as 261 non-cooperative migration stream. For example, migrating event channel 265 migration stream. 273 [3] See https://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=docs/specs/libxc-migration-stream.pandoc 275 [4] See https://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=docs/specs/libxl-migration-stream.pandoc
|
/xen/xen/include/xen/ |
A D | symbols.h | 33 uint32_t stream; /* .. in the compressed stream.*/ member
|
/xen/docs/misc/ |
A D | xenstore-ring.txt | 30 A "producer" offset is the offset in the byte stream of the next byte 32 stream of the next byte to be read modulo 2^32. Implementations must 36 The byte at offset 'x' in the byte stream will be stored at offset
|
/xen/ |
A D | CHANGELOG.md | 29 stream. A guest migrating between non-identical hardware will now no
|
/xen/xen/common/ |
A D | symbols.c | 237 (void)symbols_expand_symbol(s->stream, name); in symbols_lookup_by_name()
|