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>
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)
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)