Date: Tue, 26 May 2015 23:18:53 -0700 From: Paul Vixie <paul@redbarn.org> To: Craig Rodrigues <rodrigc@FreeBSD.org> Cc: "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: Re: can we get some interaction between halt/reboot and bhyve? Message-ID: <556561CD.2040201@redbarn.org> In-Reply-To: <CAG=rPVfHqtBLEEenzLG_crkWgs=oU=Wc3QehJ7mACZ9m-Bb3Ug@mail.gmail.com> References: <5562755C.8090407@redbarn.org> <20150525030835.GB37063@funkthat.com> <CAG=rPVfHqtBLEEenzLG_crkWgs=oU=Wc3QehJ7mACZ9m-Bb3Ug@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- Paul Vixie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?556561CD.2040201>