aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/lguest
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-07-22 01:09:49 -0400
committerRusty Russell <rusty@rustcorp.com.au>2011-07-22 01:09:49 -0400
commit7e1941444f808d8001aa3b63588150c516321a3c (patch)
tree67facf903ab16a623ac49695c36d23a1226bf9cd /arch/x86/lguest
parent5dea1c88ed11a1221581c4b202f053c4fc138704 (diff)
lguest: remove remaining vmcall
We switch back from using vmcall in 091ebf07a2408f9a56634caa0f86d9360e9af23b because it was unreliable under kvm, but I missed one (rarely-used) place. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/x86/lguest')
-rw-r--r--arch/x86/lguest/i386_head.S8
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/x86/lguest/i386_head.S b/arch/x86/lguest/i386_head.S
index 863b03a9fbf..c8c95e575c1 100644
--- a/arch/x86/lguest/i386_head.S
+++ b/arch/x86/lguest/i386_head.S
@@ -101,12 +101,8 @@ send_interrupts:
101 */ 101 */
102 pushl %eax 102 pushl %eax
103 movl $LHCALL_SEND_INTERRUPTS, %eax 103 movl $LHCALL_SEND_INTERRUPTS, %eax
104 /* 104 /* This is the actual hypercall trap. */
105 * This is a vmcall instruction (same thing that KVM uses). Older 105 int $LGUEST_TRAP_ENTRY
106 * assembler versions might not know the "vmcall" instruction, so we
107 * create one manually here.
108 */
109 .byte 0x0f,0x01,0xc1 /* KVM_HYPERCALL */
110 /* Put eax back the way we found it. */ 106 /* Put eax back the way we found it. */
111 popl %eax 107 popl %eax
112 ret 108 ret