Bug 616525 - savevm needs to reset block info on each new save
Summary: savevm needs to reset block info on each new save
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm   
(Show other bugs)
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Alex Williamson
QA Contact: Virtualization Bugs
Depends On: 596328
TreeView+ depends on / blocked
Reported: 2010-07-20 17:29 UTC by Alex Williamson
Modified: 2010-11-10 22:15 UTC (History)
5 users (show)

Fixed In Version: qemu-kvm-
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-11-10 21:26:44 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Alex Williamson 2010-07-20 17:29:20 UTC
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:

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

# /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

# /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 21:26:44 UTC
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.