On Fri, 2009-01-16 at 15:51 +0800, Liu Yu wrote:
> 
> I still want to fixup guest memory size at certain alignment boundary,
> so that KVM can handle the mmu easily.

How about "ram_size &= ~(256<<20)" then?

The code that you copied is more complicated because it's trying to fill
in SDRAM banks which can only support a small range of fixed sizes.
Since you don't have that problem, I think you should simplify.

> Anyway, seems I should put them all into hw/ppce500_mpc85xx.c.

Yup.

-- 
Hollis Blanchard
IBM Linux Technology Center

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to