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-devel

Re: [Xen-devel] [PATCH] ioemu: unmap INTx interrupt on hot-remove

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] ioemu: unmap INTx interrupt on hot-remove
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Mon, 30 Mar 2009 08:44:51 +1100
Cc: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Delivery-date: Sun, 29 Mar 2009 14:45:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C5F244C9.50E6%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <EADF0A36011179459010BDF5142A45750FA9777C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C5F244C9.50E6%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Fri, Mar 27, 2009 at 08:54:33AM +0000, Keir Fraser wrote:
> On 27/03/2009 07:29, "Cui, Dexuan" <dexuan.cui@xxxxxxxxx> wrote:
> 
> >>  +char mapped_machine_irq[PT_NR_IRQS] = {0};
> > My understanding is:
> > This does ensure all the elements of the array are 0, no matter the array is
> > global or local. Because in C99's  6.7.8 Initialization, we can find
> 
> Dexuan is correct. If you specify an incomplete initializer, the unspecified
> data values default to zero.

Thanks, I wasn't aware of that.

-- 
Simon Horman
  VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
  H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en


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