[libvirt] [PATCH v3 1/3] libxl: add p2p migration

Jim Fehlig jfehlig at suse.com
Thu Feb 4 19:20:56 UTC 2016


On 02/03/2016 12:36 PM, Joao Martins wrote:
>
> On 02/02/2016 11:41 PM, Jim Fehlig wrote:
>> Also, if the connection dies, how are we informed about that?
>> Would that be done via the connect close callback that was removed in this
>> version? It is not clear to me how errors on the dconn connection are handled.
>>
> In the close callback, we're just notified that the connection got closed, but I
> am not sure if there is much we can do about it in the handler.
> We could set an error on the callback, and then check dconn callers on
> libxlDoMigrateP2P() before any RPC calls?

Ah, nevermind. If the connection got closed, the dconn calls will fail and
errors will be handled at the call sites.

Regards,
Jim




More information about the libvir-list mailing list