Here is a patch for Vserver to run under Xen that was posted to the Xen devel list. It might be useful for some people.

----- Original Message ----- From: ""Kristian F. H�gh"" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 22, 2005 11:12 AM
Subject: [Xen-devel] Tiny patch: xen and vserver



Hi,


This patch makes it possible to run vservers in xen (i386). There might be security, meltdown and KillAndEatMyDog problems.

It compiles (for me) and I can run vserver start ...

Description:
Add syscall 273: sys_vserver
Include vserver Kconfig

Regards,
Kristian.


Begin xen-vserver.patch

diff -NurpP --minimal arch/xen/i386/kernel/entry.S arch/xen/i386/kernel/entry.S
--- arch/xen/i386/kernel/entry.S 2004-11-17 23:51:47.000000000 +0100
+++ arch/xen/i386/kernel/entry.S 2004-11-20 16:46:07.000000000 +0100
@@ -1004,7 +1004,7 @@ ENTRY(sys_call_table)
.long sys_tgkill /* 270 */
.long sys_utimes
.long sys_fadvise64_64
- .long sys_ni_syscall /* sys_vserver */
+ .long sys_vserver
.long sys_mbind
.long sys_get_mempolicy
.long sys_set_mempolicy
diff -NurpP --minimal arch/xen/Kconfig arch/xen/Kconfig
--- arch/xen/Kconfig 2004-11-17 23:51:41.000000000 +0100
+++ arch/xen/Kconfig 2004-11-20 16:43:24.000000000 +0100
@@ -159,6 +159,8 @@ source "arch/xen/Kconfig.drivers"


source "fs/Kconfig"

+source "kernel/vserver/Kconfig"
+
source "security/Kconfig"

source "crypto/Kconfig"




------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xen-devel




-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.3.0 - Release Date: 2/21/2005

_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to