From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I7t5n-0002Jk-CP for qemu-devel@nongnu.org; Mon, 09 Jul 2007 09:15:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I7t5l-0002JY-SM for qemu-devel@nongnu.org; Mon, 09 Jul 2007 09:15:54 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I7t5l-0002JV-MF for qemu-devel@nongnu.org; Mon, 09 Jul 2007 09:15:53 -0400 Received: from an-out-0708.google.com ([209.85.132.251]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I7t5l-00085Y-9c for qemu-devel@nongnu.org; Mon, 09 Jul 2007 09:15:53 -0400 Received: by an-out-0708.google.com with SMTP id d11so261314and for ; Mon, 09 Jul 2007 06:15:52 -0700 (PDT) Message-ID: <3461d5200707090615l2b550972h81523a5f9a62ac77@mail.gmail.com> Date: Mon, 9 Jul 2007 09:15:52 -0400 From: "Michael Fisher" Subject: Re: [Qemu-devel] Hardware Detection in Qemu In-Reply-To: <46d6db660707090509k52697238tb937ead7111c34a1@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_190541_16078376.1183986952096" References: <3461d5200707080534k5f203755oc6f1829728132338@mail.gmail.com> <46d6db660707090509k52697238tb937ead7111c34a1@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 ------=_Part_190541_16078376.1183986952096 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks...I am working with a couple of distros I want to modify so they will boot faster on QEMU and also utilize persistence. Customizing the /etc/init.d/* scripts will be my next step. On 7/9/07, Christian MICHON wrote: > > 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 > > > ------=_Part_190541_16078376.1183986952096 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks...I am working with a couple of distros I want to modify so they will boot faster on QEMU and also utilize persistence. Customizing the /etc/init.d/* scripts will be my next step.

On 7/9/07, Christian MICHON <christian.michon@gmail.com> wrote:
On 7/8/07, Michael Fisher <desnotes@gmail.com> 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



------=_Part_190541_16078376.1183986952096--