From owner-freebsd-virtualization@freebsd.org Fri Jul 19 15:41:05 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0508FA5B95 for ; Fri, 19 Jul 2019 15:41:05 +0000 (UTC) (envelope-from henrik@gulbra.net) Received: from srv.gulbra.net (ec2-174-129-193-206.compute-1.amazonaws.com [174.129.193.206]) by mx1.freebsd.org (Postfix) with ESMTP id 7DCDA73278 for ; Fri, 19 Jul 2019 15:41:04 +0000 (UTC) (envelope-from henrik@gulbra.net) Received: from srv.gulbra.net (localhost [127.0.0.1]) by srv.gulbra.net (Postfix) with ESMTP id 49203144 for ; Fri, 19 Jul 2019 15:41:03 +0000 (UTC) Received: by srv.gulbra.net (Postfix, from userid 33) id 1A07D149; Fri, 19 Jul 2019 15:41:03 +0000 (UTC) To: FreeBSD Virtualization Subject: Re: New video BIOS for bhyve X-PHP-Originating-Script: 0:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 19 Jul 2019 17:41:03 +0200 From: Henrik Gulbrandsen In-Reply-To: References: Message-ID: <0fdcfd552f08bb1b135a45a79a6e91b4@www.gulbra.net> X-Sender: henrik@gulbra.net User-Agent: Roundcube Webmail/1.2-beta X-Rspamd-Queue-Id: 7DCDA73278 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-0.56 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.94)[-0.935,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; HAS_X_POS(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; DMARC_NA(0.00)[gulbra.net]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; AUTH_NA(1.00)[]; RCVD_COUNT_THREE(0.00)[3]; PHP_SCRIPT_ROOT(1.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: srv.gulbra.net]; NEURAL_HAM_SHORT(-0.46)[-0.461,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14618, ipnet:174.129.0.0/16, country:US]; IP_SCORE(-0.66)[asn: 14618(-3.25), country: US(-0.05)]; MID_RHS_WWW(0.50)[] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 19 Jul 2019 15:41:05 -0000 On 2019-07-19 16:43, Matthew Grooms wrote: >> There was already a video BIOS with dormant support for VGA, but I >> could >> not use that, because the X11 int10 module runs a real-mode x86 >> emulator >> that aborts when it tries to enter the C code running in protected >> mode. > > I wonder if this could be related to your CPU not supporting > unrestricted guest mode? I know it's required for some bhyve > functionality. No, the int10 module runs the BIOS code on a software CPU. Protected mode is simply not implemented. > Are you maintaining your changes in a public repo somewhere? Not at the moment. Without distributed version control, I figured the version history would be lost anyway, so I simply took daily snapshots of the main BIOS file. The remaining changes are mostly small things. /Henrik