Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Dec 1999 06:30:00 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        "Vladimir N. Silyaev" <vsilyaev@mindspring.com>
Cc:        emulation@FreeBSD.org
Subject:   Re: ANNOUNCE: Update port VMware 1.1 for Linux, Networking Support 
Message-ID:  <19991208223000.518FC1CA0@overcee.netplex.com.au>
In-Reply-To: Message from "Vladimir N. Silyaev" <vsilyaev@mindspring.com>  of "Tue, 07 Dec 1999 22:52:06 EST." <19991207225206.A6304@jupiter.delta.ny.us> 

next in thread | previous in thread | raw e-mail | index | archive | help
"Vladimir N. Silyaev" wrote:
> Hi
> 
> Port of the VMware was updated, short list of changes:
> 
> 	Networking support. 
> 	Now had support for host only networking for one VMware session
> 	Support for Pierre Beyssac linproc filesystem
> 	Removed limitation to run VMware only on 'remote' X server
> 						Thnx to Darren Wiebe 
> 	VMware-wizard support
> 						Thnx to Dave Costello
> 
> The most important, it's a networking support. Now supported host-only 
> networking, for one VMware virtual session. The first limitation about 
> host-only networking, just mean that to setup connection between virtual 
> machine and a rest of the world, you are need to bringup gateway on our host.

I had to make a patch to procfs to make this work:Index: procfs_vnops.c
===================================================================
RCS file: /home/ncvs/src/sys/miscfs/procfs/procfs_vnops.c,v
retrieving revision 1.75
diff -u -r1.75 procfs_vnops.c
--- procfs_vnops.c	1999/11/21 19:03:19	1.75
+++ procfs_vnops.c	1999/12/08 22:28:22
@@ -92,6 +92,7 @@
 	/*	  name		type		validp */
 	{ DT_DIR, N("."),	Pproc,		NULL },
 	{ DT_DIR, N(".."),	Proot,		NULL },
+	{ DT_REG, N("exe"),	Pfile,		procfs_validfile },
 	{ DT_REG, N("mem"),	Pmem,		NULL },
 	{ DT_REG, N("regs"),	Pregs,		procfs_validregs },
 	{ DT_REG, N("fpregs"),	Pfpregs,	procfs_validfpregs },

This emulates /proc/pid/exe (linux's name for the executable file).  We used to 
have "file", but that was backed out after 5 years as a "security hole".

BTW; VMware is spooky... :-)

Cheers,
-Peter



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991208223000.518FC1CA0>