From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: [PATCH 00 of 11] RFC: hvmloader SeaBIOS integration Date: Tue, 05 Apr 2011 16:46:25 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Ian Campbell List-Id: xen-devel@lists.xenproject.org The following patchset is a WIP/RFC/vagueidea enabling the build of two versions of hvmloader, the first using ROMBIOS and the second using SeaBIOS. This is achieved by compiling hvmloader.c multiple times which required a certain amount of disentanglement and reworking to avoid the need to compile other files more than once. The bulk of the series consists of that work. It's not clear to me that this is preferable to building a single hvmloader which can pollinate a VM with either BIOS. The final patch, which actually adds the SeaBIOS support, includes a slew of ugly #ifdef'ery. Since it is not clear at the moment which of this functionality is not needed with SeaBIOS and which is simply not ready/working/tested yet I didn't put a great deal of effort into refactoring that aspect. It's a great shame that the choice of hvmloader binary was exposed to users through the config file format. We'll have to cross that bridge later I guess...