@@ -831,13 +831,11 @@ static uint32_t kvm_dirty_ring_reap_one(KVMState *s, CPUState *cpu)
uint32_t count = 0, fetch = cpu->kvm_fetch_index;
/*
- * It's possible that we race with vcpu creation code where the vcpu is
+ * It's not possible that we race with vcpu creation code where the vcpu is
* put onto the vcpus list but not yet initialized the dirty ring
- * structures. If so, skip it.
+ * structures.
*/
- if (!cpu->created) {
- return 0;
- }
+ assert(cpu->created);
assert(dirty_gfns && ring_size);
trace_kvm_dirty_ring_reap_vcpu(cpu->cpu_index);