Add Xen paused state as a Ganeti running state
Add Xen paused state as a Ganeti running state

The QA test 'TestClusterBurnin' pauses instances and the Xen state
domain 'paused' was not being handled properly by Ganeti because it
was not being classified as either a running or shutdown state.  This
patch adds the 'paused' state to the set of running states by
extending the function 'ganeti.hypervisor.hv_xen._IsInstanceRunning'
with the corresponding Xen state string '--p---'.

This fixes the QA test 'TestClusterBurnin'.

Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Helga Velroyen <2d0126b1ec6f9ec5cbec4a7012aa14faeaef10f5@google.com>

Cherry-picked from fd201010dfc5bd4334a374a3e3b592cdd03382fb.

Signed-off-by: Hrvoje Ribicic <be5828fca31f89218048bec4189e30a581aa65da@google.com>
Reviewed-by: Helga Velroyen <2d0126b1ec6f9ec5cbec4a7012aa14faeaef10f5@google.com>

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