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 1056900 - guest cannot find disk via -hdb with "-M q35"
Summary: guest cannot find disk via -hdb with "-M q35"
Keywords:
Status: CLOSED DUPLICATE of bug 946993
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.0
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Dr. David Alan Gilbert
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-23 06:44 UTC by Jun Li
Modified: 2014-07-28 11:01 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-28 11:01:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jun Li 2014-01-23 06:44:56 UTC
Description of problem:
guest cannot find disk  via -hdb with "-M q35". But with "-device ide-drive", guest can r/w this disk well. 
BTW, with "-M pc", guest can r/w this disk(-hdb /home/scalability/disk30) well.
So if "-M q35" doesn't support -hdb, could give some warning or error message. 

Version-Release number of selected component (if applicable):
seabios-1.7.2.2-10.el7.x86_64
qemu-kvm-rhev-1.5.3-37.el7.x86_64
3.10.0-67.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Boot guest with the following cli.
# /usr/libexec/qemu-kvm  -drive file=rhel7_64.qcow2_v3,if=none,format=qcow2,id=sysdirve,cache=none -device ide-drive,bus=ide.0,drive=sysdirve,id=sysimg,bootindex=4 -M q35 -boot menu=on,reboot-timeout=-1,strict=on  -hdb  /home/scalability/disk30
2.
3.

Actual results:
can not find disk "-hdb".

Expected results:
if "-M q35" doesn't support -hdb, could give some warning or error message.

Additional info:
seabios can not find "-hdb" disk, but can find "-device ide-drive" disk with "-M q35".

Comment 2 Dr. David Alan Gilbert 2014-01-23 12:07:26 UTC
Can confirm this on upstream qemu; it's not just seabios - the drive isn't visible to the guest at all, and there are no warnings/errors.

Comment 3 Dr. David Alan Gilbert 2014-01-23 12:25:58 UTC
Checked with kwolf; -hdb isn't expected to work on q35 - but it should give you some diagnostics.

Comment 6 Markus Armbruster 2014-07-28 11:01:47 UTC
-drive if=ide,... and its sugared forms -cdrom, -hda, ... do not yet work with Q35.  Marking duplicate of bug 946993, which has more detail.

*** This bug has been marked as a duplicate of bug 946993 ***


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