Bug 1012957 - Regression: Can't boot a guest with snapshot=on
Summary: Regression: Can't boot a guest with snapshot=on
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Kevin Wolf
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-27 12:53 UTC by CongLi
Modified: 2014-06-18 03:38 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 09:32:35 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description CongLi 2013-09-27 12:53:45 UTC
Description of problem:
Can't boot a guest with snapshot=on

Version-Release number of selected component (if applicable):
kernel-3.10.0-23.el7.x86_64
qemu-kvm-1.5.3-7.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Boot a Win2003 guest w/ snapshot=on
/usr/libexec/qemu-kvm \
-drive file='/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/win2003-32-virtio.qcow2',index=0,if=none,id=drive-virtio-disk1,media=disk,snapshot=on,cache=unsafe,format=qcow2,aio=native \
-device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk1,bootindex=0 \

2.
3.

Actual results:
Guest can't boot up w/ error:
qemu-kvm: -drive file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/win2003-32-virtio.qcow2,index=0,if=none,id=drive-virtio-disk1,media=disk,snapshot=on,cache=unsafe,format=qcow2,aio=native: Can't use snapshot=on with driver-specific options

Expected results:
Guest boot up successfully

Additional info:
1. qemu-kvm-1.5.3-3.el7.x86_64 works for me

Comment 3 Kevin Wolf 2013-11-12 09:08:18 UTC
This should be fixed by the patches for bug 1026524 in qemu-kvm-1.5.3-16.el7.

Comment 4 CongLi 2013-11-15 02:38:03 UTC
This bug is not existed on version: qemu-kvm-1.5.3-19.el7.x86_64 .

# /usr/libexec/qemu-kvm -drive file='/home/win2003-32-virtio.qcow2',index=0,if=none,id=drive-virtio-disk1,media=disk,snapshot=on,cache=unsafe,format=qcow2,aio=native -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk1,bootindex=0 
VNC server running on `::1:5900'

Comment 5 Miya Chen 2013-11-15 03:15:41 UTC
set verified according to commnet#4.

Comment 7 Ludek Smid 2014-06-13 09:32:35 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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