[libvirt] libxl: cannot connect to PV console

Jim Fehlig jfehlig at suse.com
Tue Dec 17 18:12:24 UTC 2013


Dario Faggioli wrote:
> Hey Jim,
>
> I'm on libvirt.git's trunk and I see the following:
> [xen at ghoul3 libvirt.git]$ sudo ./tools/virsh list
>  Id    Name                           State
> ----------------------------------------------------
>  3     debian_32                      running
>  4     fedora20_64                    running
>
> [xen at ghoul3 libvirt.git]$ sudo ./tools/virsh console debian_32
> Connected to domain debian_32
> Escape character is ^]
> error: internal error: cannot find character device (null)
>
> [xen at ghoul3 libvirt.git]$ sudo ./tools/virsh console fedora20_64
> Connected to domain fedora20_64
> Escape character is ^]
> error: internal error: cannot find character device (null)
>   

Looking at libxlDomainOpenConsole() in src/libxl/libxl_driver.c, it
currently only supports a serial console.  Do you have one defined in
these domains?  E.g.

<devices>
...
    <serial type='pty'>
      <target port='0'/>
    </serial>
...
</devices>

Regards,
Jim




More information about the libvir-list mailing list