diff options
author | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2011-11-28 16:49:05 (GMT) |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-03-20 11:52:41 (GMT) |
commit | b2167ba6dd89d55ced26a867fad8f0fe388fd595 (patch) | |
tree | b7d09fd37539fb04f7d708906290921c3e14a3b2 /drivers/block | |
parent | 4f14faaab4ee46a046b6baff85644be199de718c (diff) | |
download | linux-b2167ba6dd89d55ced26a867fad8f0fe388fd595.tar.xz |
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')
-rw-r--r-- | drivers/block/xen-blkback/blkback.c | 2 |
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); |