projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1390a28
)
KVM: VMX: Save all segment data in real mode
author
Avi Kivity
<avi@redhat.com>
Tue, 21 Aug 2012 14:07:09 +0000
(17:07 +0300)
committer
Marcelo Tosatti
<mtosatti@redhat.com>
Mon, 27 Aug 2012 23:02:21 +0000
(20:02 -0300)
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 --git
a/arch/x86/kvm/vmx.c
b/arch/x86/kvm/vmx.c
index 6e6421aeca03cd76c66172eb279b1ac1969fbc18..62b2d0cf2a7fca533366bd2d9f8b251021f4d387 100644
(file)
--- a/
arch/x86/kvm/vmx.c
+++ b/
arch/x86/kvm/vmx.c
@@
-3216,6
+3216,7
@@
static void vmx_set_segment(struct kvm_vcpu *vcpu,
vmcs_write32(sf->limit, var->limit);
vmcs_write16(sf->selector, var->selector);
if (vmx->rmode.vm86_active && var->s) {
+ vmx->rmode.segs[seg] = *var;
/*
* Hack real-mode segments into vm86 compatibility.
*/