$(eval $(call KernelPackage,virtio-random))
+
+define KernelPackage/xen-privcmd
+ SUBMENU:=$(VIRTUAL_MENU)
+ TITLE:=Xen private commands
+ DEPENDS:=@TARGET_x86_xen_domu
+ KCONFIG:=CONFIG_XEN_PRIVCMD
+ FILES:=$(LINUX_DIR)/drivers/xen/xen-privcmd.ko
+ AUTOLOAD:=$(call AutoLoad,04,xen-privcmd)
+endef
+
+define KernelPackage/xen-privcmd/description
+ Kernel module for Xen private commands
+endef
+
+$(eval $(call KernelPackage,xen-privcmd))
+
+
define KernelPackage/xen-fs
SUBMENU:=$(VIRTUAL_MENU)
TITLE:=Xen filesystem
- DEPENDS:=@TARGET_x86_xen_domu
+ DEPENDS:=@TARGET_x86_xen_domu +kmod-xen-privcmd
KCONFIG:= \
CONFIG_XENFS \
CONFIG_XEN_COMPAT_XENFS=y