WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] Destroy VTI domain would cause Xen crashing in late

To: Alex Williamson <alex.williamson@xxxxxx>
Subject: Re: [Xen-ia64-devel] Destroy VTI domain would cause Xen crashing in latest changeset 15557
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Wed, 11 Jul 2007 11:27:09 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 10 Jul 2007 19:25:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1184118820.13469.29.camel@bling>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <094BCE01AFBE9646AF220B0B3F367AAB01E5B5E6@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1184118820.13469.29.camel@bling>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
It seems that commenting out the following line will fix.
But I haven't confirmed/tested it.

in vmx_init.c
static void vmx_release_assist_channel(struct vcpu *v)
{
-        free_xen_event_channel(v, v->arch.arch_vmx.xen_port);
+        //free_xen_event_channel(v, v->arch.arch_vmx.xen_port);
}

See also in xen/arch/x86/hvm/hvm.c
void hvm_vcpu_destroy(struct vcpu *v)
{
    vlapic_destroy(v);
    hvm_funcs.vcpu_destroy(v);

    /* Event channel is already freed by evtchn_destroy(). */
    /*free_xen_event_channel(v, v->arch.hvm_vcpu.xen_port);*/
}

and common/domain.c
void domain_kill(struct domain *d)
...
    evtchn_destroy(d);
    gnttab_release_mappings(d);
    domain_relinquish_resources(d);
        ...
        => calls vmx_reelase_assist_channel()

thanks,


On Tue, Jul 10, 2007 at 07:53:40PM -0600, Alex Williamson wrote:
> On Wed, 2007-07-11 at 09:06 +0800, You, Yongkang wrote:
> > Hi Alex and all,
> > 
> >  
> > 
> > Our nightly testing system report last night testing met Xen crashing.
> > The problem changeset would before 15556. I think the issue was
> > brought in by 32 side’s codes. 
> 
>    Yes, I saw the same problem.  I filed bugzilla 1021 for it:
> 
> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1021
> 
> This changeset looked like a likely candidate for where it might have
> broken:
> 
> http://xenbits.xensource.com/xen-unstable.hg?rev/9fa9346e1c70
> 
> Hopefully someone can debug and submit a fix.  Thanks,
> 
>       Alex
> 
> -- 
> Alex Williamson                             HP Open Source & Linux Org.
> 
> 
> _______________________________________________
> Xen-ia64-devel mailing list
> Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-ia64-devel
> 

-- 
yamahata

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