From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:51699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QetBI-0000YF-Ho for qemu-devel@nongnu.org; Thu, 07 Jul 2011 14:20:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QetBF-0000pe-IE for qemu-devel@nongnu.org; Thu, 07 Jul 2011 14:20:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QetBF-0000nq-13 for qemu-devel@nongnu.org; Thu, 07 Jul 2011 14:20:05 -0400 Message-ID: <4E15F8CB.1010404@redhat.com> Date: Thu, 07 Jul 2011 12:19:55 -0600 From: Eric Blake MIME-Version: 1.0 References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig0F65C739DAF94A18155606EA" Subject: Re: [Qemu-devel] [libvirt-users] SSH console for qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nikita A Menkovich Cc: libvirt-users@redhat.com, Stefan Hajnoczi , qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0F65C739DAF94A18155606EA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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. --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig0F65C739DAF94A18155606EA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJOFfjLAAoJEKeha0olJ0NqxwMH/0bS5lZospxMXRhaHnfL+Cj9 CcvjZdqziiz2LP0ZSOZBAGmuVaVan4yuXzB0rboYEi+bQuhovewH0RQLud9AaUBf ype8G4csbwe+Wc4H62NFTe0l6ZnmCYLMpUoDINxfi9MdwVE47bnSdbw7N3Tczviq 0V6dkAbyTzdCfnpgtniIWGn+hsegYrhaPmABsTA5XU+SzUVRoXjPbbiPAQQr7UNU V1kYNyLIwRhFYkk8oHqdCalGctNTuUxkGnXjlNui99T6KQKBIkPREwCzU5hfKnee 9nmDNo2j9Bevg5WXuusErdryHZAB5dOZhQojcFihDLz5iCkrwQ6bM0S5TyiAESc= =UPoQ -----END PGP SIGNATURE----- --------------enig0F65C739DAF94A18155606EA--