Bug 616525 - savevm needs to reset block info on each new save
savevm needs to reset block info on each new save
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm (Show other bugs)
6.0
All Linux
low Severity medium
: rc
: ---
Assigned To: Alex Williamson
Virtualization Bugs
:
Depends On: 596328
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-20 13:29 EDT by Alex Williamson
Modified: 2010-11-10 17:15 EST (History)
5 users (show)

See Also:
Fixed In Version: qemu-kvm-0.12.1.2-2.98.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-11-10 16:26:44 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Alex Williamson 2010-07-20 13:29:20 EDT
Description of problem:
savevm states continue from each other such that we can't restore from an intermediate version.

Version-Release number of selected component (if applicable):


How reproducible:
100%


Steps to Reproduce:
1.
# qemu-img create -f qcow2 test.qcow2 2G
Formatting 'test.qcow2', fmt=qcow2 size=2147483648 encryption=off cluster_size=0 

2.
# /usr/libexec/qemu-kvm -hda test.qcow2 -monitor stdio -vnc :0
QEMU 0.12.1 monitor - type 'help' for more information
(qemu) savevm
(qemu) savevm
(qemu) savevm
(qemu) info snapshots
Snapshot devices: ide0-hd0
Snapshot list (from ide0-hd0):
ID        TAG                 VM SIZE                DATE       VM CLOCK
1                                1.2M 2010-07-20 11:22:54   00:00:14.365
2                                1.2M 2010-07-20 11:23:00   00:00:16.872
3                                1.2M 2010-07-20 11:23:06   00:00:19.169
(qemu) quit

3.
# /usr/libexec/qemu-kvm -hda test.qcow2 -monitor stdio -vnc :0
QEMU 0.12.1 monitor - type 'help' for more information
(qemu) loadvm 2
Ack, bad migration stream!
Segmentation fault (core dumped)

Actual results:
loadvm failed, segfault

Expected results:
loadvm succeeds

Additional info:
This problem is introduced by bz596328

Patch posted upstream http://lists.nongnu.org/archive/html/qemu-devel/2010-07/msg01114.html
Comment 5 releng-rhel@redhat.com 2010-11-10 16:26:44 EST
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

Note You need to log in before you can comment on or make changes to this bug.