Bug#479409: Support virtio devices

Hugo Mills hugo at carfax.org.uk
Sun May 4 16:56:55 UTC 2008


Source: lvm2
Version: 2.02.33
Severity: Wishlist
Tags: patch

   This patch is needed to support LVM on virtio devices in virtual
machines with virtio support.

   Hugo.

Index: lvm2-2.02.29/lib/filters/filter.c
===================================================================
--- lvm2-2.02.29.orig/lib/filters/filter.c      2008-02-11 14:49:55.000000000 +0000
+++ lvm2-2.02.29/lib/filters/filter.c   2008-02-11 14:50:42.000000000 +0000
@@ -77,6 +77,7 @@
        {"xvd", 16},            /* Xen virtual block device */
        {"vdisk", 8},           /* SUN's LDOM virtual block device */
        {"ps3disk", 16},        /* PlayStation 3 internal disk */
+       {"virtblk", 16},        /* Virtio block device */
        {NULL, 0}
 };


-- 
=== Hugo Mills: hugo at ... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
    --- There is no dark side to the Moon, really. As a matter of ---    
                          fact,  it's all dark.                          
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20080504/ebc03c69/attachment.pgp 


More information about the pkg-lvm-maintainers mailing list