This is the golang guest utilities for Citrix Hypervisor
xe-guest-utilities.git/xenstore
xe-guest-utilities.git/xe-daemon
Go development environment is required to build the guest utilities.
Type make
or make build
to build the xenstore and xe-daemon.
- The binarys will be in
build/obj
- In
build/stage
are all required files and where they go when installed. - In
build/dist
is a tarball with all files,symlinks and permissions.
Earliest version that has all required features is 1.10
GOPATH
Go gets librarys from the GOPATH
, so for this to work, you need read/write permissions there.
If in doubt, set GOPATH
to a temporary location, ie: export GOPATH=$(pwd)
sets GOPATH
to the local folder
- external library
This project uses the golang.org/x/sys/unix
library, so you will need to install that:
go get golang.org/x/sys/unix
this will install it and all its dependency's to $GOPATH/src
.
- Get this project
For go to find all files in this project it needs to be in the GOPATH
This is easiest done by just putting it into $GOPATH/src/xe-guest-utilities
git clone https://github.com/xenserver/xe-guest-utilities.git $GOPATH/src/xe-guest-utilities
4 Build
Go into the right directory cd $GOPATH/src/xe-guest-utilities/
now you can make build
or make
.
resulting files are in build/
, same layout as explained above