Re: [PATCH 06/20] migration: Add postcopy_thread_create()

2022-02-21 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > Postcopy create threads. A common manner is we init a sem and use it to sync > with the thread. Namely, we have fault_thread_sem and listen_thread_sem and > they're only used for this. > > Make it a shared infrastructure so it's easier to create yet another

[PATCH 06/20] migration: Add postcopy_thread_create()

2022-02-15 Thread Peter Xu
Postcopy create threads. A common manner is we init a sem and use it to sync with the thread. Namely, we have fault_thread_sem and listen_thread_sem and they're only used for this. Make it a shared infrastructure so it's easier to create yet another thread. Signed-off-by: Peter Xu --- migratio