KVM: Don't assign vcpu->cr3 if it's invalid: check first, set last
commitfb764416492a1204c20fdf4507019012d27bd1a2
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 31 Jul 2007 10:45:03 +0000 (31 20:45 +1000)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:22 +0000 (13 10:18 +0200)
treef20613a42ae71afd741b65a0e544d865acda9c12
parent002c7f7c32a6123f0894d7d579ffae8e98911830
KVM: Don't assign vcpu->cr3 if it's invalid: check first, set last

sSigned-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm_main.c