On 03/13/2011 05:19 PM, Takuya Yoshikawa wrote:
From: Takuya Yoshikawa<yoshikawa.takuya@xxxxxxxxxxxxx> PUSH ES/CS/SS/DS/FS/GS and POP ES/SS/DS/FS/GS are converted. +static int em_push_es(struct x86_emulate_ctxt *ctxt) +{ + emulate_push_sreg(ctxt, ctxt->ops, VCPU_SREG_ES); + return X86EMUL_CONTINUE; +}
I thought of adding generic sreg decoding, so we can use em_push()/em_pop() here. It can be done later, though, and really there's no huge advantage here.
-- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html