Date: Sun, 21 Apr 2019 14:17:41 +0700 From: Victor Sudakov <vas@mpeks.tomsk.su> To: freebsd-virtualization@freebsd.org Subject: Re: [vm-bhyve] Windows 2012 and 2016 servers guests would not stop Message-ID: <20190421071741.GA51438@admin.sibptus.ru> In-Reply-To: <CACLnyCLYGZC6G=NZjm4pTxFGcnUJ5ip4LTBrVYYfCcQPsE2ebQ@mail.gmail.com> References: <20190421045143.GA49101@admin.sibptus.ru> <CACLnyCLYGZC6G=NZjm4pTxFGcnUJ5ip4LTBrVYYfCcQPsE2ebQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Jason Tubnor wrote: > On Sun., 21 Apr. 2019, 2:51 pm Victor Sudakov, <vas@mpeks.tomsk.su> wrote: >=20 > > > > > > Does vm-bhyve provide a way to power them off ungracefully if they would > > not stop within a predefined time? > > >=20 > You'd have to do your own checking but to force an instant power off of a > guest simply execute: >=20 > vm poweroff {guest} I don't need an *instant* poweroff, I need a poweroff only if a VM would not stop gracefully within a predefined time. Of course this should not be done manually but from the rc.d/vm script on shutdown. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJcvBkVAAoJEA2k8lmbXsY0g2oH/1Si05FrDsPEJXtnzZogrQJY KnkYBOfxXrlS4hr3uQXO0x4i/MlzDIahitYbJqSnaIb/nPWiK5A1bcaLwqCNIhjF +NJdfjQUTnUXfhTD9S1g1V/ITm/uP0WcKag5XBruR5FTIZhc68gQz3S4bzsGzZ0w lVcS0d9/8lZutobBiaIaJV0u4ioGfE/BwOg8t/5lmW8W75OSOWmZTB0yySIWaeCL 2HpsDiGuSN8gRF/K8tsAv0BHkJYvY9QWUgCDLXSQ0RcZsmVvCh39b8oWOrCKyy9H s2Xnu4KNF/tpd0wMsFupsIF5A6VQhC/saAz09azpvo74W7l1WC2iDC8+ojrof08= =nCrh -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190421071741.GA51438>