[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: [Qemu-devel] [PATCH V11 13/15] xen: Initialize event channels and io rings


  • To: Alexander Graf <agraf@xxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.