KVM: Add a special exit reason when exiting due to an interrupt
authorAvi Kivity <avi@qumranet.com>
Sun, 4 Mar 2007 12:24:03 +0000 (14:24 +0200)
committerAvi Kivity <avi@qumranet.com>
Thu, 3 May 2007 07:52:24 +0000 (10:52 +0300)
commit1b19f3e61d7e1edb395dd64bf7d63621a37af8ca
tree52d90cc6e505f84ec741770950f4f07be45b7fba
parent8eb7d334bd8e693340ee198280f7d45035cdab8c
KVM: Add a special exit reason when exiting due to an interrupt

This is redundant, as we also return -EINTR from the ioctl, but it
allows us to examine the exit_reason field on resume without seeing
old data.

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