xen/blkback: Enable blkback on HVM guests
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Mon, 28 Nov 2011 16:49:05 +0000 (11:49 -0500)
committerJens Axboe <axboe@kernel.dk>
Tue, 20 Mar 2012 11:52:41 +0000 (12:52 +0100)
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkback/blkback.c

index 3174353..70caa89 100644 (file)
@@ -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);