From owner-freebsd-questions@FreeBSD.ORG Tue Dec 19 02:54:04 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B0D5D16A403 for ; Tue, 19 Dec 2006 02:54:04 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from regulus.dfwlp.com (rrcs-64-183-212-244.sw.biz.rr.com [64.183.212.244]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BF7743C9F for ; Tue, 19 Dec 2006 02:52:38 +0000 (GMT) (envelope-from freebsd@dfwlp.com) Received: from athena.dfwlp.com (athena.dfwlp.com [192.168.125.83]) (authenticated bits=0) by regulus.dfwlp.com (8.13.6/8.13.6) with ESMTP id kBJ2qN3Q052473 for ; Mon, 18 Dec 2006 20:52:24 -0600 (CST) (envelope-from freebsd@dfwlp.com) From: Jonathan Horne To: freebsd-questions@freebsd.org Date: Mon, 18 Dec 2006 20:52:23 -0600 User-Agent: KMail/1.9.4 References: <4586ADC2.9030807@networktest.com> <200612181903.26955.freebsd@dfwlp.com> <458744B7.9010705@u.washington.edu> In-Reply-To: <458744B7.9010705@u.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612182052.23563.freebsd@dfwlp.com> X-Spam-Status: No, score=-1.4 required=3.6 tests=ALL_TRUSTED,AWL autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on regulus.dfwlp.com Subject: Re: FreeBSD as VM host OS? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2006 02:54:04 -0000 On Monday 18 December 2006 19:47, Garrett Cooper wrote: > This is assuming that you have APM setup though on the client OS? I > agree though, vmware is a good product in Windows / Linux. Too bad they > don't directly support FreeBSD though. > -Garrett well, the freebsd guests install just as normally as any real machine. it even recognized the ACPI without any trouble. the vmware-tools install a daemon that listens to commands from the host, and will reboot (kinda like ctrl-alt-del on the console) or poweroff the guest via buttons on the remote console, or by rebooting/shutting down the host. i will note, that the freebsd tools need a quick patch (whipped up by someone who appears to be a vmware employee, from the vmware forums) to completly acpi-poweroff the guests. this patch: --- vmware-tools.sh.bak Mon Sep 11 11:36:27 2006 +++ vmware-tools.sh Wed Nov 1 13:09:47 2006 @@ -609,6 +609,7 @@ # Start the guest OS daemon vmware_start_guestd() { cd "$vmdb_answer_SBINDIR" && "$vmdb_answer_SBINDIR"/vmware-guestd \ + --halt-command "/sbin/shutdown -p now" \ --background "$GUESTD_PID_FILE" } does the trick. (changes the command that the daemon issues from 'shutdown now' to shutdown -p now'). my email, web, and 2 dns servers, are all virtual machines running on a single linux host. they run fantastic, and i couldnt be more pleased with their performance. cheers, jonathan