Univention Bugzilla – Attachment 3179 Details for
Bug 22221
qemu-0.14: restore snapshot defekt für ausgeschaltete VMs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Revert Qemu to old behaviour when restoring snapshots.
22221_qemu_loadvm.patch (text/plain), 626 bytes, created by
Philipp Hahn
on 2011-04-14 11:28:32 CEST
(
hide
)
Description:
Revert Qemu to old behaviour when restoring snapshots.
Filename:
MIME Type:
Creator:
Philipp Hahn
Created:
2011-04-14 11:28:32 CEST
Size:
626 bytes
patch
obsolete
>Bug #22221: Revert Qemu to old behaviour when restoring snapshots. >--- a/savevm.c >+++ b/savevm.c >@@ -2018,8 +2018,6 @@ int load_vmstate(const char *name) > ret = bdrv_snapshot_find(bs_vm_state, &sn, name); > if (ret < 0) { > return ret; >- } else if (sn.vm_state_size == 0) { >- return -EINVAL; > } > > /* Verify if there is any device that doesn't support snapshots and is >@@ -2060,6 +2058,9 @@ int load_vmstate(const char *name) > } > } > >+ if (sn.vm_state_size == 0) >+ return -EINVAL; >+ > /* restore the VM state */ > f = qemu_fopen_bdrv(bs_vm_state, 0); > if (!f) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 22221
: 3179 |
3425
|
3426