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

[Xen-ia64-devel] Bug in domain.c:construct_dom0()

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] Bug in domain.c:construct_dom0()
From: Haavard Bjerke <havard.bjerke@xxxxxxx>
Date: Fri, 3 Jun 2005 17:42:34 +0200
Delivery-date: Fri, 03 Jun 2005 15:41:46 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4i
In construct_dom0(), the variable d->event_channel[0].state is changed from 1 
to 0, and this shouldn't happen.

This happens in these lines:

/* Mask all upcalls... */
for ( i = 0; i < MAX_VIRT_CPUS; i++ )
    d->shared_info->vcpu_data[i].evtchn_upcall_mask = 1;


Adding this line before and after will show that d->event_channel[0].state is 
changed:

printk("construct_dom0(): domain_id: %d, port: %d, state %d\n", d->domain_id, 
0, d->event_channel[0].state);

Note that I haven't pulled for a while, but I will do that shortly and notify 
if things are better.

Håvard

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

<Prev in Thread] Current Thread [Next in Thread>