Skip to content

Commit 56400b5

Browse files
committed
Merge git://git.kernel.org/pub/scm/virt/kvm/kvm
Pull s390 KVM fix from Gleb Natapov. * git://git.kernel.org/pub/scm/virt/kvm/kvm: s390/kvm: Fix BUG in include/linux/kvm_host.h:745
2 parents aa8b550 + 83987ac commit 56400b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/s390/kvm/kvm-s390.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,9 @@ static int __vcpu_run(struct kvm_vcpu *vcpu)
613613
kvm_s390_deliver_pending_interrupts(vcpu);
614614

615615
vcpu->arch.sie_block->icptcode = 0;
616+
preempt_disable();
616617
kvm_guest_enter();
618+
preempt_enable();
617619
VCPU_EVENT(vcpu, 6, "entering sie flags %x",
618620
atomic_read(&vcpu->arch.sie_block->cpuflags));
619621
trace_kvm_s390_sie_enter(vcpu,

0 commit comments

Comments
 (0)