[libvirt] Libvirt Support Virtio-serail
Dave Allan
dallan at redhat.com
Tue Jun 5 12:25:36 UTC 2012
On Tue, Jun 05, 2012 at 11:08:16AM +0000, Pankaj Rawat wrote:
> 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?
Without knowing anything about your setup, I'd guess you have no getty
running.
Dave
> Regards
> Pankaj Rawat
>
>
>
> -----Original Message-----
> From: libvir-list-bounces at redhat.com [mailto:libvir-list-bounces at redhat.com] On Behalf Of Pankaj Rawat
> Sent: Tuesday, May 15, 2012 9:56 AM
> To: Daniel P. Berrange
> Cc: libvir-list at redhat.com; Christophe Fergeau
> Subject: Re: [libvirt] Libvirt Support Virtio-serail
>
> # libvirtd --version
> libvirtd (libvirt) 0.9.4
>
>
> Regards
> Pankaj Rawat
>
>
> -----Original Message-----
> From: Daniel P. Berrange [mailto:berrange at redhat.com]
> Sent: Monday, May 14, 2012 5:30 PM
> To: Pankaj Rawat
> Cc: Christophe Fergeau; libvir-list at redhat.com
> Subject: Re: [libvirt] 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 at redhat.com
> 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
More information about the libvir-list
mailing list