qemu-devel
[Top][All Lists]
Advanced

[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


From: Anthony PERARD
Subject: Re: [Xen-devel] Re: [Qemu-devel] [PATCH V11 13/15] xen: Initialize event channels and io rings
Date: Mon, 28 Mar 2011 17:30:13 +0100

On Wed, Mar 23, 2011 at 12:36, Alexander Graf <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]