From owner-soc-status@FreeBSD.ORG Wed Jul 11 07:34:26 2012 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 81E7A106564A for ; Wed, 11 Jul 2012 07:34:26 +0000 (UTC) (envelope-from syuu@dokukino.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 42AE78FC14 for ; Wed, 11 Jul 2012 07:34:26 +0000 (UTC) Received: by obbun3 with SMTP id un3so1464651obb.13 for ; Wed, 11 Jul 2012 00:34:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dokukino.com; s=google; h=mime-version:from:date:message-id:subject:to:content-type; bh=jDDRN5NrPxWLMbUTWoYyjbTYEWy0tl+BC1m/p0FL+AY=; b=q0k5QLzWfO4FQkBQNlm/gUQ1g8B8Rfs09VaPj0yb3EzSHkO7SZOcGno2PDAM0zt/FJ dnqazqZ5g4LyfwO6XnpSP4FjhSH4APB+6He9rWnzqWsAf2AswgrwtdJwTtOHolP9+6gb YVvCCHZZrASqksjCwLMcK0VOMOW7Sio4Kd+kM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :x-gm-message-state; bh=jDDRN5NrPxWLMbUTWoYyjbTYEWy0tl+BC1m/p0FL+AY=; b=hr9nKS7bfx+cFG2FOLat/TNs9XiIJUY/GjabHk8CQfkLzAGOjWXwnk/Tcjrgr1LV0i x5pbRo9hWK2BKov9wygnzJKDWY0bXGYLTkRSk3Tf89zqXQNgfAGV32RrjiY7b7qLm5/S NWr5Tf8l02txmFFV1uvHPZkwj6hwMYz6Vuw7QVvawsl9LABTfo8OOggohMFVzOgSsXgD 5J0391Z5Qq3QiMX9NSgAHpJiGeD4/SmqtaXv+7bg4PiJdhUMdkuY8U9xAWGjwuBlxFxm dul9kB7iG0wEuiPCnzP6lIARa+1QhAh/LJc6Z0Sw0/O45neyRW55XICGMT/nkEnImlbk 9KVw== Received: by 10.60.154.232 with SMTP id vr8mr49309955oeb.30.1341992065610; Wed, 11 Jul 2012 00:34:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.212.2 with HTTP; Wed, 11 Jul 2012 00:33:45 -0700 (PDT) From: Takuya ASADA Date: Wed, 11 Jul 2012 16:33:45 +0900 Message-ID: To: soc-status@freebsd.org, Peter Grehan Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQkOJRBBE65wqchInvDEnbrZvJCDMCpA/fyfxOvy1wYravz6kLLfhOduF2yH/Nly1HLg7PNl Cc: Subject: [status report #7] BHyVe BIOS emulation to boot legacy systems X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 07:34:26 -0000 * project summary The project goal is to support BIOS emulation on BHyVe, enabling boot from disk image. I going to focus booting FreeBSD/amd64 from disk image on this GSoC, but final goal is to make BHyVe able to support more guest OSes. * Testing implementation of BIOS call emulation Implemented following BIOS call: - int=10h Screen - ah=0eh Write Character in TTY Mode - int=13h Disk - ah=00h Reset Disk Drives - ah=02h Read Sectors - ah=08h Get Drive Parameters - ah=41h Extended Disk Drive (EDD) Installation Check - ah=42h Extended Read Sectors - int 16h Keyboard - ah=00h Read Character - ah=01h Read Input Status It's just testing implementation, not totally compatible. For now, 10h and 16h looks like working, but 13h has compatibility issue(FreeBSD MBR couldn't boot because of the issue). Find test code of BIOS call from somewhere or implement it by myself, and porting doscmd BIOS call implementation to improve compatibility would be the next work. svn diff -r238305:239263 https://socsvn.freebsd.org/socsvn/soc2012/syuu/bhyve-bios