[PR #297] [MERGED] console: add option to launch telnet session #610

Closed
opened 2026-02-27 16:39:53 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/retspen/webvirtmgr/pull/297
Author: @EmbeddedAndroid
Created: 5/5/2014
Status: Merged
Merged: 5/5/2014
Merged by: @retspen

Base: masterHead: master


📝 Commits (1)

  • 604455e console: add option to launch telnet session

📊 Changes

3 files changed (+36 additions, -7 deletions)

View changed files

📝 instance/views.py (+1 -0)
📝 templates/instance.html (+14 -2)
📝 vrtManager/instance.py (+21 -5)

📄 Description

Over the coming months I would like to add supporting features to webvirtmgr needed for ARM KVM hosts. This is the first piece needed to make webvirtmgr useful with ARM hosts. As of right now, there is no video/graphic devices supported on ARM guests, and so VNC cannot be used for console. The best solution to control the virtual machine is to redirect the serial console over telnet.

<serial type='tcp'>
  <source mode='bind' host='0.0.0.0' service='4555'/>
  <protocol type='telnet'/>
  <target port='0'/>
  <alias name='serial0'/>
</serial>
<console type='tcp'>
  <source mode='bind' host='0.0.0.0' service='4555'/>
  <protocol type='telnet'/>
  <target type='serial' port='0'/>
  <alias name='serial0'/>
</console>

This change adds the option to launch a telnet console session if one exists.

Here is a quick demo of this feature:

https://docs.google.com/file/d/0B9DbsE2BbZ7uWmNnTHQxYW1IZVE/edit


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/retspen/webvirtmgr/pull/297 **Author:** [@EmbeddedAndroid](https://github.com/EmbeddedAndroid) **Created:** 5/5/2014 **Status:** ✅ Merged **Merged:** 5/5/2014 **Merged by:** [@retspen](https://github.com/retspen) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`604455e`](https://github.com/retspen/webvirtmgr/commit/604455e183a3ff14fb9ebdfea8393caa60be145f) console: add option to launch telnet session ### 📊 Changes **3 files changed** (+36 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `instance/views.py` (+1 -0) 📝 `templates/instance.html` (+14 -2) 📝 `vrtManager/instance.py` (+21 -5) </details> ### 📄 Description Over the coming months I would like to add supporting features to webvirtmgr needed for ARM KVM hosts. This is the first piece needed to make webvirtmgr useful with ARM hosts. As of right now, there is no video/graphic devices supported on ARM guests, and so VNC cannot be used for console. The best solution to control the virtual machine is to redirect the serial console over telnet. ``` <serial type='tcp'> <source mode='bind' host='0.0.0.0' service='4555'/> <protocol type='telnet'/> <target port='0'/> <alias name='serial0'/> </serial> <console type='tcp'> <source mode='bind' host='0.0.0.0' service='4555'/> <protocol type='telnet'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> ``` This change adds the option to launch a telnet console session if one exists. Here is a quick demo of this feature: https://docs.google.com/file/d/0B9DbsE2BbZ7uWmNnTHQxYW1IZVE/edit --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 16:39:53 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#610
No description provided.