Home | History | Annotate | Download | only in qemu

Lines Matching defs:idstr

780     char idstr[256];
797 int register_savevm_live(const char *idstr,
809 pstrcpy(se->idstr, sizeof(se->idstr), idstr);
823 && strcmp(se->idstr, (*pse)->idstr) == 0
832 int register_savevm(const char *idstr,
839 return register_savevm_live(idstr, instance_id, version_id,
843 void unregister_savevm(const char *idstr, void *opaque)
849 if (strcmp((*pse)->idstr, idstr) == 0 && (*pse)->opaque == opaque) {
887 len = strlen(se->idstr);
889 qemu_put_buffer(f, (uint8_t *)se->idstr, len);
954 len = strlen(se->idstr);
956 qemu_put_buffer(f, (uint8_t *)se->idstr, len);
1004 static SaveStateEntry *find_se(const char *idstr, int instance_id)
1009 if (!strcmp(se->idstr, idstr) &&
1028 char idstr[256];
1036 qemu_get_buffer(f, (uint8_t *)idstr, len);
1037 idstr[len] = '\0';
1042 se = find_se(idstr, instance_id);
1045 instance_id, idstr);
1050 instance_id, idstr);
1085 char idstr[257];
1094 qemu_get_buffer(f, (uint8_t *)idstr, len);
1095 idstr[len] = 0;
1100 se = find_se(idstr, instance_id);
1102 fprintf(stderr, "Unknown savevm section or instance '%s' %d\n", idstr, instance_id);
1110 version_id, idstr, se->version_id);
1125 fprintf(stderr, "savevm: unable to load section %s\n", idstr);