diff --git a/include/linux/vzcalluser.h b/include/linux/vzcalluser.h
index 5c3e368..26c005d 100644
--- a/include/linux/vzcalluser.h
+++ b/include/linux/vzcalluser.h
@@ -73,6 +73,15 @@ struct vzctl_ve_console {
 	unsigned dev;
 };
 
+struct vzctl_ve_configure {
+	unsigned int veid;
+	unsigned int key;
+#define VE_CONFIGURE_OS_RELEASE		2
+	unsigned int val;
+	unsigned int size;
+	char data[0];
+};
+
 /* these masks represent modules */
 #define VE_IP_IPTABLES_MOD		(1U<<0)
 #define VE_IP_FILTER_MOD		(1U<<1)
@@ -217,6 +226,8 @@ struct vzctl_cpustatctl {
 					struct vzctl_ve_netdev)
 #define VZCTL_VE_MEMINFO	_IOW(VZCTLTYPE, 13,			\
 					struct vzctl_ve_meminfo)
+#define VZCTL_VE_CONFIGURE	_IOW(VZCTLTYPE, 15,			\
+					struct vzctl_ve_configure)
 
 #ifdef __KERNEL__
 #ifdef CONFIG_COMPAT
diff --git a/kernel/ve/vecalls.c b/kernel/ve/vecalls.c
index 6a8f085..e064038 100644
--- a/kernel/ve/vecalls.c
+++ b/kernel/ve/vecalls.c
@@ -3014,6 +3014,48 @@ static void fini_vecalls_proc(void)
 #define fini_vecalls_proc()	do { } while (0)
 #endif /* CONFIG_PROC_FS */
 
+static int ve_configure(envid_t veid, unsigned int key,
+			unsigned int val, unsigned int size, char *data)
+{
+	struct ve_struct *ve;
+	int err = -ENOKEY;
+
+	ve = get_ve_by_id(veid);
+	if (!ve)
+		return -EINVAL;
+
+	switch(key) {
+ 	}
+
+	real_put_ve(ve);
+ 	return err;
+}
+
+static int ve_configure_ioctl(struct vzctl_ve_configure *arg)
+{
+	int err;
+	struct vzctl_ve_configure s;
+	char *data = NULL;
+
+	err = -EFAULT;
+	if (copy_from_user(&s, (void __user *)arg, sizeof(s)))
+		goto out;
+	if (s.size) {
+		if (s.size > PAGE_SIZE)
+			return -EMSGSIZE;
+
+		data = kzalloc(s.size + 1, GFP_KERNEL);
+		if (unlikely(!data))
+			return -ENOMEM;
+
+		if (copy_from_user(data, (void __user *) &arg->data, s.size))
+			goto out;
+	}
+	err = ve_configure(s.veid, s.key, s.val, s.size, data);
+out:
+	kfree(data);
+	return err;
+}
 
 /**********************************************************************
  **********************************************************************
@@ -3126,6 +3168,9 @@ free_data:
 			err = ve_set_meminfo(s.veid, s.val);
 		}
 		break;
+	    case VZCTL_VE_CONFIGURE:
+		err = ve_configure_ioctl((struct vzctl_ve_configure *)arg);
+		break;
 	}
 	return err;
 }
