From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] kvm: bios: Put AP boot up code to 0x1000 Date: Thu, 31 Jul 2008 09:41:04 +0300 Message-ID: <48915E80.8010406@qumranet.com> References: <200807311043.20880.sheng.yang@intel.com> <200807311400.11644.sheng.yang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: "Yang, Sheng" Return-path: Received: from il.qumranet.com ([212.179.150.194]:39832 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752603AbYGaGlH (ORCPT ); Thu, 31 Jul 2008 02:41:07 -0400 In-Reply-To: <200807311400.11644.sheng.yang@intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Yang, Sheng wrote: > On Thursday 31 July 2008 10:43:20 Yang, Sheng wrote: > >> From ba05b3c821400127074f65ee4d172fabbe3524cd Mon Sep 17 00:00:00 >> 2001 From: Sheng Yang >> Date: Thu, 31 Jul 2008 10:39:24 +0800 >> Subject: [PATCH] kvm: bios: Put AP boot up code to 0x1000 >> >> Rather than 0x10000, which can be overrided by userspace program >> like grub. >> How about 0xex000? And avoid copying the bios to low memory? Gleb tried it and it worked. We'd have to change qemu to mark the memory as RAM, not ROM, but that's what real hardware does as well (shadowing the ROM into RAM). -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.