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

[libvirt] 0.9.7 virsh console regression?

Hi folks,

I have a few "headless" qemu domains that use serial consoles.
Typically i connect to the consoles with

        # virsh console <domain>

However with 0.9.7 I get

        Connected to domain gentoo-base
        Escape character is ^]
        error: internal error character device (null) is not using a PTY

I am still able to connect to the console if i go into the virt-manager
gui and use the "gui" console, but I'd rather not do that as sometimes I
don't have access to the gui.

Is this a regression or am I expected to do some kind of migration on my
domains.  These are qemu guests running on Gentoo Linux.  An xml dump of
a typical domain follows:

<domain type='kvm'>
    <type arch='x86_64' machine='pc-0.12'>hvm</type>
    <cmdline>root=/dev/vda1 rootfstype=ext4 quiet console=ttyS0
    <boot dev='hd'/>
    <bootmenu enable='no'/>
  <cpu match='exact'>
    <feature policy='require' name='tm2'/>
    <feature policy='require' name='est'/>
    <feature policy='require' name='monitor'/>
    <feature policy='require' name='ss'/>
    <feature policy='require' name='vme'/>
    <feature policy='require' name='rdtscp'/>
    <feature policy='require' name='ht'/>
    <feature policy='require' name='ds'/>
    <feature policy='require' name='pbe'/>
    <feature policy='require' name='tm'/>
    <feature policy='require' name='vmx'/>
    <feature policy='require' name='ds_cpl'/>
    <feature policy='require' name='xtpr'/>
    <feature policy='require' name='acpi'/>
    <feature policy='require' name='x2apic'/>
  <clock offset='utc'/>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none'/>
      <source file='/var/lib/libvirt/images/base.qcow'/>
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
    <interface type='network'>
      <mac address='52:54:00:06:84:c0'/>
      <source network='default'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05'
    <serial type='pty'>
      <target port='0'/>
    <console type='pty'>
      <target type='serial' port='0'/>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03'

Thanks in advance,

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