public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v3 0/4] Real mode interrupt injection
@ 2010-08-15 21:46 Mohammed Gamal
  2010-08-15 21:47 ` [RFC PATCH v3 1/4] x86 emulator: Expose emulate_int_real() Mohammed Gamal
                   ` (5 more replies)
  0 siblings, 6 replies; 17+ messages in thread
From: Mohammed Gamal @ 2010-08-15 21:46 UTC (permalink / raw)
  To: avi; +Cc: kvm, mtosatti, Mohammed Gamal

This patch introduces real mode interrupt injection for VMX.
It currently invokes the x86 emulator to emulate interrupts
instead of manually setting VMX controls.

Needless to say, this is not meant for merging in its current state.
The emulator still needs some more work to get this completely operational.

Mohammed Gamal (4):
  x86 emulator: Expose emulate_int_real()
  x86: Separate emulation context initialization in a separate function
  x86: Add kvm_inject_realmode_interrupt() wrapper
  VMX: Emulated real mode interrupt injection

 arch/x86/include/asm/kvm_emulate.h |    3 +-
 arch/x86/kvm/vmx.c                 |   65 +++----------------------------
 arch/x86/kvm/x86.c                 |   75 ++++++++++++++++++++++--------------
 arch/x86/kvm/x86.h                 |    1 +
 4 files changed, 55 insertions(+), 89 deletions(-)
---
Changes since v2:
- Refactored emulation context initialization code
- Commit eip value from the decode cache to the emulation context in x86.c rather than the emulator
- Add kvm_* prefix to inject_realmode_interrupt() global symbol for consistency

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2010-08-16 15:43 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-15 21:46 [RFC PATCH v3 0/4] Real mode interrupt injection Mohammed Gamal
2010-08-15 21:47 ` [RFC PATCH v3 1/4] x86 emulator: Expose emulate_int_real() Mohammed Gamal
2010-08-15 21:47 ` [RFC PATCH v3 2/4] x86: Separate emulation context initialization in a separate function Mohammed Gamal
2010-08-15 21:47 ` [RFC PATCH v3 3/4] x86: Add kvm_inject_realmode_interrupt() wrapper Mohammed Gamal
2010-08-15 21:47 ` [RFC PATCH v3 4/4] VMX: Emulated real mode interrupt injection Mohammed Gamal
2010-08-15 23:37 ` [RFC PATCH v3 0/4] Real " Mohammed Gamal
2010-08-16  8:51   ` Avi Kivity
2010-08-16 13:19   ` Avi Kivity
2010-08-16 13:28     ` Mohammed Gamal
2010-08-16 14:16       ` Avi Kivity
2010-08-16 14:29         ` Gleb Natapov
2010-08-16 14:47           ` Avi Kivity
2010-08-16 15:23             ` Mohammed Gamal
2010-08-16 15:31               ` Gleb Natapov
2010-08-16 15:33                 ` Avi Kivity
2010-08-16 15:43                 ` Mohammed Gamal
2010-08-16 10:14 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox