]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] KVM: SVM: Propagate cpu shutdown events to userspace
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 26 Jan 2007 08:56:42 +0000 (00:56 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 26 Jan 2007 21:50:57 +0000 (13:50 -0800)
commit46fe4ddd9dbb15305ab9b458e6cfa4dd47ac3e47
treed7a7d0443d519f7de0b6c5157cf610726b4ab0bf
parent73b1087e6176a34c01eea3db269848f72fad72c1
[PATCH] KVM: SVM: Propagate cpu shutdown events to userspace

This patch implements forwarding of SHUTDOWN intercepts from the guest on to
userspace on AMD SVM.  A SHUTDOWN event occurs when the guest produces a
triple fault (e.g.  on reboot).  This also fixes the bug that a guest reboot
actually causes a host reboot under some circumstances.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/kvm/svm.c
include/linux/kvm.h