On Mon, Jun 04, 2012 at 21:51:02 +0800, Guannan Ren wrote:
Bugzilla:https://bugzilla.redhat.com/show_bug.cgi?id=822839
For non-p2p migration, if the network is down in the process of migrate,
The virsh client will hang up for a fair long time. The patch will add
keepalive into virsh to determine the status of network connection with
remote libvirtd, aboring migration job after 30 seconds later since
disconnection.
This turns on keepalive only for the connection to destination daemon during
migrations. I think we want to use keepalive for every connection open by
virsh, i.e., even for the main one. And even more importantly, we don't want
to hardcode keepalive parameters, users should be able to set them using virsh
command line options.
Jirka