KVM: rseq: Update rseq when processing NOTIFY_RESUME on xfer to KVM guest
[linux-2.6-microblaze.git] / kernel / entry / kvm.c
index 49972ee..049fd06 100644 (file)
@@ -19,8 +19,10 @@ static int xfer_to_guest_mode_work(struct kvm_vcpu *vcpu, unsigned long ti_work)
                if (ti_work & _TIF_NEED_RESCHED)
                        schedule();
 
-               if (ti_work & _TIF_NOTIFY_RESUME)
+               if (ti_work & _TIF_NOTIFY_RESUME) {
                        tracehook_notify_resume(NULL);
+                       rseq_handle_notify_resume(NULL, NULL);
+               }
 
                ret = arch_xfer_to_guest_mode_handle_work(vcpu, ti_work);
                if (ret)