Revision 3135de69
b/lib/hypervisor/hv_xen.py | ||
---|---|---|
532 | 532 |
|
533 | 533 |
port = instance.hvparams[constants.HV_MIGRATION_PORT] |
534 | 534 |
|
535 |
if not netutils.TcpPing(target, port, live_port_needed=True): |
|
535 |
if (constants.XEN_CMD == constants.XEN_CMD_XM and |
|
536 |
not netutils.TcpPing(target, port, live_port_needed=True)): |
|
536 | 537 |
raise errors.HypervisorError("Remote host %s not listening on port" |
537 | 538 |
" %s, cannot migrate" % (target, port)) |
538 | 539 |
|
Also available in: Unified diff