Bug 1653554
Summary: | Pass more devices via the interface between QEMU and firmware while booting up a guest | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Min Deng <mdeng> |
Component: | qemu-kvm | Assignee: | Virtualization Maintenance <virt-maint> |
qemu-kvm sub component: | General | QA Contact: | Min Deng <mdeng> |
Status: | CLOSED DEFERRED | Docs Contact: | |
Severity: | medium | ||
Priority: | medium | CC: | bugproxy, cohuck, dhildenb, hannsj_uhl, knoel, lcapitulino, mdeng, qzhang, rbalakri, smitterl, thuth, tstaudt, virt-maint, virt-qe-z |
Version: | 8.0 | Keywords: | Triaged |
Target Milestone: | rc | ||
Target Release: | 8.4 | ||
Hardware: | s390x | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-04-20 14:09:31 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: | 1796871 |
Description
Min Deng
2018-11-27 06:15:15 UTC
Min, You added "-boot strict=on" parameter, can you remove it and re-test? Thanks, Qunfang Hi Qunfang, The bug still could be reproduced with "-boot strict=on" Thanks Min The problem still could be reproduced even without "-boot strict=on",thanks. Thanks, I can reproduce the problem, and I also already know why it happens (the solution is unfortunately not very trivial, though). FWIW, here's a shorter reproducer line (for developers convenience): /usr/libexec/qemu-kvm -nographic -netdev user,id=n0 \ -device virtio-net-ccw,netdev=n0,bootindex=1 \ -drive if=none,id=d0,file=/var/lib/libvirt/images/guest.qcow2 \ -device virtio-blk,drive=d0,bootindex=2 It's even not only related to virtio-net - you can always only boot from the very first device with a "bootindex" on s390x. For example, this fails, too: qemu-img create -f qcow2 /tmp/empty.qcow2 1G /usr/libexec/qemu-kvm -nographic \ -drive if=none,id=d0,file=/var/lib/libvirt/images/guest.qcow2 \ -device virtio-blk,drive=d0,bootindex=2 \ -drive if=none,id=d1,file=/tmp/empty.qcow2 \ -device virtio-blk,drive=d1,bootindex=1 I've asked someone from IBM, and the problem is that the specification that defines the interface between QEMU and the firmware currently only allows one device to be passed. To properly fix this, the specification needs to be extended first (from IBM), and this will take some time. Thus I'm deferring this BZ to 8.1. ------- Comment From cborntra.com 2019-08-26 04:36 EDT------- We do not have a new interface specification yet that would allow for passing more than one boot device. Needs to be deferred further. QEMU has been recently split into sub-components and as a one-time operation to avoid breakage of tools, we are setting the QEMU sub-component of this BZ to "General". Please review and change the sub-component if necessary the next time you review this BZ. Thanks ------- Comment From tstaudt.com 2020-04-20 09:53 EDT------- A development item has been opened in IBM's feature tracking system. We will open a request once this is ready for inclusion. Closing as Enhancement. Thanks, everyone. |