* TARGET_PAGE_BITS
@ 2008-09-11 15:31
2008-09-11 16:13 ` TARGET_PAGE_BITS Alex Williamson
2008-09-12 14:08 ` TARGET_PAGE_BITS Jes Sorensen
0 siblings, 2 replies; 3+ messages in thread
From: @ 2008-09-11 15:31 UTC (permalink / raw)
To: kvm-ia64
Hi,
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 ?
Thanks for your help (and i would like to apologize for my rude english).
Sebastien
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: TARGET_PAGE_BITS
2008-09-11 15:31 TARGET_PAGE_BITS
@ 2008-09-11 16:13 ` Alex Williamson
2008-09-12 14:08 ` TARGET_PAGE_BITS Jes Sorensen
1 sibling, 0 replies; 3+ messages in thread
From: Alex Williamson @ 2008-09-11 16:13 UTC (permalink / raw)
To: kvm-ia64
On Thu, 2008-09-11 at 17:31 +0200, Sébastien Bassompierre wrote:
> Hi,
>
> 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 ?
That's where I changed it in my local build tree and it works. The
default appears to be set to match upstream Linux/ia64 defconfig, which
uses 64k pages. I don't know why we don't detect this automatically at
build time.
Alex
--
Alex Williamson HP Open Source & Linux Org.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: TARGET_PAGE_BITS
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
1 sibling, 0 replies; 3+ messages in thread
From: Jes Sorensen @ 2008-09-12 14:08 UTC (permalink / raw)
To: kvm-ia64
[-- 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-09-12 14:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-11 15:31 TARGET_PAGE_BITS
2008-09-11 16:13 ` TARGET_PAGE_BITS Alex Williamson
2008-09-12 14:08 ` TARGET_PAGE_BITS Jes Sorensen
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.