Wind River Support Network

HomeDefectsOVP-1594
Fixed

OVP-1594 : [guest] vm console has not any output

Created: Jan 22, 2014    Updated: Mar 11, 2016
Resolved Date: Jan 28, 2014
Found In Version: 5.0.1.11
Fix Version: 5.0.1
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

Problem Description
======================
vm console has not any output.

# cat test1_vm1.xml 
<domain type='kvm'>
  <name>test1_vm1</name>
  <memory>512000</memory>
  <currentMemory>512000</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch='x86_64' machine='pc'>hvm</type>
    <boot dev='hd' />
    <kernel>/var/lib/libvirt/images/guest.kernel</kernel>
    <cmdline>console=ttyS0 root=/dev/hda rw ip=dhcp</cmdline>
  </os>
  <devices>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='none' io='threads'/>
      <source file='/var/lib/libvirt/images/vm1.img' />
      <target dev='hda' bus='ide' />
    </disk>
    <interface type='bridge'>
      <mac address='de:ef:be:f9:bf:73'/>
      <model type='virtio'/>
      <source bridge='ovirtmgmt'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> 
    </interface>
    <graphics type='vnc' port='5900' autoport='yes' listen='0' keymap='en-us'>
      <listen type='address' address='0'/>
    </graphics>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
  </devices>
</domain>


Expected Behavior
======================
it works well

Observed Behavior
======================
It works well on wrlinuxovp50111/dvd_install/lv03_13sp

Logs
====================== 
root@node216:/opt/wr-test/testcases/ovp/live_migration_virtual# virsh console test1_vm1
Connected to domain test1_vm1
Escape character is ^]

------- Nothing output.

Steps to Reproduce

1) wrlinuxovp/wrlinux-x/wrlinux/configure --enable-board=x86-64-kvm-guest --enable-rootfs=ovp-guest --enable-addons=wr-ovp --enable-parallel-pkgbuilds=16 --enable-jobs=16 --enable-bootimage=iso
2) deploy images to node in /data/images
3) virsh creae test1_vm1.xml
4) virsh console test1_vm1

Check the behavior and logs.
Live chat
Online