From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jes Sorensen Date: Fri, 12 Sep 2008 14:08:17 +0000 Subject: Re: TARGET_PAGE_BITS Message-Id: List-Id: References: <48C939E2.7060802@calindasoftware.com> In-Reply-To: <48C939E2.7060802@calindasoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: kvm-ia64@vger.kernel.org >>>>> "Alex" =3D Alex Williamson writes: Alex> On Thu, 2008-09-11 at 17:31 +0200, S=81=E9bastien 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 !=3D 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