From: Avi Kivity <avi@qumranet.com>
To: "Yang, Sheng" <sheng.yang@intel.com>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH] kvm: bios: Put AP boot up code to 0x1000
Date: Thu, 31 Jul 2008 12:46:08 +0300 [thread overview]
Message-ID: <489189E0.8070804@qumranet.com> (raw)
In-Reply-To: <200807311709.29198.sheng.yang@intel.com>
Yang, Sheng wrote:
> On Thursday 31 July 2008 14:41:04 Avi Kivity wrote:
>
>> 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 <sheng.yang@intel.com>
>>>> 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).
>>
>
> I tried 0xea000, and it's fine. But avoid copying is better.
>
> But I don't understand the RAM/ROM issue in qemu here...
>
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.
> And do you mean you have patch on hand now? :)
>
>
No, but maybe Gleb does.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2008-07-31 9:46 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-31 2:43 [PATCH] kvm: bios: Put AP boot up code to 0x1000 Yang, Sheng
2008-07-31 6:00 ` Yang, Sheng
2008-07-31 6:41 ` Avi Kivity
2008-07-31 9:09 ` Yang, Sheng
2008-07-31 9:46 ` Avi Kivity [this message]
2008-08-01 15:49 ` H. Peter Anvin
2008-07-31 21:15 ` Sebastian Herbszt
2008-08-01 1:19 ` Yang, Sheng
2008-08-02 19:30 ` Sebastian Herbszt
2008-08-05 8:14 ` Yang, Sheng
2008-08-06 21:56 ` Sebastian Herbszt
2008-08-10 7:50 ` Avi Kivity
2008-08-13 23:00 ` Sebastian Herbszt
2008-08-14 6:08 ` Avi Kivity
2008-08-17 22:35 ` [PATCH] kvm: bios: end AP boot code execution in rombios Sebastian Herbszt
2008-08-18 2:33 ` Anthony Liguori
2008-08-18 2:45 ` Yang, Sheng
2008-08-18 10:21 ` Avi Kivity
2008-08-18 10:22 ` Avi Kivity
2008-08-19 23:06 ` Sebastian Herbszt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=489189E0.8070804@qumranet.com \
--to=avi@qumranet.com \
--cc=kvm@vger.kernel.org \
--cc=sheng.yang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.