diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-08-17 16:33:42 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-08-17 16:33:42 +0100 |
commit | dc043970e7ade1325656d5b738f78ef9d7e86091 (patch) | |
tree | 074754fa035de8c4a1bc069f331ea376ff2bfe3b | |
parent | 05592e02ad24568f053867afdb98ff3aa0323b54 (diff) | |
download | xen-dc043970e7ade1325656d5b738f78ef9d7e86091.tar.gz xen-dc043970e7ade1325656d5b738f78ef9d7e86091.tar.bz2 xen-dc043970e7ade1325656d5b738f78ef9d7e86091.zip |
[HVM] Allow blkfront driver to be built for an HVM guest.
Signed-off-by: Steven Smith <ssmith@xensource.com>
-rw-r--r-- | linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c | 1 | ||||
-rw-r--r-- | unmodified_drivers/linux-2.6/Makefile | 1 | ||||
-rw-r--r-- | unmodified_drivers/linux-2.6/blkfront/Kbuild | 5 |
3 files changed, 7 insertions, 0 deletions
diff --git a/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c b/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c index 20e5ad63b8..bee1da5ff5 100644 --- a/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c +++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c @@ -46,6 +46,7 @@ #include <xen/interface/grant_table.h> #include <xen/gnttab.h> #include <asm/hypervisor.h> +#include <asm/maddr.h> #define BLKIF_STATE_DISCONNECTED 0 #define BLKIF_STATE_CONNECTED 1 diff --git a/unmodified_drivers/linux-2.6/Makefile b/unmodified_drivers/linux-2.6/Makefile index a7a52f8f9e..dacbc7012f 100644 --- a/unmodified_drivers/linux-2.6/Makefile +++ b/unmodified_drivers/linux-2.6/Makefile @@ -2,3 +2,4 @@ include $(M)/overrides.mk obj-m += platform-pci/ obj-m += xenbus/ +obj-m += blkfront/ diff --git a/unmodified_drivers/linux-2.6/blkfront/Kbuild b/unmodified_drivers/linux-2.6/blkfront/Kbuild new file mode 100644 index 0000000000..0a46fb22c3 --- /dev/null +++ b/unmodified_drivers/linux-2.6/blkfront/Kbuild @@ -0,0 +1,5 @@ +include $(M)/overrides.mk + +obj-m += xen-vbd.o + +xen-vbd-objs := blkfront.o vbd.o |