xen: Add privcmd device driver

Access to arbitrary hypercalls is currently provided via xenfs. This
adds a standard character device to handle this. The support in xenfs
remains for backward compatibility and uses the device driver code.

Signed-off-by: Bastian Blank <waldi@debian.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
This commit is contained in:
Bastian Blank
2011-12-16 11:34:33 -05:00
committed by Konrad Rzeszutek Wilk
parent 243082e0d5
commit d8414d3c15
7 changed files with 53 additions and 4 deletions

3
drivers/xen/privcmd.h Normal file
View File

@@ -0,0 +1,3 @@
#include <linux/fs.h>
extern const struct file_operations xen_privcmd_fops;