Re: [RESEND PATCH 2/3] kvm, tdp: calculate correct base gfn fornon-DIR level

From: Avi Kivity
Date: Wed May 26 2010 - 06:15:54 EST


On 05/26/2010 11:48 AM, Lai Jiangshan wrote:
In Document/kvm/mmu.txt:
gfn:
Either the guest page table containing the translations shadowed by this
page, or the base page frame for linear translations. See role.direct.

But in __direct_map(), the base gfn calculation is incorrect,
it does not calculate correctly when level=3 or 4.

Applied, thanks.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/