qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Fix the compatibility typedef of ioservid_t to match the Xen headers
@ 2015-07-07 13:32 Paul Durrant
  2015-07-08 14:06 ` Michael S. Tsirkin
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Durrant @ 2015-07-07 13:32 UTC (permalink / raw)
  To: qemu-devel, xen-devel, Michael S . Tsirkin
  Cc: Paul Durrant, Stefano Stabellini

There is a mismatch between the definition of ioservid_t in
xen_common.h and the definition in the Xen publix headers. This patch
corrects the definition in xen_common.h.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
---
 include/hw/xen/xen_common.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/hw/xen/xen_common.h b/include/hw/xen/xen_common.h
index 38f29fb..ed5fd3e 100644
--- a/include/hw/xen/xen_common.h
+++ b/include/hw/xen/xen_common.h
@@ -195,7 +195,7 @@ static inline int xen_get_vmport_regs_pfn(XenXC xc, domid_t dom,
 
 #define IOREQ_TYPE_PCI_CONFIG 2
 
-typedef uint32_t ioservid_t;
+typedef uint16_t ioservid_t;
 
 static inline void xen_map_memory_section(XenXC xc, domid_t dom,
                                           ioservid_t ioservid,
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] Fix the compatibility typedef of ioservid_t to match the Xen headers
  2015-07-07 13:32 [Qemu-devel] [PATCH] Fix the compatibility typedef of ioservid_t to match the Xen headers Paul Durrant
@ 2015-07-08 14:06 ` Michael S. Tsirkin
  2015-07-08 15:47   ` Peter Maydell
  0 siblings, 1 reply; 3+ messages in thread
From: Michael S. Tsirkin @ 2015-07-08 14:06 UTC (permalink / raw)
  To: Paul Durrant; +Cc: xen-devel, qemu-devel, Stefano Stabellini

On Tue, Jul 07, 2015 at 02:32:38PM +0100, Paul Durrant wrote:
> There is a mismatch between the definition of ioservid_t in
> xen_common.h and the definition in the Xen publix headers. This patch
> corrects the definition in xen_common.h.
> 
> Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
> Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>

Tested-by: Michael S. Tsirkin <mst@redhat.com>

> ---
>  include/hw/xen/xen_common.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/hw/xen/xen_common.h b/include/hw/xen/xen_common.h
> index 38f29fb..ed5fd3e 100644
> --- a/include/hw/xen/xen_common.h
> +++ b/include/hw/xen/xen_common.h
> @@ -195,7 +195,7 @@ static inline int xen_get_vmport_regs_pfn(XenXC xc, domid_t dom,
>  
>  #define IOREQ_TYPE_PCI_CONFIG 2
>  
> -typedef uint32_t ioservid_t;
> +typedef uint16_t ioservid_t;
>  
>  static inline void xen_map_memory_section(XenXC xc, domid_t dom,
>                                            ioservid_t ioservid,
> -- 
> 1.7.10.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] Fix the compatibility typedef of ioservid_t to match the Xen headers
  2015-07-08 14:06 ` Michael S. Tsirkin
@ 2015-07-08 15:47   ` Peter Maydell
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2015-07-08 15:47 UTC (permalink / raw)
  To: Michael S. Tsirkin
  Cc: xen-devel, Paul Durrant, QEMU Developers, Stefano Stabellini

On 8 July 2015 at 15:06, Michael S. Tsirkin <mst@redhat.com> wrote:
> On Tue, Jul 07, 2015 at 02:32:38PM +0100, Paul Durrant wrote:
>> There is a mismatch between the definition of ioservid_t in
>> xen_common.h and the definition in the Xen publix headers. This patch
>> corrects the definition in xen_common.h.
>>
>> Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
>> Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
>
> Tested-by: Michael S. Tsirkin <mst@redhat.com>


Applied to master, thanks.

-- PMM

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-08 15:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-07 13:32 [Qemu-devel] [PATCH] Fix the compatibility typedef of ioservid_t to match the Xen headers Paul Durrant
2015-07-08 14:06 ` Michael S. Tsirkin
2015-07-08 15:47   ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).