From 9c5623e3e42e94927d02a6693875badf15692970 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Thu, 8 Nov 2007 18:19:20 +0200 Subject: [PATCH] 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 --- Reading git-format-patch failed