KVM: x86: check for cr3 validity in mmu_alloc_roots
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 12 May 2009 21:55:45 +0000 (18:55 -0300)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:55 +0000 (11:48 +0300)
Verify the cr3 address stored in vcpu->arch.cr3 points to an existant
memslot. If not, inject a triple fault.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found