From owner-freebsd-virtualization@freebsd.org Fri Mar 11 01:44:48 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 727CBACB548 for ; Fri, 11 Mar 2016 01:44:48 +0000 (UTC) (envelope-from ronald@taufilms.com) Received: from homiemail-a9.g.dreamhost.com (homie.mail.dreamhost.com [208.97.132.208]) by mx1.freebsd.org (Postfix) with ESMTP id 5F993F7F; Fri, 11 Mar 2016 01:44:47 +0000 (UTC) (envelope-from ronald@taufilms.com) Received: from homiemail-a9.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a9.g.dreamhost.com (Postfix) with ESMTP id 506C85BE066; Thu, 10 Mar 2016 17:44:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=taufilms.com; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=taufilms.com; bh=zErL OWK/fCibqRgsfL7uosZPNIs=; b=VLmiequjQlWingtcMukBRZ4tIN6oCrny3XSn vCEc0AjtrII7eoL0P5Uel6xrchbL9vtMTKFI9OlVa6zCHfc7amotoRjE4s4fEO7p qIRrwg7+dfiU7oCt/AZLfyxiXyKm2xKFPLFh6MAlymbPeXQPMta9QureNquIEm4p RLOdBIE= Received: from [192.168.39.64] (unknown [60.51.78.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: ronald@taufilms.com) by homiemail-a9.g.dreamhost.com (Postfix) with ESMTPSA id A53D75BE064; Thu, 10 Mar 2016 17:44:46 -0800 (PST) Message-ID: <56E2230C.6080003@taufilms.com> Date: Fri, 11 Mar 2016 09:44:44 +0800 From: Ronald Khoo User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Peter Grehan CC: freebsd-virtualization@freebsd.org Subject: Re: bhyve: is SIGTERM ACPI shutdown supported on linux guests? References: <56E21E54.5060601@taufilms.com> <56E21FD0.8090708@freebsd.org> In-Reply-To: <56E21FD0.8090708@freebsd.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2016 01:44:48 -0000 That did it. Thank you! ronald On 03/11/2016 09:30 AM, Peter Grehan wrote: >> I'm on 10.2-RELEASE. sending SIGTERM to a FreeBSD guest bhyve shuts it >> down as expected, but my CentOS 6 guest does nothing. >> >> Is this expected to work? > > It isn't enabled by default on centos6. You'll have to do something like this in your guest: > > yum -y install acpid > chkconfig acpid on > service acpid start > > later, > > Peter.