fre, 27 03 2009 kl. 10:22 +1030, skrev Rusty Russell:> From: Matias Zabaljauregui <zabaljauregui@xxxxxxxxx>> > Impact: cleanup> > This patch allow us to use KVM hypercalls Something has broken in relation to this change. I'm not sure it is thischange itself or one following, but I get the following error when usinglguest: lguest: unhandled trap 6 at 0x418726 (0x0) > +static bool is_hypercall(struct lg_cpu *cpu)> +{> + u8 insn[3];> +> + /* This must be the Guest kernel trying to do something.> + * The bottom two bits of the CS segment register are the privilege> + * level. */> + if ((cpu->regs->cs & 3) != GUEST_PL)> + return false;> +> + /* Is it a vmcall? */> + __lgread(cpu, insn, guest_pa(cpu, cpu->regs->eip), sizeof(insn)); I've put a printk for insn here that shows up twice. The first time insnholds the values below, and the second time it holds the values that arepatched in by rewrite_hypercall. > + return insn[0] == 0x0f && insn[1] == 0x01 && insn[2] == 0xc1;> +} I'll investigate further tomorrow, unless someone is already on top ofthis. My kernel is 2.6.29-07100-g833bb30 btw. Simon Holm Thøgersen _______________________________________________Virtualization mailing listVirtualization@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx://lists.linux-foundation.org/mailman/listinfo/virtualization