2011/12/6 Paolo Bonzini <pbonz...@redhat.com> > On 12/06/2011 09:42 AM, Chunyan Liu wrote: > >> >> I do not understand why you cannot simply do it like this: >> >> - in the server thread, do everything as it is now >> >> Nope. When device changes, both client thread and server thread should >> be refreshed. sockpath and sharing_fds[] is changed with different device. >> > > Then let's change the default sockpath to include the pid rather than the > NBD device name. > > Sounds good. Will try. Thanks.
> Paolo > >