ia64/xen-unstable

changeset 11193:8f2fee2c452c

[HVM] Allow blkfront driver to be built for an HVM guest.
Signed-off-by: Steven Smith <ssmith@xensource.com>
author kfraser@localhost.localdomain
date Thu Aug 17 16:33:42 2006 +0100 (2006-08-17)
parents 88e8abee7575
children 28de3548c65f
files linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c unmodified_drivers/linux-2.6/Makefile unmodified_drivers/linux-2.6/blkfront/Kbuild
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c	Thu Aug 17 16:32:30 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c	Thu Aug 17 16:33:42 2006 +0100
     1.3 @@ -46,6 +46,7 @@
     1.4  #include <xen/interface/grant_table.h>
     1.5  #include <xen/gnttab.h>
     1.6  #include <asm/hypervisor.h>
     1.7 +#include <asm/maddr.h>
     1.8  
     1.9  #define BLKIF_STATE_DISCONNECTED 0
    1.10  #define BLKIF_STATE_CONNECTED    1
     2.1 --- a/unmodified_drivers/linux-2.6/Makefile	Thu Aug 17 16:32:30 2006 +0100
     2.2 +++ b/unmodified_drivers/linux-2.6/Makefile	Thu Aug 17 16:33:42 2006 +0100
     2.3 @@ -2,3 +2,4 @@ include $(M)/overrides.mk
     2.4  
     2.5  obj-m += platform-pci/
     2.6  obj-m += xenbus/
     2.7 +obj-m += blkfront/
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/unmodified_drivers/linux-2.6/blkfront/Kbuild	Thu Aug 17 16:33:42 2006 +0100
     3.3 @@ -0,0 +1,5 @@
     3.4 +include $(M)/overrides.mk
     3.5 +
     3.6 +obj-m += xen-vbd.o
     3.7 +
     3.8 +xen-vbd-objs := blkfront.o vbd.o