paravirt: helper to disable all IO space
commitd572929cdd12a60732c3522f7cf011bfa29165cf
authorJeremy Fitzhardinge <jeremy@xensource.com>
Wed, 18 Jul 2007 01:37:04 +0000 (17 18:37 -0700)
committerJeremy Fitzhardinge <jeremy@goop.org>
Wed, 18 Jul 2007 15:47:42 +0000 (18 08:47 -0700)
tree4b1c351d7574b679f2d250483cffcedf3fdfa9be
parent5f4352fbffd6c45123dbce9e195efd54df4e177e
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