]> git.baikalelectronics.ru Git - kernel.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)
commit0e795f14ff885bd1b78d29e5bd2aace52a82f04f
treed4f956bb6e12a9a76d5aa724dbe12a34c7f6c4ed
parent46e9a4a497997a6e6ac8aeb4922c46b965da342e
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