TARGET_PAGE_BITS
Sébastien Bassompierre
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
Quoted 10 lines · Sébastien Bassompierre
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_BITSin qemu!host page size:0x4000.
I looked for how to change this value, i findqemu/target-ia64/cpu.hbut 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
Signature · 1 line
Alex Williamson HP Open Source & Linux Org.
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Alex" = Alex Williamson <[email protected]> writes:
Alex> On Thu, 2008-09-11 at 17:31 +0200, S�ébastien Bassompierre
Quoted 7 lines · Alex> wrote:
Quoted 7 lines
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_BITSin qemu!host page size:0x4000. I looked for how to change this value, i findqemu/target-ia64/cpu.hbut 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