agent: Perform string sanitization on messages

Messages sent via VirtIO are now checked for being presentable
and additionally filtered for invalid characters due to invalid
encodings.

Change-Id: I499a22e1572b55d1a3a4de7ce6f89ebb130861a8
Bug-Url: https://bugzilla.redhat.com/947014
Signed-off-by: Vinzenz Feenstra <vfeenstr@redhat.com>
agent: Include windows files in tar balls

In order to be able providing source tar balls and src zips containing
all possible build targets we're now including all files necessary.
Previously we did not include all files and it was necessary to
checkout the source git repository to be able building windows
targets for the guest agent.
This commit provides the necessary changes to include all necessary
files for building it from source tar balls.

Change-Id: I793b84ac78127593a11ab9894fdbc68fa45d224d
Signed-off-by: Vinzenz Feenstra <vfeenstr@redhat.com>
agent: Windows Guest - ini file lookup

The ini file is now expected to be in the same folder as the service
executable.

Change-Id: I4d1927a429fcb780119f78f8dc05999f3bae9148
Signed-off-by: Vinzenz Feenstra <vfeenstr@redhat.com>
agent: Recommend python 2.7.3 for windows in the README

Change-Id: Ib051c8f8890e70c3382f366f7272c51f9e711162
Signed-off-by: Vinzenz Feenstra <vfeenstr@redhat.com>
agent: avoid failing to get disk stat when deal with gvfs-fuse

gvfs-fuse filesystem prevents other user from stat it. Even root can not
stat other user's gvfs-fuse fs. Stat on it fails then the whole disk
stat function fails.

This patch skips gvfs-fuse related filesystem when collecting disk stat.
Moreover, this patch try..except in a finner per fs granularity, so that
failing on stat one fs does not fails the whole operation.

Change-Id: I69c674904c2ad9cb508c5294591a8ba0813e4238
Signed-off-by: Zhou Zheng Sheng <zhshzhou@linux.vnet.ibm.com>
agent: Ignore usbfs filesystems'

Change-Id: Iee799b05f3c700e8e3912305e2984dad6e049f7d
Bug-Url: https://bugzilla.redhat.com/947792
Signed-off-by: Vinzenz Feenstra <vfeenstr@redhat.com>
agent: Send non-blocking uninstalled notification without python

Remove the inline python script to send the non-blocking uninstalled
message and replace it with echo + dd

Change-Id: I8b2f84d56377ba4ba42ee206966b7b68deae7fc9
Signed-off-by: Vinzenz Feenstra <vfeenstr@redhat.com>
build and install ovirt guest agent on Ubuntu

Change-Id: I7a694bf1f7ff4230bac305dd571899265ef63950
Signed-off-by: Zhou Zheng Sheng <zhshzhou@linux.vnet.ibm.com>