Skip to content

Commit

Permalink
xen/blkback: Enable blkback on HVM guests
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
  • Loading branch information
Daniel De Graaf authored and Jens Axboe committed Mar 20, 2012
1 parent 4f14faa commit b2167ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/block/xen-blkback/blkback.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b2167ba

Please sign in to comment.