Bug 903204
Summary: | don't boot from un-selected devices (add a boot option 'strict' to qemu) | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Amos Kong <akong> |
Component: | qemu-kvm | Assignee: | Amos Kong <akong> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.4 | CC: | acathrow, ailan, alex.williamson, aliguori, areis, bsarathy, dallan, flang, gleb, juzhang, knoel, lnovich, lsu, michen, mkenneth, qzhang, virt-maint, wduffee, xhan |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-0.12.1.2-2.362.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 888633 | Environment: | |
Last Closed: | 2013-11-21 06:31:18 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: | 888633, 1039446 | ||
Bug Blocks: | 888635 |
Description
Amos Kong
2013-01-23 13:37:24 UTC
http://lists.nongnu.org/archive/html/qemu-devel/2013-03/msg03142.html [Qemu-devel] [PATCH v3] add a boot option to do strict boot Reproduce this bug as follow version: Host: # uname -r 2.6.32-393.el6.x86_64 # rpm -q qemu-kvm qemu-kvm-0.12.1.2-2.356.el6.x86_64 # rpm -q seabios seabios-0.6.1.2-28.el6.x86_64 Steps: 1.Boot guest /usr/libexec/qemu-kvm -drive file=/home/test.qcow2,if=none,id=drive-ide0-0-0,format=raw,cache=none -device virtio-blk-pci,scsi=off,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -vnc :0 -monitor stdio Results: Guest tried boot from Hard Disk-->tried to Floppy,CDROM,Netowork...-->show "No bootalbe device" Verify this bug as follow version: Host # uname -r 2.6.32-393.el6.x86_64 # rpm -q qemu-kvm qemu-kvm-0.12.1.2-2.377.el6.x86_64 # rpm -q seabios seabios-0.6.1.2-28.el6.x86_64 Steps: 1.Boot guest with "-boot strict=on" # /usr/libexec/qemu-kvm -drive file=/home/test.qcow2,if=none,id=drive-ide0-0-0,format=raw,cache=none -device virtio-blk-pci,scsi=off,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -vnc :0 -monitor stdio -boot strict=on Results:Guest only boot from hard disk Addtional info: 1.Boot guest with hard disk(bootindex=1),CDROM(bootindex=2) and " -boot strict=on".Guest tried boot from Hard disk-->CDROM 2.Boot guest with hard disk(bootindex=2 ),network(bootindex=3),CDROM(bootindex=1)and "-boot strict=on" Guest tried boot from CDROM-->Hard disk-->network 3.Because fix is only for New interface (bootindex), so only test with "bootindex"parameter. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-1553.html |