Home | History | Annotate | Download | only in qemu

Lines Matching refs:sn

1222     QEMUSnapshotInfo *sn_tab, *sn;
1230 sn = &sn_tab[i];
1231 if (!strcmp(sn->id_str, name) || !strcmp(sn->name, name)) {
1232 *sn_info = *sn;
1244 QEMUSnapshotInfo sn1, *sn = &sn1, old_sn1, *old_sn = &old_sn1;
1275 memset(sn, 0, sizeof(*sn));
1277 pstrcpy(sn->name, sizeof(sn->name), old_sn->name);
1278 pstrcpy(sn->id_str, sizeof(sn->id_str), old_sn->id_str);
1281 pstrcpy(sn->name, sizeof(sn->name), name);
1287 sn->date_sec = tb.time;
1288 sn
1291 sn->date_sec = tv.tv_sec;
1292 sn->date_nsec = tv.tv_usec * 1000;
1294 sn->vm_clock_nsec = qemu_get_clock_ns(vm_clock);
1330 sn->vm_state_size = (bs == bs1 ? vm_state_size : 0);
1331 ret = bdrv_snapshot_create(bs1, sn);
1348 QEMUSnapshotInfo sn;
1402 ret = bdrv_snapshot_find(bs, &sn, name);
1403 if ((ret >= 0) && (sn.vm_state_size == 0))
1453 QEMUSnapshotInfo *sn_tab, *sn;
1481 sn = &sn_tab[i];
1482 monitor_printf(out, "%s\n", bdrv_snapshot_dump(buf, sizeof(buf), sn));