]> git.baikalelectronics.ru Git - kernel.git/commit
paravirt: helper to disable all IO space
authorJeremy Fitzhardinge <jeremy@xensource.com>
Wed, 18 Jul 2007 01:37:04 +0000 (18:37 -0700)
committerJeremy Fitzhardinge <jeremy@goop.org>
Wed, 18 Jul 2007 15:47:42 +0000 (08:47 -0700)
commitc14305696276f0330fc68958f2ad0920f9716784
tree4b1c351d7574b679f2d250483cffcedf3fdfa9be
parentb09abf6ea3c249ab1789cc5b84ebf09808c1d6a3
paravirt: helper to disable all IO space

In a virtual environment, device drivers such as legacy IDE will waste
quite a lot of time probing for their devices which will never appear.
This helper function allows a paravirt implementation to lay claim to
the whole iomem and ioport space, thereby disabling all device drivers
trying to claim IO resources.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
arch/i386/kernel/paravirt.c
include/asm-i386/paravirt.h