Fix interaction between CPU pinning and KVM migration
Fix interaction between CPU pinning and KVM migration

CPU pinning requires the KVM hypervisor to start in the paused state, in
order to retrieve information, and immediately unpauses it.

This does not play well with live migration, as the unpausing was done
before the migration started and so the receiving kvm process left the
migrated instance in the stopped status.

This patch fixes this behavior, by not launching the KVM process in
stopped state while on the receiving side of a migration.

Also, the stopping is now done outside _ExecuteCpuAffinity.

Signed-off-by: Andrea Spadaccini <92d490849ac1b40cd8e8878e4d94603bebdb089f@google.com>
Reviewed-by: Tsachy Shacham <6019a60d58c02d39487b5a5fc19d70cca251111d@google.com>

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