Allow KVM commands to have a timeout
Allow KVM commands to have a timeout

Modify the function that sends commands to the KVM monitor so that it is
possible to specify an optional timeout after which the command is killed.

Signed-off-by: Michele Tartara <05f7077a2c6cbbdc4af4ba42e3ef89a0df846179@google.com>
Reviewed-by: Klaus Aehlig <4ce51de36d9068cd7db2eec1151e0f3f95419008@google.com>

dimara/ganeti,apyrgio/ganeti,grnet/snf-ganeti,ganeti/ganeti,yiannist/ganeti,yiannist/ganeti,ganeti-github-testing/ganeti-test-1,mbakke/ganeti,bitemyapp/ganeti,mbakke/ganeti,ganeti/ganeti,onponomarev/ganeti,leshchevds/ganeti,bitemyapp/ganeti,andir/ganeti,dimara/ganeti,andir/ganeti,ganeti/ganeti,grnet/snf-ganeti,leshchevds/ganeti,yiannist/ganeti,leshchevds/ganeti,apyrgio/snf-ganeti,mbakke/ganeti,andir/ganeti,apyrgio/snf-ganeti,onponomarev/ganeti,apyrgio/ganeti,ganeti-github-testing/ganeti-test-1