How to create a virtio-serial console

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

 



Hello,
I have been attempting to create a virtual machine with a virtio console. However, it does not appear to be working as I've read in, for example, http://www.redhat.com/archives/libvir-list/2012-May/msg00964.html . After I create my virtual machine, no devices appear on the host. What am I doing wrong?

Here is my virt-install:
virt-install \
--ram=1024 \
--accelerate \
--name testola \
--vcpus=1,maxvcpus=2 \
--cpuset=auto \
--pxe \
--os-type=linux \
--os-variant=rhel7 \
--disk path=/var/kvm/testola.img \
--boot=hd,network,menu=on \
-v \
--network bridge=br0 \
--graphics none \
--channel pty,target_type=virtio \
--console pty,target_type=virtio


Once I run that virt-install, I expect to see files/devices in /sys/class/virtio-ports and /dev/vport0?? . But there are none.

Thanks.

- Mike Schwager
  Linux Network Engineer, Mocho Trading LLC
  312-646-4783 Phone    312-637-0011 Cell    312-957-9804 Fax


This message is for the named person(s) use only. It may contain confidential proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Mocho Trading LLC reserves the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity.
_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux