summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorRoedel, Joerg <Joerg.Roedel@amd.com>2011-04-20 15:33:16 +0200
committerAvi Kivity <avi@redhat.com>2011-05-22 08:39:26 -0400
commita78484c60e35555d6e0e5b1eb83d4913621c59fb (patch)
treeca0c7ec1e95aa3b6087ae0191a19fa1e0d4ca6b0 /virt
parent13db70eca62c5bbb2cbbf6b23dadb94065d363d1 (diff)
downloadlinux-3.10-a78484c60e35555d6e0e5b1eb83d4913621c59fb.tar.gz
linux-3.10-a78484c60e35555d6e0e5b1eb83d4913621c59fb.tar.bz2
linux-3.10-a78484c60e35555d6e0e5b1eb83d4913621c59fb.zip
KVM: MMU: Make cmpxchg_gpte aware of nesting too
This patch makes the cmpxchg_gpte() function aware of the difference between l1-gfns and l2-gfns when nested virtualization is in use. This fixes a potential data-corruption problem in the l1-guest and makes the code work correct (at least as correct as the hardware which is emulated in this code) again. Cc: stable@kernel.org Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions