Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1587992

Summary: nvme:// image creation support
Product: Red Hat Enterprise Linux 7 Reporter: CongLi <coli>
Component: qemu-kvm-rhevAssignee: Ademar Reis <areis>
Status: CLOSED NEXTRELEASE QA Contact: CongLi <coli>
Severity: high Docs Contact:
Priority: high    
Version: 7.6CC: chayang, juzhang, michen, ngu, pingl, qzhang, timao, virt-maint, yhong
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:
: 1640894 (view as bug list) Environment:
Last Closed: 2018-12-13 21:37:38 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:    
Bug Blocks: 1640894    

Description CongLi 2018-06-06 12:40:00 UTC
Description of problem:
qemu-img create a qcow2 nvme failed with error 'Protocol driver 'nvme' does not support image creation'

Version-Release number of selected component (if applicable):
qemu-img-rhev-2.12.0-3.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.  # qemu-img create -f qcow2 nvme://0000:06:00.0/1 20G
2.
3.

Actual results:
qemu-img create a qcow2 nvme failed with error 'Protocol driver 'nvme' does not support image creation'

Expected results:
qcow2 nvme create successfully.

Additional info:

Comment 2 Yongxue Hong 2018-06-13 02:55:48 UTC
Try to reproduce on ppc64:

[root@ibm-p8-garrison-03 ~]# qemu-img create -f qcow2 nvme://0001:01:00.0/1 20G
qemu-img: nvme://0001:01:00.0/1: Protocol driver 'nvme' does not support image creation
[root@ibm-p8-garrison-03 ~]# rpm -qa| grep qemu
qemu-img-rhev-2.12.0-3.el7.ppc64le
qemu-kvm-tools-rhev-2.12.0-3.el7.ppc64le
qemu-kvm-common-rhev-2.12.0-3.el7.ppc64le
qemu-kvm-rhev-2.12.0-3.el7.ppc64le
qemu-kvm-rhev-debuginfo-2.12.0-3.el7.ppc64le
ipxe-roms-qemu-20170123-1.git4e85b27.el7_4.1.noarch
[root@ibm-p8-garrison-03 ~]# lspci | grep NVMe
0001:01:00.0 Non-Volatile memory controller: HGST, Inc. Ultrastar SN100 Series NVMe SSD (rev 05)
[root@ibm-p8-garrison-03 ~]# 

Same as x86.

Comment 4 Ademar Reis 2018-12-13 21:37:38 UTC
WONTFIX for RHEL7. Already being tracked in RHEL8: Bug 1640894