All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] golang/xenlight: Fixing compilation for go 1.11
@ 2019-04-18  1:52 ` Daniel P. Smith
  0 siblings, 0 replies; 15+ messages in thread
From: Daniel P. Smith @ 2019-04-18  1:52 UTC (permalink / raw)
  To: xen-devel; +Cc: George Dunlap

This deals with two casting issues for compiling under go 1.11:
- explicitly cast to *C.xentoollog_logger for Ctx.logger pointer
- add cast to unsafe.Pointer for the C string cpath

Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
---
 tools/golang/xenlight/xenlight.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/golang/xenlight/xenlight.go b/tools/golang/xenlight/xenlight.go
index 9c37e59ec0..47bb27a0f9 100644
--- a/tools/golang/xenlight/xenlight.go
+++ b/tools/golang/xenlight/xenlight.go
@@ -854,7 +854,7 @@ func (Ctx *Context) Open() (err error) {
 	}
 
 	ret := C.libxl_ctx_alloc(&Ctx.ctx, C.LIBXL_VERSION,
-		0, unsafe.Pointer(Ctx.logger))
+		0, (*C.xentoollog_logger)(unsafe.Pointer(Ctx.logger)))
 
 	if ret != 0 {
 		err = Error(-ret)
@@ -869,7 +869,7 @@ func (Ctx *Context) Close() (err error) {
 	if ret != 0 {
 		err = Error(-ret)
 	}
-	C.xtl_logger_destroy(unsafe.Pointer(Ctx.logger))
+	C.xtl_logger_destroy((*C.xentoollog_logger)(unsafe.Pointer(Ctx.logger)))
 	return
 }
 
@@ -1170,7 +1170,7 @@ func (Ctx *Context) ConsoleGetTty(id Domid, consNum int, conType ConsoleType) (p
 		err = Error(-ret)
 		return
 	}
-	defer C.free(cpath)
+	defer C.free(unsafe.Pointer(cpath))
 
 	path = C.GoString(cpath)
 	return
@@ -1190,7 +1190,7 @@ func (Ctx *Context) PrimaryConsoleGetTty(domid uint32) (path string, err error)
 		err = Error(-ret)
 		return
 	}
-	defer C.free(cpath)
+	defer C.free(unsafe.Pointer(cpath))
 
 	path = C.GoString(cpath)
 	return
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* [Xen-devel] [PATCH] golang/xenlight: Fixing compilation for go 1.11
@ 2019-04-18  1:52 ` Daniel P. Smith
  0 siblings, 0 replies; 15+ messages in thread
From: Daniel P. Smith @ 2019-04-18  1:52 UTC (permalink / raw)
  To: xen-devel; +Cc: George Dunlap

This deals with two casting issues for compiling under go 1.11:
- explicitly cast to *C.xentoollog_logger for Ctx.logger pointer
- add cast to unsafe.Pointer for the C string cpath

Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
---
 tools/golang/xenlight/xenlight.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/golang/xenlight/xenlight.go b/tools/golang/xenlight/xenlight.go
index 9c37e59ec0..47bb27a0f9 100644
--- a/tools/golang/xenlight/xenlight.go
+++ b/tools/golang/xenlight/xenlight.go
@@ -854,7 +854,7 @@ func (Ctx *Context) Open() (err error) {
 	}
 
 	ret := C.libxl_ctx_alloc(&Ctx.ctx, C.LIBXL_VERSION,
-		0, unsafe.Pointer(Ctx.logger))
+		0, (*C.xentoollog_logger)(unsafe.Pointer(Ctx.logger)))
 
 	if ret != 0 {
 		err = Error(-ret)
@@ -869,7 +869,7 @@ func (Ctx *Context) Close() (err error) {
 	if ret != 0 {
 		err = Error(-ret)
 	}
-	C.xtl_logger_destroy(unsafe.Pointer(Ctx.logger))
+	C.xtl_logger_destroy((*C.xentoollog_logger)(unsafe.Pointer(Ctx.logger)))
 	return
 }
 
@@ -1170,7 +1170,7 @@ func (Ctx *Context) ConsoleGetTty(id Domid, consNum int, conType ConsoleType) (p
 		err = Error(-ret)
 		return
 	}
-	defer C.free(cpath)
+	defer C.free(unsafe.Pointer(cpath))
 
 	path = C.GoString(cpath)
 	return
@@ -1190,7 +1190,7 @@ func (Ctx *Context) PrimaryConsoleGetTty(domid uint32) (path string, err error)
 		err = Error(-ret)
 		return
 	}
