New /dev/rtc driver for vmware

Marco Trentini mark at remotelab.org
Sat Jan 24 14:25:12 PST 2004


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.


More information about the freebsd-emulation mailing list