Skip to content

Commit

Permalink
xenfs: enable for HVM domains too
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
  • Loading branch information
Jeremy Fitzhardinge committed Jul 27, 2010
1 parent 5915100 commit 43df95c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/xen/xenfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static struct file_system_type xenfs_type = {

static int __init xenfs_init(void)
{
if (xen_pv_domain())
if (xen_domain())
return register_filesystem(&xenfs_type);

printk(KERN_INFO "XENFS: not registering filesystem on non-xen platform\n");
Expand All @@ -74,7 +74,7 @@ static int __init xenfs_init(void)

static void __exit xenfs_exit(void)
{
if (xen_pv_domain())
if (xen_domain())
unregister_filesystem(&xenfs_type);
}

Expand Down

0 comments on commit 43df95c

Please sign in to comment.