[libvirt-users] How to use virDomainOpenConsole

Michal Privoznik mprivozn at redhat.com
Wed Aug 31 15:06:48 UTC 2016


On 31.08.2016 13:56, Marina Danial wrote:
> Hello,
> 
> I have a quick question. Can anyone help with an example on how to
> use virDomainOpenConsole API in serial console access?

I think virsh-console can be a nice example of it:

http://libvirt.org/git/?p=libvirt.git;a=blob;f=tools/virsh-console.c;h=c1927c28ab79f8ef54632a7cac3c8f3d85e7ffd0;hb=HEAD#l308

Michal




More information about the libvirt-users mailing list