public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Cristi Magherusan <Cristi.Magherusan@net.utcluj.ro>
Cc: kvm@vger.kernel.org
Subject: Re: Custom BIOS supported size
Date: Mon, 04 May 2009 17:31:43 +0300	[thread overview]
Message-ID: <49FEFC4F.4090109@redhat.com> (raw)
In-Reply-To: <1241446175.30017.35.camel@hyperion>

Cristi Magherusan wrote:
> On Mon, 2009-05-04 at 16:48 +0300, Avi Kivity wrote:
>   
>> Cristi Magherusan wrote:
>>     
>>> Hello,
>>>
>>> Which is the maximum size supported for a custom BIOS image(eg.
>>> coreboot-based)? I tried some 256K coreboot BIOS images and seemed to
>>> work fine, but it blowed up with a 3MB image (which by the way works on
>>> qemu just fine). 
>>>   
>>>       
>> 256K is the maximum with kvm.  It can easily be increased, but we need a 
>> small kernel change on Intel to store the real-mode TSS.
>>
>>
>>     
> Hi Avi,
>
> Thanks for your answer. What would be the upper bound up to which we can
> extend it? May I somehow help in getting this done?
>   

I don't know all the places; check the setup code in hw/pc.c.  Also look 
at the call to KVM_SET_TSS_ADDR and move it somewhere where it won't 
clash (right now it's at 4GB-256K).


-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


      reply	other threads:[~2009-05-04 14:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-03 21:08 Custom BIOS supported size Cristi Magherusan
2009-05-04 13:48 ` Avi Kivity
2009-05-04 14:09   ` Cristi Magherusan
2009-05-04 14:31     ` Avi Kivity [this message]

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=49FEFC4F.4090109@redhat.com \
    --to=avi@redhat.com \
    --cc=Cristi.Magherusan@net.utcluj.ro \
    --cc=kvm@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox