Convert xeniface to new api code

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>