Re: [PATCH v2] KVM: emulator: Use linearize() when fetching instructions.

2011-04-20 Thread Avi Kivity
On 04/18/2011 07:05 PM, Nelson Elhage wrote: Since segments need to be handled slightly differently when fetching instructions, we add a __linearize helper that accepts a new 'fetch' boolean. Applied, thanks. -- error compiling committee.c: too many arguments to function -- To unsubscribe

Re: [PATCH v2] KVM: emulator: Use linearize() when fetching instructions.

2011-04-20 Thread Avi Kivity
On 04/18/2011 07:05 PM, Nelson Elhage wrote: Since segments need to be handled slightly differently when fetching instructions, we add a __linearize helper that accepts a new 'fetch' boolean. static int segmented_read_std(struct x86_emulate_ctxt *ctxt, struct

[PATCH v2] KVM: emulator: Use linearize() when fetching instructions.

2011-04-18 Thread Nelson Elhage
Since segments need to be handled slightly differently when fetching instructions, we add a __linearize helper that accepts a new 'fetch' boolean. Signed-off-by: Nelson Elhage nelh...@ksplice.com --- arch/x86/include/asm/kvm_emulate.h |1 - arch/x86/kvm/emulate.c | 26