Home
last modified time | relevance | path

Searched refs:sn_info (Results 1 – 6 of 6) sorted by relevance

/external/qemu/block/
Dqcow2-snapshot.c232 int qcow2_snapshot_create(BlockDriverState *bs, QEMUSnapshotInfo *sn_info) in qcow2_snapshot_create() argument
241 if (sn_info->id_str[0] == '\0') { in qcow2_snapshot_create()
243 find_new_snapshot_id(bs, sn_info->id_str, sizeof(sn_info->id_str)); in qcow2_snapshot_create()
247 if (find_snapshot_by_id(bs, sn_info->id_str) >= 0) in qcow2_snapshot_create()
250 sn->id_str = qemu_strdup(sn_info->id_str); in qcow2_snapshot_create()
253 sn->name = qemu_strdup(sn_info->name); in qcow2_snapshot_create()
256 sn->vm_state_size = sn_info->vm_state_size; in qcow2_snapshot_create()
257 sn->date_sec = sn_info->date_sec; in qcow2_snapshot_create()
258 sn->date_nsec = sn_info->date_nsec; in qcow2_snapshot_create()
259 sn->vm_clock_nsec = sn_info->vm_clock_nsec; in qcow2_snapshot_create()
[all …]
Dqcow2.h195 int qcow2_snapshot_create(BlockDriverState *bs, QEMUSnapshotInfo *sn_info);
/external/qemu/
Dblock_int.h79 QEMUSnapshotInfo *sn_info);
Dblock.h149 QEMUSnapshotInfo *sn_info);
Dsavevm.c1143 static int bdrv_snapshot_find(BlockDriverState *bs, QEMUSnapshotInfo *sn_info, in bdrv_snapshot_find() argument
1156 *sn_info = *sn; in bdrv_snapshot_find()
Dblock.c1185 QEMUSnapshotInfo *sn_info) in bdrv_snapshot_create() argument
1192 return drv->bdrv_snapshot_create(bs, sn_info); in bdrv_snapshot_create()