* [Xen-devel] [PATCH] golang/xenlight: Fix libxl_domain_shutdown and libxl_domain_reboot as well
@ 2019-10-23 16:23 George Dunlap
2019-10-24 8:05 ` Jürgen Groß
0 siblings, 1 reply; 2+ messages in thread
From: George Dunlap @ 2019-10-23 16:23 UTC (permalink / raw)
To: xen-devel; +Cc: Nick Rosbrook, Juergen Gross, George Dunlap
Both are now potentially asynchronous; pass in 'nil' to retain
synchronous behavior.
Signed-off-by: George Dunlap <george.dunlap@citrix.com>
---
Release justification: This is a bug fix for 4.13.
CC: Nick Rosbrook <rosbrookn@ainfosec.com>
CC: Juergen Gross <jgross@suse.com>
---
tools/golang/xenlight/xenlight.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/golang/xenlight/xenlight.go b/tools/golang/xenlight/xenlight.go
index 59b8186a64..902cbb839e 100644
--- a/tools/golang/xenlight/xenlight.go
+++ b/tools/golang/xenlight/xenlight.go
@@ -1041,7 +1041,7 @@ func (Ctx *Context) DomainShutdown(id Domid) (err error) {
return
}
- ret := C.libxl_domain_shutdown(Ctx.ctx, C.uint32_t(id))
+ ret := C.libxl_domain_shutdown(Ctx.ctx, C.uint32_t(id), nil)
if ret != 0 {
err = Error(-ret)
@@ -1056,7 +1056,7 @@ func (Ctx *Context) DomainReboot(id Domid) (err error) {
return
}
- ret := C.libxl_domain_reboot(Ctx.ctx, C.uint32_t(id))
+ ret := C.libxl_domain_reboot(Ctx.ctx, C.uint32_t(id), nil)
if ret != 0 {
err = Error(-ret)
--
2.23.0
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Xen-devel] [PATCH] golang/xenlight: Fix libxl_domain_shutdown and libxl_domain_reboot as well
2019-10-23 16:23 [Xen-devel] [PATCH] golang/xenlight: Fix libxl_domain_shutdown and libxl_domain_reboot as well George Dunlap
@ 2019-10-24 8:05 ` Jürgen Groß
0 siblings, 0 replies; 2+ messages in thread
From: Jürgen Groß @ 2019-10-24 8:05 UTC (permalink / raw)
To: George Dunlap, xen-devel; +Cc: Nick Rosbrook
On 23.10.19 18:23, George Dunlap wrote:
> Both are now potentially asynchronous; pass in 'nil' to retain
> synchronous behavior.
>
> Signed-off-by: George Dunlap <george.dunlap@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
Juergen
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-24 8:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-23 16:23 [Xen-devel] [PATCH] golang/xenlight: Fix libxl_domain_shutdown and libxl_domain_reboot as well George Dunlap
2019-10-24 8:05 ` Jürgen Groß
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.