/* One two-line function is worth a 20% hypercall speed boost!  */
static void rewrite_hypercall(struct lg_cpu *cpu)
/* One two-line function is worth a 20% hypercall speed boost!  */
static void rewrite_hypercall(struct lg_cpu *cpu)
{
	u8 insn[3] = {0xcd, 0x1f, 0x90};
	__lgwrite(cpu, guest_pa(cpu, cpu->regs->eip), insn, sizeof(insn));
	guest_pagetable_clear_all(cpu);
}