diff options
author | Avi Kivity <avi@qumranet.com> | 2007-11-08 18:19:20 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 17:53:00 +0200 |
commit | 9c5623e3e42e94927d02a6693875badf15692970 (patch) | |
tree | 74ea5711aa9884aa5bee97282c52c32659aca53a /drivers/kvm/x86_emulate.c | |
parent | 12264760e46077a65c1240ac0b27dfa34b402158 (diff) |
KVM: VMX: Use vmx to inject real-mode interrupts
Instead of injecting real-mode interrupts by writing the interrupt frame into
guest memory, abuse vmx by injecting a software interrupt. We need to
pretend the software interrupt instruction had a length > 0, so we have to
adjust rip backward.
This lets us not to mess with writing guest memory, which is complex and also
sleeps.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/x86_emulate.c')
0 files changed, 0 insertions, 0 deletions