]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: x86 emulator: Add IRET instruction
authorMohammed Gamal <m.gamal005@gmail.com>
Wed, 28 Jul 2010 09:38:40 +0000 (12:38 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:05 +0000 (10:50 +0200)
commit62bd430e6d41ac84ff2fb719f5783c3692718f47
treed4f956bb6e12a9a76d5aa724dbe12a34c7f6c4ed
parent7a190667bb316653cbb782fff95cfdfcf51ded45
KVM: x86 emulator: Add IRET instruction

Ths patch adds IRET instruction (opcode 0xcf).
Currently, only IRET in real mode is emulated. Protected mode support is to be added later if needed.

Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com>
Reviewed-by: Avi Kivity <avi@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c