projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5614c18
)
Add error message for loading snapshot without VM state
author
Kevin Wolf
<kwolf@redhat.com>
Tue, 1 Mar 2011 09:48:12 +0000
(10:48 +0100)
committer
Kevin Wolf
<kwolf@redhat.com>
Tue, 15 Mar 2011 12:21:14 +0000
(13:21 +0100)
It already fails, but it didn't tell the user why.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
savevm.c
patch
|
blob
|
history
diff --git
a/savevm.c
b/savevm.c
index 60d2f2a547c598ac0b0776f12ddafa429f33c592..d1b9b4a4130a7ef6df0e9191e0cf9d298c25a210 100644
(file)
--- a/
savevm.c
+++ b/
savevm.c
@@
-2021,6
+2021,8
@@
int load_vmstate(const char *name)
if (ret < 0) {
return ret;
} else if (sn.vm_state_size == 0) {
+ error_report("This is a disk-only snapshot. Revert to it offline "
+ "using qemu-img.");
return -EINVAL;
}