[PATCH RFC: not fully tested yet] Fix the x86 emulation of in: remove redandancy

2010-02-05 Thread Takuya Yoshikawa
Fix the x86 emulation of in: kvm_emulate_pio() and complete_pio() both read out the RAX register value and copy it to a place into which the value read out from the port will be copied later. This patch removes this redundancy. /*** snippet from arch/x86/kvm/x86.c ***/ int complete_pio(struct kvm

Re: [PATCH RFC: not fully tested yet] Fix the x86 emulation of in: remove redandancy

2010-02-08 Thread Takuya Yoshikawa
Takuya Yoshikawa wrote: Fix the x86 emulation of in: kvm_emulate_pio() and complete_pio() both read out the RAX register value and copy it to a place into which the value read out from the port will be copied later. This patch removes this redundancy. /*** snippet from arch/x86/kvm/x86.c ***/ i

Re: [PATCH RFC: not fully tested yet] Fix the x86 emulation of in: remove redandancy

2010-02-08 Thread Avi Kivity
On 02/05/2010 10:52 AM, Takuya Yoshikawa wrote: Fix the x86 emulation of in: kvm_emulate_pio() and complete_pio() both read out the RAX register value and copy it to a place into which the value read out from the port will be copied later. This patch removes this redundancy. Applied, than