[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] nestedsvm: fix host crash with pv-on-hvm Linux KVM guest

# HG changeset patch
# User Christoph Egger <Christoph.Egger@xxxxxxx>
# Date 1305187028 -3600
# Node ID 8489494ee490cdf25e4d5132b871216e85c92836
# Parent  6767d92dff1373b476370eeae274a58fa54d73ea
nestedsvm: fix host crash with pv-on-hvm Linux KVM guest

Nested SVM was unaware of the HVM direct vector eventchn mechanism.
Attached patch fixes a host crash when starting a KVM L2 guest on a
pv-on-hvm L1 Linux guest (e.g., HVM Debian Squeeze domU).

Signed-off-by: Uwe Dannowski <Uwe.Dannowski@xxxxxxx>
Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
Acked-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>

diff -r 6767d92dff13 -r 8489494ee490 xen/arch/x86/hvm/svm/nestedsvm.c
--- a/xen/arch/x86/hvm/svm/nestedsvm.c  Thu May 12 08:55:12 2011 +0100
+++ b/xen/arch/x86/hvm/svm/nestedsvm.c  Thu May 12 08:57:08 2011 +0100
@@ -1365,6 +1365,7 @@
     switch (intack.source) {
     case hvm_intsrc_pic:
     case hvm_intsrc_lapic:
+    case hvm_intsrc_vector:
         exitcode = VMEXIT_INTR;
         exitinfo2 = intack.vector;

Xen-changelog mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.