xenserver/win-xenguestagent — pull request #3 by benchalmers (2013-09-02 15:43:26+00:00)
Title: [CP-5322] Add a new feature to set guest hostname via the guest agent

Feature is present if control/feature-setcomputername=1

To set the default name write 'set' to control/setcomputername/action

To set a non-default name write the name to control/setcomputername/name

The response appears in control/setcomputername/state

control/setcomputername/error may contain additional error information

control/setcomputername/state should be removed if you do not intend to
reboot the VM to initiate a name change

(note: this sets the DNS name, which may be up to 64 characters, the
NETBIOS name can only be up to 15 characters, and will be truncated
if the hostname exceeds this)

Signed-off-by: Ben Chalmers