From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753697Ab1KGKS4 (ORCPT ); Mon, 7 Nov 2011 05:18:56 -0500 Received: from mail-vx0-f174.google.com ([209.85.220.174]:64320 "EHLO mail-vx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752383Ab1KGKSy convert rfc822-to-8bit (ORCPT ); Mon, 7 Nov 2011 05:18:54 -0500 MIME-Version: 1.0 In-Reply-To: <4EB7AEE5.8020803@redhat.com> References: <1320543320-32728-1-git-send-email-agraf@suse.de> <4EB65C5B.8070709@redhat.com> <4EB66036.4080102@redhat.com> <1320577728.1428.73.camel@jaguar> <4EB67486.1070105@redhat.com> <4EB67D17.7000701@redhat.com> <4EB680D9.2070706@redhat.com> <4EB6B385.4070804@web.de> <4EB7AEE5.8020803@redhat.com> Date: Mon, 7 Nov 2011 12:18:53 +0200 X-Google-Sender-Auth: 6DKaA98cp1wUACMZZKmh_3XLWlM Message-ID: Subject: Re: [PATCH] KVM: Add wrapper script around QEMU to test kernels From: Pekka Enberg To: Gerd Hoffmann Cc: Jan Kiszka , Avi Kivity , "kvm@vger.kernel.org list" , "linux-kernel@vger.kernel.org List" , qemu-devel Developers , Alexander Graf , Blue Swirl , =?ISO-8859-1?Q?Am=E9rico_Wang?= , Ingo Molnar , Linus Torvalds Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 7, 2011 at 12:11 PM, Gerd Hoffmann wrote: > No support for booting from CDROM. > No support for booting from Network. > Thus no way to install a new guest image. Sure. It's a pain point which we need to fix. On Mon, Nov 7, 2011 at 12:11 PM, Gerd Hoffmann wrote: > Booting an existing qcow2 guest image failed, the guest started throwing > I/O errors.  And even to try that I had to manually extract the kernel > and initrd images from the guest.  Maybe you should check with the Xen > guys, they have a funky 'pygrub' which sort-of automates the > copy-kernel-from-guest-image process. QCOW2 support is experimental. The I/O errors are caused by forced read-only mode. On Mon, Nov 7, 2011 at 12:11 PM, Gerd Hoffmann wrote: > Booting the host kernel failed too.  Standard distro kernel.  The virtio > bits are modular, not statically compiled into the kernel.  kvm tool > can't handle that. I think we have some support for booting modular distro kernels too if you tell KVM tool where to find initrd. It sucks out-of-the-box though because nobody seems to be using it. On Mon, Nov 7, 2011 at 12:11 PM, Gerd Hoffmann wrote: > You have to build your own kernel and make sure you flip the correct > config bits, then you can boot it to a shell prompt.  Trying anything > else just doesn't work today ... What can I say? Patches welcome? :-) Pekka From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:51849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNMI3-0006eU-Sp for qemu-devel@nongnu.org; Mon, 07 Nov 2011 05:18:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RNMI2-00022s-R2 for qemu-devel@nongnu.org; Mon, 07 Nov 2011 05:18:55 -0500 Received: from mail-vw0-f45.google.com ([209.85.212.45]:56229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNMI2-00022k-Mu for qemu-devel@nongnu.org; Mon, 07 Nov 2011 05:18:54 -0500 Received: by vws17 with SMTP id 17so68036vws.4 for ; Mon, 07 Nov 2011 02:18:53 -0800 (PST) MIME-Version: 1.0 Sender: penberg@gmail.com In-Reply-To: <4EB7AEE5.8020803@redhat.com> References: <1320543320-32728-1-git-send-email-agraf@suse.de> <4EB65C5B.8070709@redhat.com> <4EB66036.4080102@redhat.com> <1320577728.1428.73.camel@jaguar> <4EB67486.1070105@redhat.com> <4EB67D17.7000701@redhat.com> <4EB680D9.2070706@redhat.com> <4EB6B385.4070804@web.de> <4EB7AEE5.8020803@redhat.com> Date: Mon, 7 Nov 2011 12:18:53 +0200 Message-ID: From: Pekka Enberg Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] KVM: Add wrapper script around QEMU to test kernels List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: "kvm@vger.kernel.org list" , "linux-kernel@vger.kernel.org List" , qemu-devel Developers , Alexander Graf , Blue Swirl , Jan Kiszka , Avi Kivity , =?ISO-8859-1?Q?Am=E9rico_Wang?= , Ingo Molnar , Linus Torvalds On Mon, Nov 7, 2011 at 12:11 PM, Gerd Hoffmann wrote: > No support for booting from CDROM. > No support for booting from Network. > Thus no way to install a new guest image. Sure. It's a pain point which we need to fix. On Mon, Nov 7, 2011 at 12:11 PM, Gerd Hoffmann wrote: > Booting an existing qcow2 guest image failed, the guest started throwing > I/O errors. =A0And even to try that I had to manually extract the kernel > and initrd images from the guest. =A0Maybe you should check with the Xen > guys, they have a funky 'pygrub' which sort-of automates the > copy-kernel-from-guest-image process. QCOW2 support is experimental. The I/O errors are caused by forced read-only mode. On Mon, Nov 7, 2011 at 12:11 PM, Gerd Hoffmann wrote: > Booting the host kernel failed too. =A0Standard distro kernel. =A0The vir= tio > bits are modular, not statically compiled into the kernel. =A0kvm tool > can't handle that. I think we have some support for booting modular distro kernels too if you tell KVM tool where to find initrd. It sucks out-of-the-box though because nobody seems to be using it. On Mon, Nov 7, 2011 at 12:11 PM, Gerd Hoffmann wrote: > You have to build your own kernel and make sure you flip the correct > config bits, then you can boot it to a shell prompt. =A0Trying anything > else just doesn't work today ... What can I say? Patches welcome? :-) Pekka