Home
last modified time | relevance | path

Searched hist:e6e39f0438bc4b0da9334ca42337775c7a00db21 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/x86/kvm/
H A Demulate.cdiff e6e39f0438bc4b0da9334ca42337775c7a00db21 Thu Apr 17 19:35:10 CDT 2014 Nadav Amit <namit@cs.technion.ac.il> KVM: x86: IN instruction emulation should ignore REP-prefix

The IN instruction is not be affected by REP-prefix as INS is. Therefore, the
emulation should ignore the REP prefix as well. The current emulator
implementation tries to perform writeback when IN instruction with REP-prefix
is emulated. This causes it to perform wrong memory write or spurious #GP
exception to be injected to the guest.

Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>