All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jes Sorensen <jes@sgi.com>
To: kvm-ia64@vger.kernel.org
Subject: Re: TARGET_PAGE_BITS
Date: Fri, 12 Sep 2008 14:08:17 +0000	[thread overview]
Message-ID: <yq0abedihim.fsf@jaguar.mkp.net> (raw)
In-Reply-To: <48C939E2.7060802@calindasoftware.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1252", Size: 1051 bytes --]

>>>>> "Alex" = Alex Williamson <alex.williamson@hp.com> writes:

Alex> On Thu, 2008-09-11 at 17:31 +0200, Sébastien Bassompierre
Alex> wrote:
>> I'm trying to use KVM (74) on an ia64 server with the kernel 2.6.26
>> as recommanded. Everything is ok about compilation, installation.
>> But, when i'm trying to boot a guest, i got this error : Error!
>> Host page size != qemu target page size, you may need to change
>> TARGET_PAGE_BITS in qemu!host page size:0x4000.  I looked for how
>> to change this value, i find qemu/target-ia64/cpu.h but i imagine
>> that isn't the right place.  Any idea ?

Alex> That's where I changed it in my local build tree and it works.
Alex> The default appears to be set to match upstream Linux/ia64
Alex> defconfig, which uses 64k pages.  I don't know why we don't
Alex> detect this automatically at build time.

Actually doing a build time setting of host page size in qemu is
broken, it should be reworked to call getpagesize() but thats probably
going to be a bit more work :-(

Cheers,
Jes

      parent reply	other threads:[~2008-09-12 14:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-11 15:31 TARGET_PAGE_BITS 
2008-09-11 16:13 ` TARGET_PAGE_BITS Alex Williamson
2008-09-12 14:08 ` Jes Sorensen [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=yq0abedihim.fsf@jaguar.mkp.net \
    --to=jes@sgi.com \
    --cc=kvm-ia64@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 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.