golang/xenlight: Implement DomainCreateNew
authorGeorge Dunlap <george.dunlap@citrix.com>
Tue, 24 Dec 2019 12:51:56 +0000 (12:51 +0000)
committerGeorge Dunlap <george.dunlap@citrix.com>
Thu, 23 Apr 2020 15:00:15 +0000 (16:00 +0100)
commitaa14feb6723d3bb15a884533ade1cd9732792145
tree595f45fe6429c3a875dc6505497658b929e29624
parenta73964c18e25ec451d5d0fd89e21702817f6b3dd
golang/xenlight: Implement DomainCreateNew

This implements the wrapper around libxl_domain_create_new().  With
the previous changes, it's now possible to create a domain using the
golang bindings (although not yet to unpause it or harvest it after it
shuts down).

Signed-off-by: George Dunlap <george.dunlap@citrix.com>
Reviewed-by: Nick Rosbrook <rosbrookn@ainfosec.com>
tools/golang/xenlight/xenlight.go