summaryrefslogtreecommitdiffstats
path: root/lib/bug.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-12-28 12:09:07 +0200
committerAvi Kivity <avi@redhat.com>2010-12-29 12:35:29 +0200
commit649497d1a3676020802ebba04a3d9bb31253adb5 (patch)
treed413537c05b9cc23cc0725d0aeaa7bb37ae81407 /lib/bug.c
parent0a59228168d3722b71f8e3dbc623316fb4be78f4 (diff)
downloadblackbird-op-linux-649497d1a3676020802ebba04a3d9bb31253adb5.tar.gz
blackbird-op-linux-649497d1a3676020802ebba04a3d9bb31253adb5.zip
KVM: MMU: Fix incorrect direct gfn for unpaged mode shadow
We use the physical address instead of the base gfn for the four PAE page directories we use in unpaged mode. When the guest accesses an address above 1GB that is backed by a large host page, a BUG_ON() in kvm_mmu_set_gfn() triggers. Resolves: https://bugzilla.kernel.org/show_bug.cgi?id=21962 Reported-and-tested-by: Nicolas Prochazka <prochazka.nicolas@gmail.com> KVM-Stable-Tag. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud