Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2017 00:09:44 -0700
From:      Peter Grehan <grehan@freebsd.org>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        freebsd-virtualization@FreeBSD.org
Subject:   Re: dos in bhyve
Message-ID:  <eb24d1cd-8325-85cd-a6ee-7730716e12cc@freebsd.org>
In-Reply-To: <30abb88b-0c86-2dd6-902b-ee0867ce380d@FreeBSD.org>
References:  <30abb88b-0c86-2dd6-902b-ee0867ce380d@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?eb24d1cd-8325-85cd-a6ee-7730716e12cc>