qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 2/3] Extract code to nbd_setup function to be


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v4 2/3] Extract code to nbd_setup function to be used for many purposes
Date: Tue, 06 Dec 2011 09:44:38 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1

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.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]