]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: drop unneeded kvm_run check in emulate_instruction()
authorGleb Natapov <gleb@redhat.com>
Sun, 21 Feb 2010 13:00:47 +0000 (15:00 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Apr 2010 09:38:08 +0000 (12:38 +0300)
commit112592da0dc2460c95e8a89d0c5657c6a30286aa
tree9d5333412d49a452500b34601c5b097d544a718a
parent032c3407310c7612db55ab7e1335a21dc2b4690d
KVM: drop unneeded kvm_run check in emulate_instruction()

vcpu->run is initialized on vcpu creation and can never be NULL
here.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c