Bug 806327 - bootindex not work on scsi-disk if there is QEMU emulated usb-storage in cli
Summary: bootindex not work on scsi-disk if there is QEMU emulated usb-storage in cli
Keywords:
Status: CLOSED DUPLICATE of bug 782029
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Paolo Bonzini
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-23 12:54 UTC by Chao Yang
Modified: 2013-01-10 00:48 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-28 20:22:08 UTC
Target Upstream Version:


Attachments (Terms of Use)

Comment 2 Chao Yang 2012-04-01 11:05:55 UTC
same issue exists on ide-drive/virtio-scsi and virtio-blk-pci/virtio-scsi

Comment 3 Paolo Bonzini 2012-04-02 07:06:31 UTC
Please be more specific.  From bug 801293 comment 4:

"In general if you specify bootindex for one disk you want to specify it for all
of them, including usb-storage."  Otherwise the decisions from SeaBIOS can be confusing.

Comment 4 Chao Yang 2012-04-05 05:16:01 UTC
(In reply to comment #3)
> Please be more specific.  From bug 801293 comment 4:
> 
> "In general if you specify bootindex for one disk you want to specify it for
> all
> of them, including usb-storage."  Otherwise the decisions from SeaBIOS can be
> confusing.

This bug is opened to tract bug 801293 comment 7.

Comment 5 Paolo Bonzini 2012-04-05 16:08:50 UTC
Sorry, I didn't see bug 801293 comment 9. Do you have the new command-line.  Do you have the command-line?  Also, what does the boot menu say?

Comment 6 Chao Yang 2012-04-09 05:51:48 UTC
(In reply to comment #5)
> Sorry, I didn't see bug 801293 comment 9. Do you have the new command-line.  Do
> you have the command-line?  Also, what does the boot menu say?
With seabios-0.6.1.2-15.el6.x86_64, qemu-kvm-0.12.1.2-2.269.el6.x86_64

# /usr/libexec/qemu-kvm -M rhel6.3.0 -cpu SandyBridge -enable-kvm -m 2048 -smp 2,sockets=1,cores=2,threads=1 -boot menu=on -rtc base=utc,clock=host,driftfix=slew -drive file=/home/rhel6.3_20120313_x86_64_copy.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,serial=69-a2ad-85f195fee049,cache=none,werror=stop,rerror=stop,aio=native -device virtio-scsi-pci,id=scsi-pci -device scsi-disk,drive=drive-virtio-disk0,id=virtio-disk0,bus=scsi-pci.0,lun=0,bootindex=1  <---
-net none -spice port=8000,disable-ticketing -k en-us -vga qxl -global qxl-vga.vram_size=67108864 -device usb-ehci,id=ehci -drive file=/home/RHEL-Server-6.3-64-virtio.qcow2,if=none,id=drive-virtio-disk1,format=qcow2,cache=none,werror=stop,rerror=stop,aio=native -device usb-storage,bus=ehci.0,port=1,drive=drive-virtio-disk1,id=virtio-disk1,removable=on,bootindex=2  <---
-device sga -serial stdio

Google, Inc.
Serial Graphics Adapter 07/26/11
SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild.redhat.com) Tue Jul 26 15:05:08 UTC 2011
4 0
SeaBIOS (version seabios-0.6.1.2-15.el6)

Press F12 for boot menu.

Select boot device:

1. USB MSC Drive QEMU QEMU HARDDISK 0.12
2. virtio-scsi Drive QEMU QEMU HARDDISK 0.12
3. DVD/CD [ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD]
4. Legacy option rom

Comment 7 Paolo Bonzini 2012-05-16 15:01:17 UTC
This could be fixed in qemu-kvm-0.12.1.2-2.294.el6; two patches were missing when bug 802284 was committed to distgit.

Comment 8 Paolo Bonzini 2012-05-28 20:22:08 UTC

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


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