xenlight: remove stale debug comments

Comments like these should have never made it upstream... :o)

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
xenlight: set the network-backend when plugging a VIF

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
xenlight: don't attempt to destroy stubdoms in VM.destroy

Xenlight will do this for us.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
xenlight: replace many calls to Xenctrl with ones to Xenlight

The remaining Xenctrl calls (other than those in DEBUG) require corresponding
libxl ocaml bindings to be written, or require new functionality to be added to
libxl itself (shadow_allocation_{get,set}). The remaining Xenctrl calls have
been marked with comments describing this state of affairs.

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
xenlight: remove separate Domain module

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
xenlight: raise Unimplemented in VM.s3{suspend,resume}

The necessary functions are not yet present in libxl (at least, I could not
find them).

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
xenlight: replace Xenctrl.domain_setmaxmem with xenlight equivalent

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
xenlight: remove unused files

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
xenlight: eliminate most of device.ml

The only things left in device.ml that is needed are to do with vncterm and
some Vbd-related functions. The latter will be removed in a further patch.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
xenlight: switch *_vbd_frontend functions to libxl

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
xenlight: remove more of device.ml

The only stuff left in device.ml right now is to do with consoles (vncterm). We
can probably factor this out a bit more, or move away from vncterm altogether,
at some point.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
xenlight: make the choice of storage backend (qdisk or phy) configurable

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
xenlight: make the choice of QEMU version (upstream or traditional) configurable

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Merge pull request #15 from robhoes/misc

Lots of cleanup work in the xenlight backend