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

[Xen-changelog] [xen-unstable] [IA64] Remove panic_domain in guest_write_eoi() for NULL_VECTOR



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1194458021 25200
# Node ID e1cc10766f15ea6e17c39abf79652ed81233c37b
# Parent  303ac8ec2359a4ef09c6e41da42c064f45bd4ecf
[IA64] Remove panic_domain in guest_write_eoi() for NULL_VECTOR

Triggered attempting kexec of an HVM domain.

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
---
 xen/arch/ia64/vmx/vlsapic.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff -r 303ac8ec2359 -r e1cc10766f15 xen/arch/ia64/vmx/vlsapic.c
--- a/xen/arch/ia64/vmx/vlsapic.c       Wed Nov 07 10:45:35 2007 -0700
+++ b/xen/arch/ia64/vmx/vlsapic.c       Wed Nov 07 10:53:41 2007 -0700
@@ -523,8 +523,11 @@ void guest_write_eoi(VCPU *vcpu)
     int vec;
 
     vec = highest_inservice_irq(vcpu);
-    if ( vec == NULL_VECTOR ) 
-        panic_domain(vcpu_regs(vcpu), "Wrong vector to EOI\n");
+    if (vec == NULL_VECTOR) {
+        gdprintk(XENLOG_WARNING, "vcpu(%d): Wrong vector to EOI\n",
+                 vcpu->vcpu_id);
+        return;
+    }
     VLSAPIC_INSVC(vcpu,vec>>6) &= ~(1UL <<(vec&63));
     VCPU(vcpu, eoi)=0;    // overwrite the data
     vcpu->arch.irq_new_pending=1;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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