Do not leave out bytes if the number read is odd, which can happen if the file is smaller than the buffer used.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
it's obvious what it is. The Session's uuid will be deprecated from the API bindings.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
prevent exceptions being thrown when the record is an invalid xml. Minor logging
improvements; improvement to certain rethrown exceptions so we don't disturb the
stack trace. Removed unecessary field initialisation and duplicate iscsi session
disposal.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
leftover from the time when the OVF wizards were a XenCenter plugin; the latter
was not printing output into the XenCenter.log file, thus causing us to miss info).
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>