Re: Libvirt Support Virtio-serail

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

 



Hi ,

I installed fedora17 on my system, the libvirt version is 0.9.11

I configured guest.xml as specified
<console type='pty'>
      <target type='virtio'/>
</console>
<console type='pty'>
      <target type='virtio'/>
</console>

When I define the guest xml I can see the port assigned to it

Now when I try to access the console via
#virsh console --devname console0 guest
Or
#virsh console --devname console1 guest
My console get stuck , I am not getting any prompt.
Is something I am missing?

Regards
Pankaj Rawat



-----Original Message-----
From: libvir-list-bounces@xxxxxxxxxx [mailto:libvir-list-bounces@xxxxxxxxxx] On Behalf Of Pankaj Rawat
Sent: Tuesday, May 15, 2012 9:56 AM
To: Daniel P. Berrange
Cc: libvir-list@xxxxxxxxxx; Christophe Fergeau
Subject: Re:  Libvirt Support Virtio-serail

# libvirtd --version
libvirtd (libvirt) 0.9.4


Regards
Pankaj Rawat


-----Original Message-----
From: Daniel P. Berrange [mailto:berrange@xxxxxxxxxx]
Sent: Monday, May 14, 2012 5:30 PM
To: Pankaj Rawat
Cc: Christophe Fergeau; libvir-list@xxxxxxxxxx
Subject: Re:  Libvirt Support Virtio-serail

On Mon, May 14, 2012 at 11:09:46AM +0000, Pankaj Rawat wrote:
> Well I tried it but it doesnt work
>
>     <console type='pty'>
>       <target type='virtio'/>
>     </console>
>     <console type='pty'>
>       <target type='virtio'/>
>     </console>
>     <console type='pty'>
>       <target type='virtio'/>
>     </console>
>     <console type='pty'>
>       <target type='virtio'/>
>     </console>
>
> All above are merged into one
>     <console type='pty'>
>       <target type='virtio' port='0'/>
>     </console>
>
> When I define the guest xml

Hmm, what version of libvirt do you have ? This behaviour
suggest that your version is too old to support multiple
consoles.

> Following error received  when I tried to execute the command
>
> # virsh console --device console1  serial
> error: command 'console' doesn't support option --device

Doh, I mean --devname

Daniel
--
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|



DISCLAIMER:

-----------------------------------------------------------------------------------------------------------------------

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

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. .

-----------------------------------------------------------------------------------------------------------------------

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



DISCLAIMER:

-----------------------------------------------------------------------------------------------------------------------

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

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. .

-----------------------------------------------------------------------------------------------------------------------

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]