Revision ae082df0 lib/hypervisor/hv_kvm.py
b/lib/hypervisor/hv_kvm.py | ||
---|---|---|
1138 | 1138 |
|
1139 | 1139 |
""" |
1140 | 1140 |
if hvparams[constants.HV_SERIAL_CONSOLE]: |
1141 |
cmd = [constants.SOCAT_PATH, |
|
1141 |
cmd = [constants.KVM_CONSOLE_WRAPPER, |
|
1142 |
utils.ShellQuote(instance.name), constants.SOCAT_PATH, |
|
1143 |
utils.ShellQuote(cls._InstanceMonitor(instance.name)), |
|
1142 | 1144 |
"STDIO,%s" % cls._SocatUnixConsoleParams(), |
1143 | 1145 |
"UNIX-CONNECT:%s" % cls._InstanceSerial(instance.name)] |
1144 | 1146 |
return objects.InstanceConsole(instance=instance.name, |
Also available in: Unified diff