From owner-freebsd-emulation@FreeBSD.ORG Sat Jan 24 14:25:11 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE96F16A4CE for ; Sat, 24 Jan 2004 14:25:11 -0800 (PST) Received: from 194-185-53-242.f5.ngi.it (194-185-53-242.f5.ngi.it [194.185.53.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF48E43D5A for ; Sat, 24 Jan 2004 14:24:58 -0800 (PST) (envelope-from mark@remotelab.org) Received: from einstein.lab (einstein.lab [192.168.168.2]) i0OMOv0K086591; Sat, 24 Jan 2004 23:24:57 +0100 (CET) (envelope-from mark@remotelab.org) Received: from einstein.lab (localhost.lab [127.0.0.1]) by einstein.lab (8.12.10/8.12.10) with ESMTP id i0OMOhrx057625; Sat, 24 Jan 2004 23:24:43 +0100 (CET) (envelope-from mark@einstein.lab) Received: (from mark@localhost) by einstein.lab (8.12.10/8.12.10/Submit) id i0OMOgGg057624; Sat, 24 Jan 2004 23:24:42 +0100 (CET) (envelope-from mark) Date: Sat, 24 Jan 2004 23:24:42 +0100 From: Marco Trentini To: Mike Silbersack Message-ID: <20040124222442.GA57412@einstein.lab> References: <20040124151131.I29927@odysseus.silby.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040124151131.I29927@odysseus.silby.com> User-Agent: Mutt/1.4.1i cc: emulation@freebsd.org Subject: Re: New /dev/rtc driver for vmware X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2004 22:25:12 -0000 On Sat, Jan 24, 2004 at 03:16:47PM -0600, Mike Silbersack wrote: > > Over the last few days, I've been hacking together a new /dev/rtc driver > for vmware to use. I still need to do a bit more work to get its timing > better (which may involve making other changes to the kernel), but I think > that it's ready for general testing. Please copy the included rtc.c into > the files/ directory of the rtc port, rebuild, and see how it works for > you. Also, make sure that you're running with kern.hz = 1000 or greater; > it's not going to work well otherwise. > > The biggest change you'll notice is that when running vmware is that > processor usage will be much lower. > > Things I have yet to do with the driver: > > 1. Make it work decently at hz = 100 > 1a. Improve its timing > 2. Implement device cloning so that under 5.x the driver can be used by > multiple copies of vmware at once. > > But for now, it seems to work pretty well, and I may just commit it as is, > unless people report other problems with it. > Hi, I'm using vmware without rct module because if I load that module (and load a virtual machine) I get a panic when shutdown the (real) machine (on FreeBSD 5.2RC and last but one version of vmware3 port). Can you explain in a nutshell the main advantages to use this module? Thanks.