ia64/xen-unstable

changeset 16339:e1cc10766f15

[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@jp.fujitsu.com>
author Alex Williamson <alex.williamson@hp.com>
date Wed Nov 07 10:53:41 2007 -0700 (2007-11-07)
parents 303ac8ec2359
children ef6415fdaf8a
files xen/arch/ia64/vmx/vlsapic.c
line diff
     1.1 --- a/xen/arch/ia64/vmx/vlsapic.c	Wed Nov 07 10:45:35 2007 -0700
     1.2 +++ b/xen/arch/ia64/vmx/vlsapic.c	Wed Nov 07 10:53:41 2007 -0700
     1.3 @@ -523,8 +523,11 @@ void guest_write_eoi(VCPU *vcpu)
     1.4      int vec;
     1.5  
     1.6      vec = highest_inservice_irq(vcpu);
     1.7 -    if ( vec == NULL_VECTOR ) 
     1.8 -        panic_domain(vcpu_regs(vcpu), "Wrong vector to EOI\n");
     1.9 +    if (vec == NULL_VECTOR) {
    1.10 +        gdprintk(XENLOG_WARNING, "vcpu(%d): Wrong vector to EOI\n",
    1.11 +                 vcpu->vcpu_id);
    1.12 +        return;
    1.13 +    }
    1.14      VLSAPIC_INSVC(vcpu,vec>>6) &= ~(1UL <<(vec&63));
    1.15      VCPU(vcpu, eoi)=0;    // overwrite the data
    1.16      vcpu->arch.irq_new_pending=1;