aboutsummaryrefslogtreecommitdiff
path: root/drivers/xen/xenfs/super.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2009-02-09 12:05:49 -0800
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2010-10-20 16:22:29 -0700
commit1c5de1939c204bde9cce87f4eb3d26e9f9eb732b (patch)
treec67089c6f7d482623b89710938f7e8ee9f8e7806 /drivers/xen/xenfs/super.c
parent1246ae0bb992f106a245eea2b8dd901ced868e7a (diff)
xen: add privcmd driver
The privcmd interface in xenfs allows the tool stack in the privileged domain to get fairly direct access to the hypervisor in order to do various management things such as domain construction. [ Impact: new xenfs interface for privileged operations ] Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'drivers/xen/xenfs/super.c')
-rw-r--r--drivers/xen/xenfs/super.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/xen/xenfs/super.c b/drivers/xen/xenfs/super.c
index 3cf7707217f..8c7462866e9 100644
--- a/drivers/xen/xenfs/super.c
+++ b/drivers/xen/xenfs/super.c
@@ -96,6 +96,8 @@ static int xenfs_fill_super(struct super_block *sb, void *data, int silent)
&xsd_kva_file_ops, NULL, S_IRUSR|S_IWUSR);
xenfs_create_file(sb, sb->s_root, "xsd_port",
&xsd_port_file_ops, NULL, S_IRUSR|S_IWUSR);
+ xenfs_create_file(sb, sb->s_root, "privcmd",
+ &privcmd_file_ops, NULL, S_IRUSR|S_IWUSR);
}
return rc;