-	defer C.free(cpath)
+	defer C.free(unsafe.Pointer(cpath))
 
 	path = C.GoString(cpath)
 	return
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* Re: [PATCH] golang/xenlight: Fixing compilation for go 1.11
@ 2019-04-18 13:11   ` George Dunlap
  0 siblings, 0 replies; 15+ messages in thread
From: George Dunlap @ 2019-04-18 13:11 UTC (permalink / raw)
  To: Daniel P. Smith, xen-devel; +Cc: George Dunlap, Jan Beulich

On 4/18/19 2:52 AM, Daniel P. Smith wrote:
> This deals with two casting issues for compiling under go 1.11:
> - explicitly cast to *C.xentoollog_logger for Ctx.logger pointer
> - add cast to unsafe.Pointer for the C string cpath
> 
> Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>

Reviewed-by: George Dunlap <george.dunlap@citrix.com>

BTW, do you know if this will compile for older versions of go?

This should be considered for backport as well (cc'ing Jan).

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* Re: [Xen-devel] [PATCH] golang/xenlight: Fixing compilation for go 1.11
@ 2019-04-18 13:11   ` George Dunlap
  0 siblings, 0 replies; 15+ messages in thread
From: George Dunlap @ 2019-04-18 13:11 UTC (permalink / raw)
  To: Daniel P. Smith, xen-devel; +Cc: George Dunlap, Jan Beulich

On 4/18/19 2:52 AM, Daniel P. Smith wrote:
> This deals with two casting issues for compiling under go 1.11:
> - explicitly cast to *C.xentoollog_logger for Ctx.logger pointer
> - add cast to unsafe.Pointer for the C string cpath
> 
> Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>

Reviewed-by: George Dunlap <george.dunlap@citrix.com>

BTW, do you know if this will compile for older versions of go?

