| 529 | } |
| 530 | |
| 531 | static 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 | |
| 544 | static void config_additional_file_load(VMConfigLoadState *s) |
| 545 | { |
nothing calls this directly
no test coverage detected