"Dr. David Alan Gilbert (git)" <dgilb...@redhat.com> wrote:
> From: "Dr. David Alan Gilbert" <dgilb...@redhat.com>
>
> Wait for a semaphore before completing the migration,
> if the previously added capability was enabled.
>
> Signed-off-by: Dr. David Alan Gilbert <dgilb...@redhat.com>
> Reviewed-by: Peter Xu <pet...@redhat.com>

Reviewed-by: Juan Quintela <quint...@redhat.com>


> +    while (qemu_sem_timedwait(&s->pause_sem, 1) == 0) {

wait

> +        /* This block intentionally left blank */
> +    }
> +

> +    qemu_sem_wait(&s->pause_sem);


wait

and no posts on the whole patchset.

I agree that we only wait if we enable the feature, but still O:-)

Reply via email to