golang/xenlight: fix calls to libxl_domain_unpause/pause
authorNick Rosbrook <rosbrookn@ainfosec.com>
Tue, 22 Oct 2019 14:06:59 +0000 (15:06 +0100)
committerGeorge Dunlap <george.dunlap@citrix.com>
Tue, 22 Oct 2019 14:06:59 +0000 (15:06 +0100)
commit228a0255c68723a4e999b5c45c75763bf7722434
treebd8abf8065b0ca765afbb7a257ad00e3ba776551
parent59d03d28b2bb2fb819db2c1fa2e8dc4f650d3894
golang/xenlight: fix calls to libxl_domain_unpause/pause

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>
tools/golang/xenlight/xenlight.go