提交 7e194144 编写于 作者: R Rusty Russell

lguest: remove remaining vmcall

We switch back from using vmcall in 091ebf07
because it was unreliable under kvm, but I missed one (rarely-used) place.
Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
上级 5dea1c88
......@@ -101,12 +101,8 @@ send_interrupts:
*/
pushl %eax
movl $LHCALL_SEND_INTERRUPTS, %eax
/*
* This is a vmcall instruction (same thing that KVM uses). Older
* assembler versions might not know the "vmcall" instruction, so we
* create one manually here.
*/
.byte 0x0f,0x01,0xc1 /* KVM_HYPERCALL */
/* This is the actual hypercall trap. */
int $LGUEST_TRAP_ENTRY
/* Put eax back the way we found it. */
popl %eax
ret
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册