cpu, kvm: Fix deadlock issue when resuming a drained system