From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH] kvm: bios: Put AP boot up code to 0x1000 Date: Fri, 01 Aug 2008 08:49:14 -0700 Message-ID: <4893307A.5000605@zytor.com> References: <200807311043.20880.sheng.yang@intel.com> <200807311400.11644.sheng.yang@intel.com> <48915E80.8010406@qumranet.com> <200807311709.29198.sheng.yang@intel.com> <489189E0.8070804@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "Yang, Sheng" , kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from terminus.zytor.com ([198.137.202.10]:41659 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754975AbYHAPtT (ORCPT ); Fri, 1 Aug 2008 11:49:19 -0400 In-Reply-To: <489189E0.8070804@qumranet.com> Sender: kvm-owner@vger.kernel.org List-ID: Avi Kivity wrote: > > IIRC the rombios32.c writes to the memory it is in, so it expects RAM, > not ROM. > > kvm doesn't support ROM, so it would work. Qemu doesn't, so it would fail. > You can specify either RAM or ROM in Qemu, but you have to edit the C code. If you need RAM in the low 640K, your choices are roughly 0x300..0x340 or in the EBDA. -hpa