Bug 706797
Summary: | Only can find 7 virtio disks in boot menu | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Mike Cao <bcao> | ||||||
Component: | qemu-kvm | Assignee: | Gleb Natapov <gleb> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 6.1 | CC: | bcao, ehabkost, juzhang, knoel, michen, mkenneth, tburke, virt-maint | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2011-10-02 14:54:31 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: | |||||||||
Attachments: |
|
Description
Mike Cao
2011-05-23 03:33:27 UTC
Created attachment 500325 [details]
CommandLine
Created attachment 500326 [details]
Screendump
Bios environment has limited resources and each virtio queue take enormous amount of memory (at least 5404 byte for each queue). Bios fails to initialize more then 7 virtio disks because there is no enough memory for all of them. Bios always has only one request in flight to virtio block, so virtio queue shouldn't be so big (1 element should be qnough, we have 128 now), but unfortunately, in current virtio implementation host device decides what virtio queue length should be and a guest has no way to negotiate smaller queue size. The proper fix would be to have queue size negotiable between a host and a guest. Another fix would be to have only one vq for all virtio devices and reinitialize it on each disk access. This is hackish and may slow down BIOS access to virtio disk though. As a temporary solution we can also enlarge amount of memory available to BIOS, but then by specifying more virtio disks it will be possible to overflow that too. So the question is do we really need to support such big number of virtio disks? I think Gleb is right and it is not requirement. |