]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
KVM: Fix bogus sign extension in mmu mapping audit
authorAvi Kivity <avi@qumranet.com>
Thu, 8 Mar 2007 09:48:09 +0000 (11:48 +0200)
committerAvi Kivity <avi@qumranet.com>
Thu, 3 May 2007 07:52:23 +0000 (10:52 +0300)
commit1ea252afcd4b264b71d9c3f55358ff5ba4c04f1b
tree44573dbf1be2e7e688774b420cfd00ec2c4b7f7d
parentff42697436ddf5bd026e2cb4f117656b967f0709
KVM: Fix bogus sign extension in mmu mapping audit

When auditing a 32-bit guest on a 64-bit host, sign extension of the page
table directory pointer table index caused bogus addresses to be shown on
audit errors.

Fix by declaring the index unsigned.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/mmu.c