From owner-freebsd-virtualization@freebsd.org Thu Apr 13 07:09:56 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9184FD3CAD9 for ; Thu, 13 Apr 2017 07:09:56 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 55DAF36E for ; Thu, 13 Apr 2017 07:09:55 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id EF23720ACE28 for ; Thu, 13 Apr 2017 17:09:47 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id E9DB52809CC for ; Thu, 13 Apr 2017 17:09:47 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ymNwf4htKANX for ; Thu, 13 Apr 2017 17:09:47 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 48E4A280900; Thu, 13 Apr 2017 17:09:45 +1000 (AEST) Subject: Re: dos in bhyve To: Andriy Gapon References: <30abb88b-0c86-2dd6-902b-ee0867ce380d@FreeBSD.org> From: Peter Grehan Cc: freebsd-virtualization@FreeBSD.org Message-ID: Date: Thu, 13 Apr 2017 00:09:44 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <30abb88b-0c86-2dd6-902b-ee0867ce380d@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=XKlAcUpE c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=IkcTkHD0fZMA:10 a=AzvcPWV-tVgA:10 a=AW4lfzagKc0yYdLjPe4A:9 a=QEXdDO2ut3YA:10 wl=host:3 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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: Thu, 13 Apr 2017 07:09:56 -0000 Hi Andriy, > I wonder if anyone was able to run any DOS variant in bhyve. I've run vm86 mode in Linux but that doesn't really count :) > I tried FreeDOS using BHYVE_UEFI_CSM firmware, but it seems to just hang. Try looking at the CSM/BIOS debug output that is available on the bvmcons debug port (use bhyve's "-b" option, though you'll want to send serial port output to somewhere other than stdout (e.g an nmdm port). That will at least show what BIOS calls are being issued, and if any are unimplemented. > I also tried adding a frame buffer device, it seems that there is some reaction > to key presses (RET) sent via VNC, but the screen stays black, so it's > impossible to tell if there are any prompts and what happens. The VGA renderer hasn't been hooked up in this mode yet (fbuf,vga=on). I can work with you offline to get that going. later, Peter.