From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I7s3e-0003pE-R8 for qemu-devel@nongnu.org; Mon, 09 Jul 2007 08:09:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I7s3d-0003ot-H2 for qemu-devel@nongnu.org; Mon, 09 Jul 2007 08:09:38 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I7s3d-0003oq-AI for qemu-devel@nongnu.org; Mon, 09 Jul 2007 08:09:37 -0400 Received: from wa-out-1112.google.com ([209.85.146.178]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I7s3c-0004ar-Nb for qemu-devel@nongnu.org; Mon, 09 Jul 2007 08:09:36 -0400 Received: by wa-out-1112.google.com with SMTP id k22so1346341waf for ; Mon, 09 Jul 2007 05:09:34 -0700 (PDT) Message-ID: <46d6db660707090509k52697238tb937ead7111c34a1@mail.gmail.com> Date: Mon, 9 Jul 2007 14:09:34 +0200 From: "Christian MICHON" Subject: Re: [Qemu-devel] Hardware Detection in Qemu In-Reply-To: <3461d5200707080534k5f203755oc6f1829728132338@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3461d5200707080534k5f203755oc6f1829728132338@mail.gmail.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 7/8/07, Michael Fisher wrote: > I have run various live Linux CD distributions (Knoppix, DSL, Ubuntu, etc.) > under QEMU and was wondering if there is really a need to run the various > hardware detection scripts in the live CDs? Obviously, a script for getting > an IP address is needed but if I know I am running the distro under QEMU, do > I need to check for USB, SCSI, AGP, PCI and the other detection scripts? > in short: no, you don't need so much hardware detection. > If QEMU is already doing that, can't I just tweak the live distro to match > QEMU and then let QEMU do the work when it is placed on various host > computers? if you're targetting a specific version of qemu, on which hardware's list is specified/frozen, then yes, it's best to custom each of your linux guest to speed up the boot sequence. I see 3 ways: 1) by command line: you can add parameters like noacpi, tweak the ide probes, etc... slax and dsl give you quite a good list to start with... 2) by customizing the /etc/init.d/* scripts, and re-authorizing the iso If you do this, you've to keep in mind the new iso is for your guests only... 3) use DetaolB. It's one of the many reasons why I created it. :) Seriously, you create your own distro. The trick is in getting the init scripts to as little as possible, and putting all needed hardware modules *only* in your vmlinux, thus removing modprobing, which actually takes quite a lot of time when inside qemu. > Currently, most of my testing is done using Win XP as the host but in the > future I will be looking at Linux and Macs as hosts also. I'm in the same situation. -- Christian -- http://detaolb.sourceforge.net/, a linux distribution for Qemu