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] Re: [Qemu-devel] [PATCH V11 13/15] xen: Initialize event

To: Alexander Graf <agraf@xxxxxxx>
Subject: Re: [Xen-devel] Re: [Qemu-devel] [PATCH V11 13/15] xen: Initialize event channels and io rings
From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
Date: Mon, 28 Mar 2011 17:30:13 +0100
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, QEMU-devel <qemu-devel@xxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Delivery-date: Mon, 28 Mar 2011 09:31:20 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=fI6SYd78MMwv12TAqqGjTFuci9MGf2QlhiPQ2I98gsI=; b=xYsIvyuBedbslMOPhYHkvaYB2e7IDiCmtcCEwZD3RAM/X4MCEnlL2xaTDk+JAOC4HM rGeMor5VL1eosQO1WOdRo+rh1VJBQi7NBe+1tEny9K6frfQOry3A0gbTRIt3BgLsHUh4 r00/IJb/bWlxP+CfmBRCsgjQ/OS9qaJ/bXYUI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=cV1aQG18ziCUFPUJtV6/2/EEF1R9epw8q0KvQa+YIqZAP+r+4FGk9HdoRuOzg1DLWl GgBOn1clr+DdAxwBxRRhyZPoRpJ+Q1f504tSQF7jEqzabc5zNGl8hcfR+Z7IPwhcT58p qmD6VxGDT480WOLllyq6v0Zf9o0aEprXd/OeI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <2A1D2D77-64CB-4978-81DF-CD04BA1AD45C@xxxxxxx>
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: <1299004529-31290-1-git-send-email-anthony.perard@xxxxxxxxxx> <1299004529-31290-14-git-send-email-anthony.perard@xxxxxxxxxx> <2A1D2D77-64CB-4978-81DF-CD04BA1AD45C@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Mar 23, 2011 at 12:36, Alexander Graf <agraf@xxxxxxx> wrote:
>> +/* Compatibility with older version */
>> +#if __XEN_LATEST_INTERFACE_VERSION__ < 0x0003020a
>> +#  define xen_vcpu_eport(shared_page, i) \
>> +    (shared_page->vcpu_iodata[i].vp_eport)
>> +#  define xen_vcpu_ioreq(shared_page, vcpu) \
>> +    (shared_page->vcpu_iodata[vcpu].vp_ioreq)
>> +#  define FMT_ioreq_size PRIx64
>> +#else
>> +#  define xen_vcpu_eport(shared_page, i) \
>> +    (shared_page->vcpu_ioreq[i].vp_eport)
>> +#  define xen_vcpu_ioreq(shared_page, vcpu) \
>> +    (shared_page->vcpu_ioreq[vcpu])
>
> Could you please change these to static inline functions?

Yes, I will do that.

Regards,

-- 
Anthony PERARD

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

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