super.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) super.c (332f791dc98d98116f4473b726f67c9321b0f31e)
1/*
2 * xenfs.c - a filesystem for passing info between the a domain and
3 * the hypervisor.
4 *
5 * 2008-10-07 Alex Zeffertt Replaced /proc/xen/xenbus with xenfs filesystem
6 * and /proc/xen compatibility mount point.
7 * Turned xenfs into a loadable module.
8 */
9
10#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
11
12#include <linux/kernel.h>
13#include <linux/errno.h>
14#include <linux/module.h>
15#include <linux/fs.h>
16#include <linux/magic.h>
17
18#include <xen/xen.h>
1/*
2 * xenfs.c - a filesystem for passing info between the a domain and
3 * the hypervisor.
4 *
5 * 2008-10-07 Alex Zeffertt Replaced /proc/xen/xenbus with xenfs filesystem
6 * and /proc/xen compatibility mount point.
7 * Turned xenfs into a loadable module.
8 */
9
10#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
11
12#include <linux/kernel.h>
13#include <linux/errno.h>
14#include <linux/module.h>
15#include <linux/fs.h>
16#include <linux/magic.h>
17
18#include <xen/xen.h>
19#include <xen/xenbus.h>
19
20#include "xenfs.h"
21#include "../privcmd.h"
20
21#include "xenfs.h"
22#include "../privcmd.h"
22#include "../xenbus/xenbus_comms.h"
23
24#include <asm/xen/hypervisor.h>
25
26MODULE_DESCRIPTION("Xen filesystem");
27MODULE_LICENSE("GPL");
28
29static ssize_t capabilities_read(struct file *file, char __user *buf,
30 size_t size, loff_t *off)

--- 72 unchanged lines hidden ---
23
24#include <asm/xen/hypervisor.h>
25
26MODULE_DESCRIPTION("Xen filesystem");
27MODULE_LICENSE("GPL");
28
29static ssize_t capabilities_read(struct file *file, char __user *buf,
30 size_t size, loff_t *off)

--- 72 unchanged lines hidden ---