qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [libvirt-users] SSH console for qemu


From: Eric Blake
Subject: Re: [Qemu-devel] [libvirt-users] SSH console for qemu
Date: Thu, 07 Jul 2011 12:19:55 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

On 07/07/2011 02:36 AM, Nikita A Menkovich wrote:
> Seems no, I think, that the best way is running some kind of ssh
> daemon, that connects to console (/dev/vcsa1 for example), that listen
> on port and send to output console events on boot, and allow to work
> with server with simple ssh client. Also important feature will be
> saving history of output.

If you're trying to capture boot events, then you have to have an SGA
(serial graphics adaptor) capable BIOS that can output boot events on
the serial console.  There's recent work underway to add that feature to
qemu, and to expose that feature from libvirt:

https://www.redhat.com/archives/libvir-list/2011-July/msg00174.html

Setting up an ssh daemon in the guest is too late - the daemon won't be
set up until the guest has already booted, so there's no way to have
that daemon forward boot messages back to the host in a timely manner.
I think you're trying too hard - 'virsh console' really is the way to
read all messages output to the guest's console, and your only missing
piece is that you also appear to want BIOS to output to the console.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]