git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72fbefe
)
KVM: VMX: Use kvm_segment to save protected-mode segments when entering realmode
author
Avi Kivity
<avi@redhat.com>
Tue, 21 Aug 2012 14:07:00 +0000
(17:07 +0300)
committer
Marcelo Tosatti
<mtosatti@redhat.com>
Mon, 27 Aug 2012 23:02:19 +0000
(20:02 -0300)
Instead of using struct kvm_save_segment, use struct kvm_segment, which is what
the other APIs use. This leads to some simplification.
We replace save_rmode_seg() with a call to vmx_save_segment(). Since this depends
on rmode.vm86_active, we move the call to before setting the flag.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c
patch
|
blob
|
history
diff --cc
arch/x86/kvm/vmx.c
Simple merge