Revision fe5b0c42 lib/hypervisor/hv_kvm.py

b/lib/hypervisor/hv_kvm.py
123 123
    If we have a new-enough socat we can use raw mode with an escape character.
124 124

  
125 125
    """
126
    if constants.SOCAT_ESCAPE:
126
    if constants.SOCAT_USE_ESCAPE:
127 127
      return "raw,echo=0,escape=%s" % constants.SOCAT_ESCAPE_CODE
128 128
    else:
129 129
      return "echo=0,icanon=0"

Also available in: Unified diff