X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fpalacios-vm.c;h=b50714e31ec52a59db3d06d089f1947e11ad1864;hb=fcb418e3ef916356ef80c1f1436adfa1e6878d4f;hp=715d6265d073e3b9e8f067cdaf099d9bafb0a431;hpb=8792ea4ea6462c30e016293fbbd2659b3befdad4;p=palacios.git diff --git a/linux_module/palacios-vm.c b/linux_module/palacios-vm.c index 715d626..b50714e 100644 --- a/linux_module/palacios-vm.c +++ b/linux_module/palacios-vm.c @@ -112,10 +112,6 @@ static struct vm_ctrl * get_ctrl(struct v3_guest * guest, unsigned int cmd) { } -#ifdef V3_CONFIG_STREAM -#include "palacios-stream.h" -#endif - #ifdef V3_CONFIG_EXT_INSPECTOR #include "palacios-inspector.h" @@ -131,7 +127,7 @@ static struct vm_ctrl * get_ctrl(struct v3_guest * guest, unsigned int cmd) { #endif extern struct class * v3_class; -#define STREAM_NAME_LEN 128 + static long v3_vm_ioctl(struct file * filp, unsigned int ioctl, unsigned long arg) { @@ -149,23 +145,6 @@ static long v3_vm_ioctl(struct file * filp, } - case V3_VM_STREAM_CONNECT: { -#ifdef V3_CONFIG_STREAM - void __user * argp = (void __user *)arg; - char path_name[STREAM_NAME_LEN]; - - if (copy_from_user(path_name, argp, STREAM_NAME_LEN)) { - printk("%s(%d): copy from user error...\n", __FILE__, __LINE__); - return -EFAULT; - } - - return open_stream(path_name); -#else - printk("Stream support Not available\n"); - return -EFAULT; -#endif - break; - } case V3_VM_HOST_DEV_CONNECT: { #ifdef V3_CONFIG_HOST_DEVICE