projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
KVM: nSVM: always restore the L1's GIF on migration
[linux-2.6-microblaze.git]
/
arch
/
x86
/
kvm
/
svm
/
nested.c
diff --git
a/arch/x86/kvm/svm/nested.c
b/arch/x86/kvm/svm/nested.c
index
32400cb
..
b331446
100644
(file)
--- a/
arch/x86/kvm/svm/nested.c
+++ b/
arch/x86/kvm/svm/nested.c
@@
-1314,6
+1314,8
@@
static int svm_set_nested_state(struct kvm_vcpu *vcpu,
else
svm->nested.vmcb02.ptr->save = svm->vmcb01.ptr->save;
+ svm_set_gif(svm, !!(kvm_state->flags & KVM_STATE_NESTED_GIF_SET));
+
svm->nested.nested_run_pending =
!!(kvm_state->flags & KVM_STATE_NESTED_RUN_PENDING);