projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5481034
)
[PATCH] kvm: VMX: Reload ds and es even in 64-bit mode
author
Avi Kivity
<avi@qumranet.com>
Mon, 12 Feb 2007 08:54:40 +0000
(
00:54
-0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:40 +0000
(09:48 -0800)
Or 32-bit userspace will get confused.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/kvm/vmx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/kvm/vmx.c
b/drivers/kvm/vmx.c
index e152caa9d9f933345524da51ceb3dbed0430f351..407862825c1f15d074eea9fe874d835db495c0fa 100644
(file)
--- a/
drivers/kvm/vmx.c
+++ b/
drivers/kvm/vmx.c
@@
-1865,9
+1865,7
@@
again:
fx_restore(vcpu->host_fx_image);
vcpu->interrupt_window_open = (vmcs_read32(GUEST_INTERRUPTIBILITY_INFO) & 3) == 0;
-#ifndef CONFIG_X86_64
asm ("mov %0, %%ds; mov %0, %%es" : : "r"(__USER_DS));
-#endif
/*
* Profile KVM exit RIPs: