Re: [Qemu-devel] [RFC 08/29] migration: reuse mis->userfault_quit_fd

2017-07-31 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > It was only used for quitting the page fault thread before. Let it be > something more useful - now we can use it to notify a "wake" for the > page fault thread (for any reason), and it only means "quit" if the > fault_thread_quit is set. > > Since we

[Qemu-devel] [RFC 08/29] migration: reuse mis->userfault_quit_fd

2017-07-28 Thread Peter Xu
It was only used for quitting the page fault thread before. Let it be something more useful - now we can use it to notify a "wake" for the page fault thread (for any reason), and it only means "quit" if the fault_thread_quit is set. Since we changed what it does, renaming it to