summaryrefslogtreecommitdiffstats
path: root/drivers/xen/xenfs/super.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge2009-02-09 21:05:49 +0100
committerJeremy Fitzhardinge2010-10-21 01:22:29 +0200
commit1c5de1939c204bde9cce87f4eb3d26e9f9eb732b (patch)
treec67089c6f7d482623b89710938f7e8ee9f8e7806 /drivers/xen/xenfs/super.c
parentxen: add variable hypercall caller (diff)
downloadkernel-qcow2-linux-1c5de1939c204bde9cce87f4eb3d26e9f9eb732b.tar.gz
kernel-qcow2-linux-1c5de1939c204bde9cce87f4eb3d26e9f9eb732b.tar.xz
kernel-qcow2-linux-1c5de1939c204bde9cce87f4eb3d26e9f9eb732b.zip
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 3cf7707217f2..8c7462866e90 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;