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.
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 2Dr. 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 3Dr. 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 6Markus 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 ***