MCPcopy Create free account
hub / github.com/ading2210/linuxpdf / config_file_loaded

Function config_file_loaded

tinyemu/machine.c:531–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529}
530
531static void config_file_loaded(void *opaque, uint8_t *buf, int buf_len)
532{
533 VMConfigLoadState *s = opaque;
534 VirtMachineParams *p = s->vm_params;
535
536 if (virt_machine_parse_config(p, (char *)buf, buf_len) < 0)
537 exit(1);
538
539 /* load the additional files */
540 s->file_index = 0;
541 config_additional_file_load(s);
542}
543
544static void config_additional_file_load(VMConfigLoadState *s)
545{

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected