Hi everyone,

If a VM is configured to have a console attached to it, like using

http://libvirt.org/formatdomain.html#elementCharConsole

Libvirt offers access to VM serial console's using the virDomainOpenConsole 
API[1]
However, I didn't find a way to
1. list the existing connections to the console
2. kill an existing connection - without reconnecting using 
VIR_DOMAIN_CONSOLE_FORCE[2]

Am I missing something? How can I do that?

Rationale for my request
oVirt [3] offers a management interface for VMs, and we have recently 
integrated user-friandly
VM serial console access [4] in the system; in the future release we want to 
enhance the administation
capabilities allowing to check existing connections and to terminate them 
(maybe because it got stuck).

+++

[1] http://libvirt.org/html/libvirt-libvirt-domain.html#virDomainOpenConsole
[2] http://libvirt.org/html/libvirt-libvirt-domain.html#VIR_DOMAIN_CONSOLE_FORCE
[4] http://www.ovirt.org/
[5] 
https://www.ovirt.org/develop/release-management/features/engine/serial-console/
 et. al.

-- 
Francesco Romani
RedHat Engineering Virtualization R & D
Phone: 8261328
IRC: fromani

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

Reply via email to