diff options
author | Jeremy Fitzhardinge <jeremy@xensource.com> | 2007-07-17 21:37:04 -0400 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy@goop.org> | 2007-07-18 11:47:42 -0400 |
commit | d572929cdd12a60732c3522f7cf011bfa29165cf (patch) | |
tree | 4b1c351d7574b679f2d250483cffcedf3fdfa9be /include/asm-i386/paravirt.h | |
parent | 5f4352fbffd6c45123dbce9e195efd54df4e177e (diff) |
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>
Diffstat (limited to 'include/asm-i386/paravirt.h')
-rw-r--r-- | include/asm-i386/paravirt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-i386/paravirt.h b/include/asm-i386/paravirt.h index 786856950b1a..690ada22437a 100644 --- a/include/asm-i386/paravirt.h +++ b/include/asm-i386/paravirt.h | |||
@@ -262,6 +262,7 @@ unsigned paravirt_patch_default(u8 type, u16 clobbers, void *site, unsigned len) | |||
262 | unsigned paravirt_patch_insns(void *site, unsigned len, | 262 | unsigned paravirt_patch_insns(void *site, unsigned len, |
263 | const char *start, const char *end); | 263 | const char *start, const char *end); |
264 | 264 | ||
265 | int paravirt_disable_iospace(void); | ||
265 | 266 | ||
266 | /* | 267 | /* |
267 | * This generates an indirect call based on the operation type number. | 268 | * This generates an indirect call based on the operation type number. |