About this list Date view Thread view Subject view Author view Attachment view

From: Matt Ayres (matta_at_tektonic.net)
Date: Tue 22 Feb 2005 - 20:03:52 GMT


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"" <kfh_at_kfh.dk>
To: <xen-devel_at_lists.sourceforge.net>
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
> Xen-devel_at_lists.sourceforge.net
> 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 Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 22 Feb 2005 - 20:04:39 GMT by hypermail 2.1.3