]> git.baikalelectronics.ru Git - kernel.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)
commit8d941addaa0c6c7661fdd3e9b9ec71e1b71c75d8
tree9d5333412d49a452500b34601c5b097d544a718a
parentde4a9b575275ddb5b1ee1d6e8008d274a27acc35
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