aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi-disk.c
diff options
context:
space:
mode:
authorMiguel Di Ciurcio Filho <miguel.filho@gmail.com>2010-08-04 14:55:49 -0300
committerKevin Wolf <kwolf@redhat.com>2010-08-30 18:29:23 +0200
commit7d631a116ad8fe07001e2cc4c559a06aac82745f (patch)
tree7493796c29b075b574f0fb9d82122eed73c5411f /hw/scsi-disk.c
parentf920991574357a9b4c560d551f1d92bb6c6a6333 (diff)
savevm: Generate a name when run without one
When savevm is run without a name, the name stays blank and the snapshot is saved anyway. The new behavior is when savevm is run without parameters a name will be created automaticaly, so the snapshot is accessible to the user without needing the id when loadvm is run. (qemu) savevm (qemu) info snapshots ID TAG VM SIZE DATE VM CLOCK 1 vm-20100728134640 978K 2010-07-28 13:46:40 00:00:08.603 We use a name with the format 'vm-YYYYMMDDHHMMSS'. This is a first step to hide the internal id, because I don't see a reason to expose this kind of internals to the user. Signed-off-by: Miguel Di Ciurcio Filho <miguel.filho@gmail.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/scsi-disk.c')
0 files changed, 0 insertions, 0 deletions