Trim trailing whitespace.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Use a consistent indentation style.

For want of a better standard, use the Xen prefered style.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Correct sementics of syslog() calls.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Make use of /proc/self/

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Fix typo in branding for XCP 1.6 docs

Signed-off-by: John Else <john.else@citrix.com>
CA-98753: Correct ha_restart_priority for VMs imported on post-6.0.0

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
CA-99728: Spelling errors.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
Don't log every readonly API call.

This causes the periodic SR.scans to produce a lot less log spam - these
lines make up about 20% of xensource.log at the moment if there is an SR
being autoscanned.

Signed-off-by: John Else <john.else@citrix.com>
Remove debugging.

This line gets logged three times for each SR.scan (to both
/var/log/xensource.log and /var/log/messages), and the information is
already available in the SM.features field in the DB.

Signed-off-by: John Else <john.else@citrix.com>
Remove unused module imports

Signed-off-by: John Else <john.else@citrix.com>
Merge pull request #1043 from johnelse/docs-typo

Fix typo in branding for XCP 1.6 docs
Merge pull request #1034 from andyhhp/xenguest-misc-v2

Xenguest misc v2
Merge pull request #1047 from johnelse/sr-scan-logging

Remove some spammy logging associated with SR.scan
Merge pull request #1041 from siddharthv/CA-98753

CA-98753: Correct ha_restart_priority for VMs imported on post-6.0.0
Merge pull request #1045 from konstantinchr/CA-99728

CA-99728: Spelling errors.