Bug 251292
Summary: | [XEN-HVM]HVM PV driver is not in RHEL5.1 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Zhao Yunfeng <yunfeng.zhao> |
Component: | xen | Assignee: | Xen Maintainance List <xen-maint> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 5.1 | CC: | kraxel, yongkang.you |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-01-21 13:24:50 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: | 241338, 247982, 247986 | ||
Bug Blocks: |
Description
Zhao Yunfeng
2007-08-08 07:31:57 UTC
*** Bug 251294 has been marked as a duplicate of this bug. *** *** Bug 251293 has been marked as a duplicate of this bug. *** Depends on bug 247982 and bug 241338, both targeted for rhel‑5.2.0 according to flags, which makes this a 5.2 candidate too. To fix bug 247982 and bug 241338, only very few changes needed. I tried to use PV driver(VBD) to boot root file system of a linux os successfully with following steps: 1. Build VBD modules into the initrd of the guest kernel. 2. Disable IDE of the HVM guest by adding "ide0=noprobe" in the guest kernel. 3. Modify xen python code to enable a disk image could be defined twice in the same config file,as disk = [ 'file:/share/xvs/var/img.vmx17001,hda,w', 'file:/share/xvs/var/img.vmx17001,x vda,w' ] 4. then boot the guest. Re comment #4: Have the same disk twice in the system, once emulated and once paravirtualized, isn't an option. Beside that it doesn't cover bug 241338. (In reply to comment #5) > Re comment #4: > > Have the same disk twice in the system, once emulated and once paravirtualized, > isn't an option. After booted up, the HVM guest will only use VBD driver. IDE emulation is only a transition to load kernel, just like ide bios driver to get disk work before os kernel booted up. We prefer this solution because it only needs a very small change. Does bug 241338 have any relations with PV driver? > Re comment #6: It is very error prone. If the system is booted without ide0=noprobe for some reason (and it can happen easily as this has to be configured manually) you have the disk twice in the guest. I want make sure this can't happen. Bug 241338 is related because you need some way to disable the statically compiled ide drivers if you want pv drivers handle the boot disk. We can let initrd of HVM guest disable ide. So user needn't do this manually. Re #8: Suggestions how to do this? Note that RHEL-5 has the ide drivers compiled statically into the kernel. Side note: In Fedora 7 and newer (ide handled by modular libata) it is easy, but that doesn't help for RHEL-5 ... This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Now that we have released the kmod-xenpv packages with the PV-on-HVM drivers, can we close this bug out? Thanks, Chris Lalancette This request was previously evaluated by Red Hat Product Management for inclusion in the current Red Hat Enterprise Linux release, but Red Hat was unable to resolve it in time. This request will be reviewed for a future Red Hat Enterprise Linux release. Closing. No response to the need info request and the PV drivers are now part of the RHEl 5 distribution with RHEL 5.3. |