From nobody Tue Jan 23 00:24:15 2024 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TJns410srz58W6q for ; Tue, 23 Jan 2024 00:24:24 +0000 (UTC) (envelope-from SRS0=ABrc=JB=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TJns34kK2z4rKV for ; Tue, 23 Jan 2024 00:24:23 +0000 (UTC) (envelope-from SRS0=ABrc=JB=freebsd.org=grehan@iredmail.onthenet.com.au) Authentication-Results: mx1.freebsd.org; none Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 2038A20B4993 for ; Tue, 23 Jan 2024 10:24:17 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 125332114209 for ; Tue, 23 Jan 2024 10:24:17 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nt.com.au; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:references:to:content-language:subject:subject :user-agent:mime-version:date:date:message-id; s=dkim; t= 1705969456; x=1708561457; bh=YsOm4TaZ9b9sa/Tsk2ER5NYebjBTT3AJYiG EfLE9VI8=; b=oD+A+ZwLNQRQtqWNGT25hkJrUSvrcbpeAWNXgWhnO6Dz/XLqN41 f/g2d0j9ZF6rk4Fi/ix66vR9Q5/RgIAIiznb8cvVRYpB59hQpuabSK3IkxbB/nUV pgpbQmjoClnrFJGlRIeImWBMUjW0kDxod2ffrIz5Jl3oTk9CvlVwx/I0= Received: from iredmail.onthenet.com.au ([127.0.0.1]) by iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 7aU3KvAkJpIi for ; Tue, 23 Jan 2024 10:24:16 +1000 (AEST) Received: from [172.16.70.38] (101.219.233.220.static.exetel.com.au [220.233.219.101]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id C982D21141EF; Tue, 23 Jan 2024 10:24:16 +1000 (AEST) Message-ID: <8db5b5fe-301b-4286-9d5d-4db7d1522a65@freebsd.org> Date: Tue, 23 Jan 2024 10:24:15 +1000 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bhyve without UEFI questions Content-Language: en-US To: Chuck Tuffli Cc: John Baldwin , freebsd-virtualization@freebsd.org References: From: Peter Grehan In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=SvcLFMG0 c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=3eqqusxH9O5DcGs+YRGXDA==:17 a=IkcTkHD0fZMA:10 a=dEuoMetlWLkA:10 a=tuFHBWiEV7YMaD-AnLoA:9 a=QEXdDO2ut3YA:10 X-Rspamd-Queue-Id: 4TJns34kK2z4rKV X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:9313, ipnet:203.13.68.0/24, country:AU] Hi Chuck, > I'm getting conflicting information and thought I'd ask here about > guest disk images without UEFI. > > 1. If bhyve can boot the image with uefi-csm, should I be able to get > a graphical console? I tried: > -s 6:0,fbuf,tcp=0.0.0.0:5900,vga=io > VNC connects, but the screen is blank. I saw some mentions of vga=on, > but that generates an error message. The BIOS emulation in the EFI CSM code only implements a small subset of VGA calls - it may be possible that the bootloader for your guest goes outside of that. > 2. Instead of using uefi-csm, can bhyve boot SeaBIOS? I've tried -l > bootrom,/tmp/seabios/out/bios.bin but I'm not sure that is working. I have heard of some work on SeaBIOS, but afaik those efforts never quite got it to work. It wants to see h/w that looks like what Qemu provides. later, Peter.