How do I close a console connection?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm working on (re-) implementing serial console support in virtualbmc
[1], and one of the issues I'm hitting right now is that after
establishing a console connection via...

    self._stream = self._conn.newStream(libvirt.VIR_STREAM_NONBLOCK)
    self._domain.openConsole(None, self._stream, 0)

...I can't figure out how to close the console.  Subsequent calls to
openConsole fail because "a console connection is already open". I
thought maybe I should close the stream, but that doesn't appear to be
possible (there is a finish method, but it just tells me that "this
function is not supported by the connection driver").

[1]: https://github.com/openstack/virtualbmc

Cheers,

-- 
Lars Kellogg-Stedman <lars@xxxxxxxxxx> | larsks @ {irc,twitter,github}
http://blog.oddbit.com/                |

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux