KVM: race-free exit from KVM_RUN without POSIX signals