Bug 803943
Summary: | virtio-scsi ignores bootindex option | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | daiwei <wdai> |
Component: | seabios | Assignee: | Paolo Bonzini <pbonzini> |
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.3 | CC: | acathrow, bsarathy, juzhang, michen, mkenneth, pbonzini, shuang, virt-maint |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-03-20 15:54:44 UTC | Type: | --- |
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: | 769712, 857935, 889075 |
Description
daiwei
2012-03-16 03:53:40 UTC
I can't reproduce this: x86_64-softmmu/qemu-system-x86_64 \ -device virtio-scsi-pci,id=bus1 \ -drive if=none,file=$HOME/Download/boot.iso,id=cd \ -device scsi-cd,drive=cd,bus=bus1.0,bootindex=1 -monitor stdio -m 512 \ -device virtio-scsi-pci,id=bus2 \ -drive if=none,file=$HOME/test.img,id=hd \ -device scsi-hd,drive=hd,bus=bus2.0,bootindex=2 -boot menu=on boots from CD. x86_64-softmmu/qemu-system-x86_64 \ -device virtio-scsi-pci,id=bus1 \ -drive if=none,file=$HOME/Download/boot.iso,id=cd \ -device scsi-cd,drive=cd,bus=bus1.0,bootindex=2 -monitor stdio -m 512 \ -device virtio-scsi-pci,id=bus2 \ -drive if=none,file=$HOME/test.img,id=hd \ -device scsi-hd,drive=hd,bus=bus2.0,bootindex=1 -boot menu=on boots from harddisk. x86_64-softmmu/qemu-system-x86_64 \ -device virtio-scsi-pci,id=bus1 \ -drive if=none,file=$HOME/openbsd.qcow2,id=bsd \ -device scsi-hd,drive=bsd,bus=bus1.0,bootindex=1 -monitor stdio -m 512 \ -device virtio-scsi-pci,id=bus2 \ -drive if=none,file=$HOME/test.img,id=hd \ -device scsi-hd,drive=hd,bus=bus2.0,bootindex=2 -boot menu=on boots from harddisk openbsd.qcow2. x86_64-softmmu/qemu-system-x86_64 \ -device virtio-scsi-pci,id=bus1 \ -drive if=none,file=$HOME/openbsd.qcow2,id=bsd \ -device scsi-hd,drive=bsd,bus=bus1.0,bootindex=2 -monitor stdio -m 512 \ -device virtio-scsi-pci,id=bus2 \ -drive if=none,file=$HOME/test.img,id=hd \ -device scsi-hd,drive=hd,bus=bus2.0,bootindex=1 -boot menu=on boots from harddisk test.img. In all cases, boot menu works okay to boot the second entry. Can you try narrowing the command-line further? Note that boot is only supported from LUN 0 for now. Hi Paolo, I did not notice the _bus_ option. With the _bus_ option bootindex works normally. BTW, in qemu monitor run command "info qtree", I can't find _bus_ option under scsi-hd. Is this correct ? Thanks. The bus option is not in "info qtree", but it defines in which branch of the tree the devices are added. Anyhow this was a configuration problem (boot is only supported from LUN 0), so closing. |