From: Daniel De Graaf Date: Mon, 28 Nov 2011 16:49:05 +0000 (-0500) Subject: xen/blkback: Enable blkback on HVM guests X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b2167ba6dd89d55ced26a867fad8f0fe388fd595;p=linux-beck.git xen/blkback: Enable blkback on HVM guests Signed-off-by: Daniel De Graaf Signed-off-by: Konrad Rzeszutek Wilk --- 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);