This should be considered for backport as well (cc'ing Jan).

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* Re: [PATCH] golang/xenlight: Fixing compilation for go 1.11
@ 2019-04-20 23:27     ` Daniel P. Smith
  0 siblings, 0 replies; 15+ messages in thread
From: Daniel P. Smith @ 2019-04-20 23:27 UTC (permalink / raw)
  To: George Dunlap, xen-devel; +Cc: George Dunlap, Jan Beulich

On 4/18/19 9:11 AM, George Dunlap wrote:
> On 4/18/19 2:52 AM, Daniel P. Smith wrote:
>> This deals with two casting issues for compiling under go 1.11:
>> - explicitly cast to *C.xentoollog_logger for Ctx.logger pointer
>> - add cast to unsafe.Pointer for the C string cpath
>>
>> Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
> 
> Reviewed-by: George Dunlap <george.dunlap@citrix.com>
> 
> BTW, do you know if this will compile for older versions of go?

Per the suggestion on IRC, I did a test compile with golang 1.10.8 as
the version available with Ubuntu 18.04 was 1.10.1. Since this matters,
the environment was setup with Xen 4.12 tools. If there are additional
variations you would like to see, please let me know as I am using a
docker container setup for reproducible build environments and should be
able to spin up different variations fairly easily.

> This should be considered for backport as well (cc'ing Jan).
> 

Ack and thank you.

V/r,
Daniel P. Smith

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* Re: [Xen-devel] [PATCH] golang/xenlight: Fixing compilation for go 1.11
@ 2019-04-20 23:27     ` Daniel P. Smith
  0 siblings, 0 replies; 15+ messages in thread
From: Daniel P. Smith @ 2019-04-20 23:27 UTC (permalink / raw)
  To: George Dunlap, xen-devel; +Cc: George Dunlap, Jan Beulich

On 4/18/19 9:11 AM, George Dunlap wrote:
> On 4/18/19 2:52 AM, Daniel P. Smith wrote:
>> This deals with two casting issues for compiling under go 1.11:
>> - explicitly cast to *C.xentoollog_logger for Ctx.logger pointer
>> - add cast to unsafe.Pointer for the C string cpath
>>
>> Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
> 
> Reviewed-by: George Dunlap <george.dunlap@citrix.com>
> 
> BTW, do you know if this will compile for older versions of go?

Per the suggestion on IRC, I did a test compile with golang 1.10.8 as
the version available with Ubuntu 18.04 was 1.10.1. Since this matters,
the environment was setup with Xen 4.12 tools. If there are additional
variations you would like to see, please let me know as I am using a
docker container setup for reproducible build environments and should be
able to spin up different variations fairly easily.

> This should be considered for backport as well (cc'ing Jan).
> 

Ack and thank you.

V/r,
Daniel P. Smith

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* Re: [PATCH] golang/xenlight: Fixing compilation for go 1.11
@ 2019-04-22 13:47       ` Pasi Kärkkäinen
  0 siblings, 0 replies; 15+ messages in thread
From: Pasi Kärkkäinen @ 2019-04-22 13:47 UTC (permalink / raw)
  To: Daniel P. Smith; +Cc: George Dunlap, xen-devel, George Dunlap, Jan Beulich

On Sat, Apr 20, 2019 at 07:27:55PM -0400, Daniel P. Smith wrote:
> On 4/18/19 9:11 AM, George Dunlap wrote:
> > On 4/18/19 2:52 AM, Daniel P. Smith wrote:
> >> This deals with two casting issues for compiling under go 1.11:
> >> - explicitly cast to *C.xentoollog_logger for Ctx.logger pointer
> >> - add cast to unsafe.Pointer for the C string cpath
> >>
> >> Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
> > 
> > Reviewed-by: George Dunlap <george.dunlap@citrix.com>
> > 
> > BTW, do you know if this will compile for older versions of go?
> 
> Per the suggestion on IRC, I did a test compile with golang 1.10.8 as
> the version available with Ubuntu 18.04 was 1.10.1. Since this matters,
> the environment was setup with Xen 4.12 tools. If there are additional
> variations you would like to see, please let me know as I am using a
> docker container setup for reproducible build environments and should be
> able to spin up different variations fairly easily.
>

Ubuntu 16.04 LTS seems to ship golang 1.6 as a default.

CentOS7 used to ship golang 1.9 in CentOS 7.5 and earlier (in extras repo), but currently in CentOS 7.6+ has golang 1.10 (in SCL) and 1.11 (in epel) available.


Thanks,

-- Pasi


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* Re: [Xen-devel] [PATCH] golang/xenlight: Fixing compilation for go 1.11
@ 2019-04-22 13:47       ` Pasi Kärkkäinen
  0 siblings, 0 replies; 15+ messages in thread
From: Pasi Kärkkäinen @ 2019-04-22 13:47 UTC (permalink / raw)
  To: Daniel P. Smith; +Cc: George Dunlap, xen-devel, George Dunlap, Jan Beulich

On Sat, Apr 20, 2019 at 07:27:55PM -0400, Daniel P. Smith wrote:
> On 4/18/19 9:11 AM, George Dunlap wrote:
> > On 4/18/19 2:52 AM, Daniel P. Smith wrote:
> >> This deals with two casting issues for compiling under go 1.11:
> >> - explicitly cast to *C.xentoollog_logger for Ctx.logger pointer
> >> - add cast to unsafe.Pointer for the C string cpath
> >>
> >> Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
> > 
> > Reviewed-by: George Dunlap <george.dunlap@citrix.com>
> > 
> > BTW, do you know if this will compile for older versions of go?
> 
> Per the suggestion on IRC, I did a test compile with golang 1.10.8 as
> the version available with Ubuntu 18.04 was 1.10.1. Since this matters,
> the environment was setup with Xen 4.12 tools. If there are additional
> variations you would like to see, please let me know as I am using a
> docker container setup for reproducible build environments and should be
> able to spin up different variations fairly easily.
>

Ubuntu 16.04 LTS seems to ship golang 1.6 as a default.

CentOS7 used to ship golang 1.9 in CentOS 7.5 and earlier (in extras repo), but currently in CentOS 7.6+ has golang 1.10 (in SCL) and 1.11 (in epel) available.


Thanks,

-- Pasi


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* Re: [PATCH] golang/xenlight: Fixing compilation for go 1.11
@ 2019-04-25 11:40     ` Jan Beulich
  0 siblings, 0 replies; 15+ messages in thread
From: Jan Beulich @ 2019-04-25 11:40 UTC (permalink / raw)
  To: george.dunlap; +Cc: George Dunlap, Daniel P.Smith, Ian Jackson, xen-devel

>>> On 18.04.19 at 15:11, <george.dunlap@citrix.com> wrote:
> On 4/18/19 2:52 AM, Daniel P. Smith wrote:
>> This deals with two casting issues for compiling under go 1.11:
>> - explicitly cast to *C.xentoollog_logger for Ctx.logger pointer
>> - add cast to unsafe.Pointer for the C string cpath
>> 
>> Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
> 
> Reviewed-by: George Dunlap <george.dunlap@citrix.com>
> 
> BTW, do you know if this will compile for older versions of go?
> 
> This should be considered for backport as well (cc'ing Jan).

Did you mean Ian, this being a tools patch?

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* Re: [Xen-devel] [PATCH] golang/xenlight: Fixing compilation for go 1.11
@ 2019-04-25 11:40     ` Jan Beulich
  0 siblings, 0 replies; 15+ messages in thread
From: Jan Beulich @ 2019-04-25 11:40 UTC (permalink / raw)
  To: george.dunlap; +Cc: George Dunlap, Daniel P.Smith, Ian Jackson, xen-devel

>>> On 18.04.19 at 15:11, <george.dunlap@citrix.com> wrote:
> On 4/18/19 2:52 AM, Daniel P. Smith wrote:
>> This deals with two casting issues for compiling under go 1.11:
>> - explicitly cast to *C.xentoollog_logger for Ctx.logger pointer
>> - add cast to unsafe.Pointer for the C string cpath
>> 
>> Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
> 
> Reviewed-by: George Dunlap <george.dunlap@citrix.com>
> 
> BTW, do you know if this will compile for older versions of go?
> 
> This should be considered for backport as well (cc'ing Jan).

Did you mean Ian, this being a tools patch?

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* Re: [PATCH] golang/xenlight: Fixing compilation for go 1.11
@ 2019-04-25 11:41       ` George Dunlap
  0 siblings, 0 replies; 15+ messages in thread
From: George Dunlap @ 2019-04-25 11:41 UTC (permalink / raw)
  To: Jan Beulich; +Cc: George Dunlap, Daniel P.Smith, Ian Jackson, xen-devel

On 4/25/19 12:40 PM, Jan Beulich wrote:
>>>> On 18.04.19 at 15:11, <george.dunlap@citrix.com> wrote:
>> On 4/18/19 2:52 AM, Daniel P. Smith wrote:
>>> This deals with two casting issues for compiling under go 1.11:
>>> - explicitly cast to *C.xentoollog_logger for Ctx.logger pointer
>>> - add cast to unsafe.Pointer for the C string cpath
>>>
>>> Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
>>
>> Reviewed-by: George Dunlap <george.dunlap@citrix.com>
>>
>> BTW, do you know if this will compile for older versions of go?
>>
>> This should be considered for backport as well (cc'ing Jan).
> 
> Did you mean Ian, this being a tools patch?

I guess so.  Sorry, I didn't realize Ian was doing the tools backports.

 -George

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* Re: [Xen-devel] [PATCH] golang/xenlight: Fixing compilation for go 1.11
@ 2019-04-25 11:41       ` George Dunlap
  0 siblings, 0 replies; 15+ messages in thread
From: George Dunlap @ 2019-04-25 11:41 UTC (permalink / raw)
  To: Jan Beulich; +Cc: George Dunlap, Daniel P.Smith, Ian Jackson, xen-devel

On 4/25/19 12:40 PM, Jan Beulich wrote:
>>>> On 18.04.19 at 15:11, <george.dunlap@citrix.com> wrote:
>> On 4/18/19 2:52 AM, Daniel P. Smith wrote:
>>> This deals with two casting issues for compiling under go 1.11:
>>> - explicitly cast to *C.xentoollog_logger for Ctx.logger pointer
>>> - add cast to unsafe.Pointer for the C string cpath
>>>
>>> Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
>>
>> Reviewed-by: George Dunlap <george.dunlap@citrix.com>
>>
>> BTW, do you know if this will compile for older versions of go?
>>
>> This should be considered for backport as well (cc'ing Jan).
> 
> Did you mean Ian, this being a tools patch?

I guess so.  Sorry, I didn't realize Ian was doing the tools backports.

 -George

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* Re: [Xen-devel] [PATCH] golang/xenlight: Fixing compilation for go 1.11
  2019-04-25 11:41       ` [Xen-devel] " George Dunlap
  (?)
@ 2019-07-18 18:26       ` Rich Persaud
  2019-07-18 20:51         ` George Dunlap
  -1 siblings, 1 reply; 15+ messages in thread
From: Rich Persaud @ 2019-07-18 18:26 UTC (permalink / raw)
  To: George Dunlap
  Cc: nicolas.belouin, George Dunlap, Ian Jackson, Daniel P.Smith,
	Jan Beulich, xen-devel

> On Apr 25, 2019, at 07:41, George Dunlap <george.dunlap@citrix.com> wrote:
> 
> On 4/25/19 12:40 PM, Jan Beulich wrote:
>>>>> On 18.04.19 at 15:11, <george.dunlap@citrix.com> wrote:
>>>> On 4/18/19 2:52 AM, Daniel P. Smith wrote:
>>>> This deals with two casting issues for compiling under go 1.11:
>>>> - explicitly cast to *C.xentoollog_logger for Ctx.logger pointer
>>>> - add cast to unsafe.Pointer for the C string cpath
>>>> 
>>>> Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
>>> 
>>> Reviewed-by: George Dunlap <george.dunlap@citrix.com>
>>> 
>>> BTW, do you know if this will compile for older versions of go?
>>> 
>>> This should be considered for backport as well (cc'ing Jan).
>> 
>> Did you mean Ian, this being a tools patch?
> 
> I guess so.  Sorry, I didn't realize Ian was doing the tools backports.
> 
> -George

With the golang tools maintainer change completed, is anything further needed for this patch to be merged?

Rich
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* Re: [Xen-devel] [PATCH] golang/xenlight: Fixing compilation for go 1.11
  2019-07-18 18:26       ` Rich Persaud
@ 2019-07-18 20:51         ` George Dunlap
  2019-07-18 21:06           ` George Dunlap
  0 siblings, 1 reply; 15+ messages in thread
From: George Dunlap @ 2019-07-18 20:51 UTC (permalink / raw)
  To: Rich Persaud
  Cc: nicolas.belouin, George Dunlap, Daniel P.Smith, Jan Beulich,
	xen-devel, Ian Jackson



> On Jul 18, 2019, at 7:26 PM, Rich Persaud <persaur@gmail.com> wrote:
> 
>> On Apr 25, 2019, at 07:41, George Dunlap <george.dunlap@citrix.com> wrote:
>> 
>> On 4/25/19 12:40 PM, Jan Beulich wrote:
>>>>>> On 18.04.19 at 15:11, <george.dunlap@citrix.com> wrote:
>>>>> On 4/18/19 2:52 AM, Daniel P. Smith wrote:
>>>>> This deals with two casting issues for compiling under go 1.11:
>>>>> - explicitly cast to *C.xentoollog_logger for Ctx.logger pointer
>>>>> - add cast to unsafe.Pointer for the C string cpath
>>>>> 
>>>>> Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
>>>> 
>>>> Reviewed-by: George Dunlap <george.dunlap@citrix.com>
>>>> 
>>>> BTW, do you know if this will compile for older versions of go?
>>>> 
>>>> This should be considered for backport as well (cc'ing Jan).
>>> 
>>> Did you mean Ian, this being a tools patch?
>> 
>> I guess so.  Sorry, I didn't realize Ian was doing the tools backports.
>> 
>> -George
> 
> With the golang tools maintainer change completed, is anything further needed for this patch to be merged?

My change to the MAINTAINERS file hasn’t yet been merged; I think it would be good to wait until the tools maintainer (who technically is currently the maintainer) can Ack the patch.

I’ll ping Ian privately to make sure he doesn’t miss it.

 -George
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* Re: [Xen-devel] [PATCH] golang/xenlight: Fixing compilation for go 1.11
  2019-07-18 20:51         ` George Dunlap
@ 2019-07-18 21:06           ` George Dunlap
  0 siblings, 0 replies; 15+ messages in thread
From: George Dunlap @ 2019-07-18 21:06 UTC (permalink / raw)
  To: Rich Persaud
  Cc: Daniel P.Smith, Ian Jackson, nicolas.belouin, Jan Beulich, xen-devel



> On Jul 18, 2019, at 9:51 PM, George Dunlap <George.Dunlap@citrix.com> wrote:
> 
> 
> 
>> On Jul 18, 2019, at 7:26 PM, Rich Persaud <persaur@gmail.com> wrote:
>> 
>>> On Apr 25, 2019, at 07:41, George Dunlap <george.dunlap@citrix.com> wrote:
>>> 
>>> On 4/25/19 12:40 PM, Jan Beulich wrote:
>>>>>>> On 18.04.19 at 15:11, <george.dunlap@citrix.com> wrote:
>>>>>> On 4/18/19 2:52 AM, Daniel P. Smith wrote:
>>>>>> This deals with two casting issues for compiling under go 1.11:
>>>>>> - explicitly cast to *C.xentoollog_logger for Ctx.logger pointer
>>>>>> - add cast to unsafe.Pointer for the C string cpath
>>>>>> 
>>>>>> Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
>>>>> 
>>>>> Reviewed-by: George Dunlap <george.dunlap@citrix.com>
>>>>> 
>>>>> BTW, do you know if this will compile for older versions of go?
>>>>> 
>>>>> This should be considered for backport as well (cc'ing Jan).
>>>> 
>>>> Did you mean Ian, this being a tools patch?
>>> 
>>> I guess so.  Sorry, I didn't realize Ian was doing the tools backports.
>>> 
>>> -George
>> 
>> With the golang tools maintainer change completed, is anything further needed for this patch to be merged?
> 
> My change to the MAINTAINERS file hasn’t yet been merged; I think it would be good to wait until the tools maintainer (who technically is currently the maintainer) can Ack the patch.
> 
> I’ll ping Ian privately to make sure he doesn’t miss it.

OK, he’s acked it privately, so I’ll check that in and then catch these.

 -George

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

end of thread, other threads:[~2019-07-18 21:06 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-18  1:52 [PATCH] golang/xenlight: Fixing compilation for go 1.11 Daniel P. Smith
2019-04-18  1:52 ` [Xen-devel] " Daniel P. Smith
2019-04-18 13:11 ` George Dunlap
2019-04-18 13:11   ` [Xen-devel] " George Dunlap
2019-04-20 23:27   ` Daniel P. Smith
2019-04-20 23:27     ` [Xen-devel] " Daniel P. Smith
2019-04-22 13:47     ` Pasi Kärkkäinen
2019-04-22 13:47       ` [Xen-devel] " Pasi Kärkkäinen
2019-04-25 11:40   ` Jan Beulich
2019-04-25 11:40     ` [Xen-devel] " Jan Beulich
2019-04-25 11:41     ` George Dunlap
2019-04-25 11:41       ` [Xen-devel] " George Dunlap
2019-07-18 18:26       ` Rich Persaud
2019-07-18 20:51         ` George Dunlap
2019-07-18 21:06           ` George Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.