lguest: remove remaining vmcall
We switch back from using vmcall in 091ebf07a2
because it was unreliable under kvm, but I missed one (rarely-used) place.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -101,12 +101,8 @@ send_interrupts:
|
|||||||
*/
|
*/
|
||||||
pushl %eax
|
pushl %eax
|
||||||
movl $LHCALL_SEND_INTERRUPTS, %eax
|
movl $LHCALL_SEND_INTERRUPTS, %eax
|
||||||
/*
|
/* This is the actual hypercall trap. */
|
||||||
* This is a vmcall instruction (same thing that KVM uses). Older
|
int $LGUEST_TRAP_ENTRY
|
||||||
* assembler versions might not know the "vmcall" instruction, so we
|
|
||||||
* create one manually here.
|
|
||||||
*/
|
|
||||||
.byte 0x0f,0x01,0xc1 /* KVM_HYPERCALL */
|
|
||||||
/* Put eax back the way we found it. */
|
/* Put eax back the way we found it. */
|
||||||
popl %eax
|
popl %eax
|
||||||
ret
|
ret
|
||||||
|
Reference in New Issue
Block a user