Fix the compatibility typedef of ioservid_t to match the Xen headers
PATCH 1/1 Fix the compatibility typedef of ioservid_t to match the Xen headers
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.
--- include/hw/xen/xen_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/hw/xen/xen_common.h +1 -1
@@ -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,
Signature · 1 line
1.7.10.4
Quoted 6 lines · Paul Durrant
There is a mismatch between the definition of
ioservid_tinxen_common.hand the definition in the Xen publix headers. This patch corrects the definition inxen_common.h.Signed-off-by Paul Durrant <[email protected]>Cc Stefano Stabellini <[email protected]>
Quoted 19 lines
--- include/hw/xen/xen_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/hw/xen/xen_common.h +1
-1@@ -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,Signature · 1 line
1.7.10.4
Quoted 6 lines · Paul Durrant
There is a mismatch between the definition of
ioservid_tinxen_common.hand the definition in the Xen publix headers. This patch corrects the definition inxen_common.h.Signed-off-by Paul Durrant <[email protected]>Cc Stefano Stabellini <[email protected]>
Quoted 19 lines
--- include/hw/xen/xen_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/hw/xen/xen_common.h +1
-1@@ -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,Signature · 1 line
1.7.10.4
Peter Maydell
AppliedQuoted 9 lines · Michael S. Tsirkin
Quoted 6 lines · Paul Durrant
There is a mismatch between the definition of
ioservid_tinxen_common.hand the definition in the Xen publix headers. This patch corrects the definition inxen_common.h.Signed-off-by Paul Durrant <[email protected]>Cc Stefano Stabellini <[email protected]>Tested-by Michael S. Tsirkin <[email protected]>
Applied to master, thanks.
-- PMM
Peter Maydell
AppliedQuoted 9 lines · Michael S. Tsirkin
Quoted 6 lines · Paul Durrant
There is a mismatch between the definition of
ioservid_tinxen_common.hand the definition in the Xen publix headers. This patch corrects the definition inxen_common.h.Signed-off-by Paul Durrant <[email protected]>Cc Stefano Stabellini <[email protected]>Tested-by Michael S. Tsirkin <[email protected]>
Applied to master, thanks.
-- PMM