summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/alternative-asm.h
diff options
context:
space:
mode:
authorMohammed Gamal <m.gamal005@gmail.com>2010-08-04 05:44:24 +0300
committerAvi Kivity <avi@redhat.com>2010-10-24 10:50:59 +0200
commit160ce1f1a8fe64b3e2686ae73fbf051ccfe7c7ef (patch)
treed77a95e2e7e28a5df2520fd904109fbc996f95f0 /arch/x86/include/asm/alternative-asm.h
parentd3ad6243293d92c82530a50c77d71bb0a0a42fdc (diff)
KVM: x86 emulator: Allow accessing IDT via emulator ops
The patch adds a new member get_idt() to x86_emulate_ops. It also adds a function to get the idt in order to be used by the emulator. This is needed for real mode interrupt injection and the emulation of int instructions. Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/alternative-asm.h')
0 files changed, 0 insertions, 0 deletions