From owner-freebsd-virtualization@FreeBSD.ORG Thu May 28 19:05:00 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 56025F78; Thu, 28 May 2015 19:05:00 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E422B2B5; Thu, 28 May 2015 19:04:59 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: by wifw1 with SMTP id w1so74296477wif.0; Thu, 28 May 2015 12:04:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4BEqYbWfULItNfqqXnTcC2Rl+ovR2Qd9yZ7beZmQf7M=; b=bpomwUTjyOEmJM7DKkkjDEGQ0DupQaVbTaMZinFJYekLaLq0N6ymZEJrKiqA4CefXx vKL85w0x4jm4DixTWR0T0StVUXDWMmXQ7BqB/U2jFHcJgag85Psw+iv4/cVwZBSXFCw+ bkiECkoLptpaEqDr0DytTT0FDYA0e9mgwPYWcvM8lWoeGKqDM5xADfZ192hOF6ppr78G Gh3DKsIXLIk3thrYsMYPxBQjbpIUFjGxdou/307YX30y2LTKxqcAApKLO0vgzKRafGnz QG+HMP+U0aVE0YgqX743NVjOXeYVYephywrxxtomw2LEAtIf5mfELWVx4pDpv6GT92iv cMSA== MIME-Version: 1.0 X-Received: by 10.180.85.72 with SMTP id f8mr63076940wiz.62.1432839898470; Thu, 28 May 2015 12:04:58 -0700 (PDT) Received: by 10.27.52.18 with HTTP; Thu, 28 May 2015 12:04:58 -0700 (PDT) In-Reply-To: <556561CD.2040201@redbarn.org> References: <5562755C.8090407@redbarn.org> <20150525030835.GB37063@funkthat.com> <556561CD.2040201@redbarn.org> Date: Thu, 28 May 2015 12:04:58 -0700 Message-ID: Subject: Re: can we get some interaction between halt/reboot and bhyve? From: Neel Natu To: Paul Vixie Cc: Craig Rodrigues , "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 28 May 2015 19:05:00 -0000 Hi Paul On Tue, May 26, 2015 at 11:18 PM, Paul Vixie wrote: > > > Craig Rodrigues wrote: >> ... >> >> I haven't tried them, but Michael Dexter has written more comprehensive >> rc.d scripts from bhyve: >> >> http://vmrc.bsd.lv/ > > these look good but i'm waiting for man pages, while meanwhile i bake my > own toolset. > >> rc.d scripts work well if you can live with the normal shutdown process >> invoking rc.d scripts. >> For my uses, I can live with shutdown and rc.d. > > so can i except in emergencies. > >> If you want to halt/reboot/poweroff, then you still have the original >> problem that Paul pointed out. > > reboot.c currently detects paging. is there a way to have it detect disk > i/o in general? > > note, 30 seconds isn't always enough. on a DCC server with 4GB mmap()'d, > i've run out of time. so, a sysctl for both the minimum (currently 5 > seconds) and maximum (currently 30 seconds) reboot i/o drain period > would be great. i would code these and submit them if these changes were > welcomed. > Yes, please do. best Neel > -- > Paul Vixie > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org"