Re: [PATCH 3/6] lguest suppress IDE probing

Alan Cox
2007-06-05T16:03:17Z

On Wed, 06 Jun 2007 00:58:03 +1000
Rusty Russell <rusty@rustcorp.com.au> wrote:

> The IDE probe is the slowest part of boot: by suppressing it we cut
> boot from from 3 seconds to half a second.

NAK NAK NAK NAK NAK

> AFAICT, the commandline is the easiest way to suppress the probing.

Gaa ... Rusty surely you have more taste than that.

See include/asm-foo/ide.h

Add an lguest check to go with the pci check and for the lguest case just
say "no controllers"

Better yet just don't compile in the old IDE stuff, lguest doesn't have a
PCI or ISA bus anyway.

Alternatively make the IDE I/O space return 0xFF and it'll skip them
anyway.

Alan