Date: Sun, 19 Apr 2020 18:47:13 -0400 From: Shawn Webb <shawn.webb@hardenedbsd.org> To: Conrad Meyer <cem@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r359950 - head/usr.sbin/bhyve Message-ID: <20200419224713.xaxvnuo334v6bhtj@mutt-hbsd> In-Reply-To: <202004150200.03F20I3H001953@repo.freebsd.org> References: <202004150200.03F20I3H001953@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--4fkv3lqg7o4odp2d Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 15, 2020 at 02:00:18AM +0000, Conrad Meyer wrote: > Author: cem > Date: Wed Apr 15 02:00:17 2020 > New Revision: 359950 > URL: https://svnweb.freebsd.org/changeset/base/359950 >=20 > Log: > bhyve(8): Add VM Generation Counter ACPI device > =20 > Add an implementatation of the 'Virtual Machine Generation ID' spec to > Bhyve. The spec provides a randomly generated GUID (at bhyve start) in > device memory, along with an ACPI device with _CID VM_Gen_Counter and A= DDR > evaluating to a Package pointing at that GUID. > =20 > A GPE is defined which Notifies the ACPI Device when the generation cha= nges > (such as when a snapshot is rolled back). At this time, Bhyve does not > support snapshotting, so the GPE is never actually raised. > =20 > Suggested by: rpokala > Discussed with: grehan > Differential Revision: https://reviews.freebsd.org/D23165 >=20 > Added: > head/usr.sbin/bhyve/vmgenc.c (contents, props changed) > head/usr.sbin/bhyve/vmgenc.h (contents, props changed) > Modified: > head/usr.sbin/bhyve/Makefile > head/usr.sbin/bhyve/acpi.c > head/usr.sbin/bhyve/acpi.h > head/usr.sbin/bhyve/bhyverun.c > head/usr.sbin/bhyve/pm.c Hey Conrad, Something about this commit broke bhyve in UEFI mode. Reverting this specific change caused bhyve to work again. Here's a sample command: /usr/obj/usr/src/amd64.amd64/usr.sbin/bhyve/bhyve \ -c 4 \ -m 16g \ -H \ -A \ -P \ -S \ -g 0 \ -s 0:0,hostbridge \ -s 1:0,lpc \ -s 29,fbuf,tcp=3D127.0.0.1:5910,w=3D1024,h=3D768,wait \ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \ -s 2:0,virtio-net,tap1 \ -s 3:0,virtio-blk,/dev/zvol/rpool/bhyve/hbsd-cross-dso-cfi-01/disk-01 \ -l com1,/dev/nmdm-hbsd-cross-dso-cfi-01-A \ -s 31:0,ahci-cd,/ISO/HardenedBSD/12-stable_amd64/2020-04-19_disc1.iso \ hbsd-cdcfi-01 Thanks, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD GPG Key ID: 0xFF2E67A277F8E1FA GPG Key Fingerprint: D206 BB45 15E0 9C49 0CF9 3633 C85B 0AF8 AB23 0FB2 https://git-01.md.hardenedbsd.org/HardenedBSD/pubkeys/src/branch/master/Sha= wn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --4fkv3lqg7o4odp2d Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAl6c1OoACgkQ/y5nonf4 4fpmFBAAkIZ0yZKAVukQnHTTHYh961A5XaOde5uiCRBSAovpcC/lM1hzhx5wA9hj x4DktYszi4/IrQK7hQSkA/Iq3xOCKcmkdiH6gs8W0Mw3sGfwVO6t3u2+qnDNGnDJ me1GgykD0AX0zl0gACN0jM8566I3gGY2xuNUFY6W6Wzd969KNTvIfEDBlmTMFIr0 vWDdVBWl1YGa4ePgmHynjCM5X5JVkBwRWKwEqw+5yF5wfkqdxu6i4qW6uFbVdOJ6 imVinqbwaQP5bqx+7Ln3svLEhLaCwSvd0KVR2fqc/y8SEigc8ryqiAsirYnVRYD/ yk8mRm3PdQafbUJoilOooKzIf/7CbA+URj7QkpLBZr5y2BMW2rXFnIQgXFUEJ6Js bsUSMF31Vz2KZqD0N7RxFi0QHH5nawLY9ZSUWwWisldfmu2KsSuaDv73HAzp5ofu w5R1bYazLIem61Uiak+TwEQHTZxM9tbFOqtcrruIcKf0iCOZicregpb/ROXtpZPi ZMuy82ZpEI1V6lRqKonoa1bqoZJvk9q6Xz8KT/jRjSgeZanOZSZ+I1U2kWEfHx0c c9UngdJhIMWTZuuBPKC7fhd4MH/F1J76dIHeusybvv0FXiZ2BttTX2Iv55M8V6Mr XfyXBUxrcyPnEOrkjT4sklPe3pUbpEx8AJfx2Ac27LEN/MNGT2I= =/PtU -----END PGP SIGNATURE----- --4fkv3lqg7o4odp2d--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200419224713.xaxvnuo334v6bhtj>