KVM: Fix faults during injection of real-mode interrupts
authorAvi Kivity <avi@qumranet.com>
Thu, 22 Nov 2007 09:42:59 +0000 (11:42 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:01 +0000 (17:53 +0200)
commit9c8cba3761d4741cfd53ecc40604fac01f52128a
tree40d65ea2a0f000ebff9ce803bc2515c814bf1750
parent1155f76a8166ae6fc88e7d73eb6817eb9012d476
KVM: Fix faults during injection of real-mode interrupts

If vmx fails to inject a real-mode interrupt while fetching the interrupt
redirection table, it fails to record this in the vectoring information
field.  So we detect this condition and do it ourselves.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/vmx.c