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

Re: [libvirt] Libvirt Support Virtio-serail

Thanks for the input
Actually I wanted to have private communication channel b/w host and guest
By default I cannot have multiple console on guest through virsh console guestname ( they all are dependent on each other , if I execute a command on one shell its output is reflected on all of them ).
I wanted to login into guest from multiple shells(and the console should be independent of each other)

Virtio-serial have this feature ,I have gone through various install option on web , but they don't seem to work.

Our kernel version for host and guest is 2.6.32-220.4.1.el6.x86_64

We goes through the mentioned link
And edit our xml file by adding

<channel type='pty'>
   <target type='virtio' name='arbitrary.virtio.serial.port.name'/>
   <address type='virtio-serial' controller='0' bus='0' port='1'/>

Then we tried to access the channel device through virsh console guest_name dev_name

It gives error :-

# virsh console serial vport0p1
Connected to domain serial
Escape character is ^]
error: internal error cannot find character device vport0p1

but the vport

#ls -l /dev/virtio-ports/arbitrary.virtio.serial.port.name
lrwxrwxrwx. 1 root root 11 May 14 05:01 /dev/virtio-ports/arbitrary.virtio.serial.port.name -> ../vport0p1

Pankaj Rawat

-----Original Message-----
From: Christophe Fergeau [mailto:cfergeau redhat com]
Sent: Monday, May 14, 2012 1:55 PM
To: Pankaj Rawat
Cc: libvir-list redhat com
Subject: Re: [libvirt] Libvirt Support Virtio-serail

Hi Pankaj,

On Mon, May 14, 2012 at 03:52:54AM +0000, Pankaj Rawat wrote:
> I wanted to know whether libvirt has any kind of support for virt-io
> serial or not If yes then how can I use it?

I think http://libvirt.org/formatdomain.html#elementCharChannel is what you are looking for, if it's not, please describe in more details what setup you want to achieve.




The contents of this e-mail and any attachment(s) are confidential and

for the named recipient(s) only. 

It shall not attach any liability on the originator or NECHCL or its

affiliates. Any views or opinions presented in 

this email are solely those of the author and may not necessarily reflect the

opinions of NECHCL or its affiliates. 

Any form of reproduction, dissemination, copying, disclosure, modification,

distribution and / or publication of 

this message without the prior written consent of the author of this e-mail is

strictly prohibited. If you have 

received this email in error please delete it and notify the sender

immediately. .


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