]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 31743534d1e5f051dff71432e50a201eeeb29de2..70caa896997203079297cfa979b9e7805863a862 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);