Bug 1032393

Summary: qemu-kvm needs to handle snapshot=on with passthrough devices (iSCSI LUN or block device)
Product: Red Hat Enterprise Linux 6 Reporter: Sibiao Luo <sluo>
Component: qemu-kvmAssignee: Jeff Cody <jcody>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.5CC: ailan, areis, chayang, eblake, jhradile, juzhang, michen, mkenneth, mzhan, pbonzini, qzhang, rbalakri, rpacheco, virt-maint, xfu
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1032369
: 1090374 1090379 (view as bug list) Environment:
Last Closed: 2017-12-06 12:20:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1032369    
Bug Blocks: 1034993, 1073368, 1090374, 1090379, 1131974, 1359965    

Comment 1 Sibiao Luo 2013-11-20 05:30:17 UTC
rhel6.5 also hit the same issue.
host info:
2.6.32-425.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.415.el6.x86_64

# /usr/libexec/qemu-kvm -M rhel6.5.0 -cpu SandyBridge -enable-kvm -m 4G -smp 4 -name rhel6.5 -rtc base=localtime,clock=host,driftfix=slew -uuid 6afa5f93-2d4f-420f-81c6-e5fdddbd1c83 -vnc :1 -monitor stdio -drive file=/dev/sda1,if=none,id=drive-data-disk,format=raw,cache=none,aio=native,werror=stop,rerror=stop,snapshot=on -device virtio-scsi-pci,bus=pci.0,addr=0x7,id=scsi0 -device scsi-block,drive=drive-data-disk,id=data-disk,bus=scsi0.0
qemu-kvm: -device scsi-block,drive=drive-data-disk,id=data-disk,bus=scsi0.0: scsi-block: scsi generic interface too old
qemu-kvm: -device scsi-block,drive=drive-data-disk,id=data-disk,bus=scsi0.0: Device 'scsi-block' could not be initialized

Best Regards,
sluo

Comment 2 Sibiao Luo 2013-11-20 05:41:19 UTC
Also tried the rhel6.4GA that still hit this issue, so not a regression issue.

host info:
# uname -r && rpm -q qemu-kvm-rhev
2.6.32-425.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.355.el6.x86_64

Best regards,
sluo

Comment 3 Paolo Bonzini 2013-11-20 12:34:44 UTC
"-snapshot/snapshot=on" are not supposed to work with iSCSI LUNs or scsi-block.

The bug is actually that we can create a live snapshot of a passthrough device.

Comment 4 Eric Blake 2014-04-02 02:49:24 UTC
Libvirt doesn't use -snapshot (or snapshot=on), so refusing to support it in qemu should have no impact on libvirt.

Comment 13 Jan Kurik 2017-12-06 12:20:57 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/