Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 303790 Details for
Bug 444155
mkinitrd: support booting from KVM virtio devices
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
0001-mkinitrd-handle-KVM-virtio-devices.patch
0001-mkinitrd-handle-KVM-virtio-devices.patch (text/plain), 1.01 KB, created by
Mark McLoughlin
on 2008-04-25 14:21:01 UTC
(
hide
)
Description:
0001-mkinitrd-handle-KVM-virtio-devices.patch
Filename:
MIME Type:
Creator:
Mark McLoughlin
Created:
2008-04-25 14:21:01 UTC
Size:
1.01 KB
patch
obsolete
>From cf97dd7285c359c65edd338b08e98b09eea5ba33 Mon Sep 17 00:00:00 2001 >From: Mark McLoughlin <markmc@redhat.com> >Date: Fri, 25 Apr 2008 15:18:53 +0100 >Subject: [PATCH] mkinitrd: handle KVM virtio devices > >KVM exposes its virtio devices to the guest over PCI, >requiring the guest to use the virtio_pci driver for >device enumeration. The actual block device driver is >virtio_blk. > >There doesn't seem to be any generic way for mkinitrd >to realise it needs virtio_pci, so add an ugly hack >to explicitly handle this case. > >Signed-off-by: Mark McLoughlin <markmc@redhat.com> >--- > mkinitrd | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > >diff --git a/mkinitrd b/mkinitrd >index f3512aa..d9ddf0f 100755 >--- a/mkinitrd >+++ b/mkinitrd >@@ -527,6 +527,9 @@ findstoragedriverinsys () { > handleiscsi "$PWD" > return > fi >+ if echo $PWD | grep -q /virtio-pci/ ; then >+ findmodule virtio_pci >+ fi > while [ "$PWD" != "/sys/devices" ]; do > deps= > if [ -f modalias ]; then >-- >1.5.4.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 444155
: 303790