summaryrefslogtreecommitdiffstats
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
parent4f14faaab4ee46a046b6baff85644be199de718c (diff)
downloadblackbird-op-linux-b2167ba6dd89d55ced26a867fad8f0fe388fd595.tar.gz
blackbird-op-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>
-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);
OpenPOWER on IntegriCloud