WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] blktap2: Depend on XEN_BLKDEV_BACKEND

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] blktap2: Depend on XEN_BLKDEV_BACKEND
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Wed, 31 Mar 2010 17:51:12 +1100 (EST)
Delivery-date: Tue, 30 Mar 2010 23:51:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
blktap2 needs blktap_prep_foreign.
This dependency ensures that if XEN_BLKDEV_BACKEND is a module
then blktap2 is too. Otherwise the following build error will occur:

drivers/built-in.o: In function `blktap_prep_foreign':
/home/horms/projects/xen/hg/linux-2.6.18-xen.hg/drivers/xen/blktap2/device.c:448:
undefined reference to `blkback_pagemap_read'
make: *** [.tmp_vmlinux1] Error 1

Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>

Index: linux-2.6.18-xen.hg/drivers/xen/Kconfig
===================================================================
--- linux-2.6.18-xen.hg.orig/drivers/xen/Kconfig        2010-03-31 
15:45:07.000000000 +0900
+++ linux-2.6.18-xen.hg/drivers/xen/Kconfig     2010-03-31 15:45:12.000000000 
+0900
@@ -65,8 +65,7 @@ config XEN_BLKDEV_TAP
 
 config XEN_BLKDEV_TAP2
        tristate "Block-device tap backend driver 2"
-       depends on XEN_BACKEND
-       default XEN_BACKEND
+       depends on XEN_BACKEND && XEN_BLKDEV_BACKEND
        help
          The block tap driver is an alternative to the block back driver 
           and allows VM block requests to be redirected to userspace through

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>