xenfs: enable for HVM domains too
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 22 Jul 2010 05:51:39 +0000 (22:51 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 27 Jul 2010 06:13:27 +0000 (23:13 -0700)
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
drivers/xen/xenfs/super.c

index 8924d93..78bfab0 100644 (file)
@@ -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");
@@ -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);
 }