Bug 679146 - manpage boot priority magic
Summary: manpage boot priority magic
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Gleb Natapov
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-21 17:55 UTC by Lubos Kocman
Modified: 2013-12-09 00:53 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-12 18:32:35 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Lubos Kocman 2011-02-21 17:55:23 UTC
Description of problem:

 -boot [order=drives][,once=drives][,menu=on|off]
           Specify boot order drives as a string of drive letters. Valid drive
           letters depend on the target achitecture. The x86 PC uses: a, b
           (floppy 1 and 2), c (first hard disk), d (first CD-ROM), n-p
           (Etherboot from network adapter 1-4), hard disk boot is the
           default. To apply a particular boot order only on the first
           startup, specify it via once.


Exactly:  n-p
           (Etherboot from network adapter 1-4)

n .. 1
o .. 2
? .. 3
p .. 4

What kind of alphabet are u using? I guess that it should be n-q right?


Version-Release number of selected component (if applicable):

qemu-kvm-0.12.1.2-2.147.el6.x86_64

How reproducible:


Steps to Reproduce:
1. man qemu-kvm
2.
3.
  
Actual results:

a hidden letter

Expected results:

valid range

Additional info:

Comment 1 Lubos Kocman 2011-02-21 18:00:30 UTC
<danpb> 
if (*p < 'a' || *p > 'p') {
            fprintf(stderr, "Invalid boot device '%c'\n", *p);
             exit(1);
}

Seems like the the MAXVALUE is 'p'

Comment 4 Lubos Kocman 2011-06-10 07:52:47 UTC
Is this ok or are we going to do something about it?

Comment 5 Gleb Natapov 2011-06-10 10:45:21 UTC
(In reply to comment #4)
> Is this ok or are we going to do something about it?

This is not the most important bug in our product especially as we do not support direct invocation of qemu (only via libvirt) and since bootindex should be used instead of -boot option. If you fill strong about it send the patch.


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