From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Date: Thu, 11 Sep 2008 16:13:27 +0000 Subject: Re: TARGET_PAGE_BITS Message-Id: <1221149607.7349.38.camel@lappy> List-Id: References: <48C939E2.7060802@calindasoftware.com> In-Reply-To: <48C939E2.7060802@calindasoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: kvm-ia64@vger.kernel.org On Thu, 2008-09-11 at 17:31 +0200, S=C3=A9bastien Bassompierre wrote: > Hi, >=20 > I'm trying to use KVM (74) on an ia64 server with the kernel 2.6.26 as=20 > recommanded. Everything is ok about compilation, installation. > But, when i'm trying to boot a guest, i got this error : Error! Host=20 > page size !=3D qemu target page size, you may need to change=20 > 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 --=20 Alex Williamson HP Open Source & Linux Org.