These functions require a third argument of type const *libxl_asyncop_how.
Pass nil to fix compilation errors. This will have the effect of
performing these operations synchronously.
Signed-off-by: Nick Rosbrook <rosbrookn@ainfosec.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
return
}
- ret := C.libxl_domain_unpause(Ctx.ctx, C.uint32_t(Id))
+ ret := C.libxl_domain_unpause(Ctx.ctx, C.uint32_t(Id), nil)
if ret != 0 {
err = Error(-ret)
return
}
- ret := C.libxl_domain_pause(Ctx.ctx, C.uint32_t(id))
+ ret := C.libxl_domain_pause(Ctx.ctx, C.uint32_t(id), nil)
if ret != 0 {
err = Error(-ret)