Re: [uml-devel] um: WARNING: vmlinux: 'memcpy' exported twice. Previous export was in vmlinux

2009-03-10 Thread Américo Wang
On Sun, Mar 08, 2009 at 12:49:16PM +0200, Boaz Harrosh wrote: >Américo Wang wrote: >> On Thu, Mar 05, 2009 at 07:27:31PM +0200, Boaz Harrosh wrote: >>> Américo Wang wrote: On Thu, Mar 05, 2009 at 03:45:36PM +0200, Boaz Harrosh wrote: > Américo Wang wrote: >> On Thu, Mar 05, 2009 at 02:

[uml-devel] [Patch] uml: fix WARNING: vmlinux: 'memcpy' exported twice.

2009-03-10 Thread Américo Wang
This patch fixes the following warning on x86_64: LD vmlinux.o MODPOST vmlinux.o WARNING: vmlinux: 'memcpy' exported twice. Previous export was in vmlinux Reported-by: Boaz Harrosh Signed-off-by: WANG Cong Tested-by: Boaz Harrosh Cc: Jeff Dike --- diff --git a/arch/um/os-Linux/user_syms.c

Re: [uml-devel] [PATCH] UML on UML fixed: it did not start

2009-03-10 Thread Américo Wang
On Fri, Mar 06, 2009 at 08:49:22PM +0100, Renzo Davoli wrote: >It is currently impossible to run a user-mode linux machine inside another >user-mode >linux (UML on UML). It breaks after a few instructions. When it tries to check >whether SYSEMU is installed (the inner) UML receives an inconsisten

Re: [uml-devel] [PATCH] Fix ARCH=um segfault on x86-64.

2009-03-10 Thread Américo Wang
On Fri, Mar 06, 2009 at 09:35:43AM -0500, Jeff Dike wrote: >On Fri, Mar 06, 2009 at 07:18:34PM +0800, Am??rico Wang wrote: >> It does work well x86_64, but my question is that whether this will >> break i386 or not, since before, CONFIG_3_LEVEL_PGTABLES depends on >> EXPERIMENTAL on i386, this patc

[uml-devel] [PATCH 0/2] ptrace_vm: ptrace for syscall emulation virtual machines

2009-03-10 Thread Renzo Davoli
Cong, I have updated the PTRACE_VM patches. The patches have been rebased to linux-2.6.29-rc7 but apply to linux-2.6.29-rc7-git3. The set is composed by two patches. The first one is for all those architectures where PTRACE_SYSCALL is managed via tracehook (x86, powerpc etc). Given the wonderful

[uml-devel] [PATCH 1/2] ptrace_vm: ptrace for syscall emulation virtual machines

2009-03-10 Thread Renzo Davoli
This patch adds the new PTRACE_VM_SKIPCALL and PTRACE_VM_SKIPEXIT tags for ptrace's addr parameter. In this way it is possible to (eventually) get rid of PTRACE_SYSEMU PTRACE_SYSEMU_SINGLESTEP, while providing not only the same features but a more general support for Virtual Machines. Part#1: trace

[uml-devel] [PATCH 2/2] ptrace_vm: ptrace for syscall emulation virtual machines

2009-03-10 Thread Renzo Davoli
This patch adds the new PTRACE_VM_SKIPCALL and PTRACE_VM_SKIPEXIT tags for ptrace's addr parameter. In this way it is possible to (eventually) get rid of PTRACE_SYSEMU PTRACE_SYSEMU_SINGLESTEP, while providing not only the same features but a more general support for Virtual Machines. Part#2: user-

Re: [uml-devel] [PATCH 2/2] ptrace_vm: ptrace for syscall emulation virtual machines

2009-03-10 Thread Ingo Molnar
* Renzo Davoli wrote: > +/* test thread code. This thread is started only to test > + * which features are provided by the linux kernel */ > +static int sysptvm_child(void *arg) > +{ > + int *featurep=arg; > + int p[2]={-1,-1}; > + pid_t pid=os_getpid(); > + if(ptrace(PTRACE_TRA