summaryrefslogtreecommitdiffstats
path: root/drivers/block/xen-blkback
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/block/xen-blkback
parent4f14faaab4ee46a046b6baff85644be199de718c (diff)
downloadop-kernel-dev-b2167ba6dd89d55ced26a867fad8f0fe388fd595.zip
op-kernel-dev-b2167ba6dd89d55ced26a867fad8f0fe388fd595.tar.gz
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/block/xen-blkback')
-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 3174353..70caa89 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);
OpenPOWER on IntegriCloud