summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>2011-11-28 11:49:05 -0500
committerJens Axboe <axboe@kernel.dk>2012-03-20 12:52:41 +0100
commitb2167ba6dd89d55ced26a867fad8f0fe388fd595 (patch)
treeb7d09fd37539fb04f7d708906290921c3e14a3b2 /drivers
parent4f14faaab4ee46a046b6baff85644be199de718c (diff)
downloadlinux-b2167ba6dd89d55ced26a867fad8f0fe388fd595.tar.gz
linux-b2167ba6dd89d55ced26a867fad8f0fe388fd595.tar.bz2
linux-b2167ba6dd89d55ced26a867fad8f0fe388fd595.zip
xen/blkback: Enable blkback on HVM guests
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/block/xen-blkback/blkback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/xen-blkback/blkback.c b/drivers/block/xen-blkback/blkback.c
index 31743534d1e5..70caa8969972 100644
--- a/drivers/block/xen-blkback/blkback.c
+++ b/drivers/block/xen-blkback/blkback.c
@@ -809,7 +809,7 @@ static int __init xen_blkif_init(void)
int i, mmap_pages;
int rc = 0;
- if (!xen_pv_domain())
+ if (!xen_domain())
return -ENODEV;
blkbk = kzalloc(sizeof(struct xen_blkbk), GFP_KERNEL);