Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1c29465 authored by Rusty Russell's avatar Rusty Russell
Browse files

lguest: don't disable iospace.



This no longer speeds up boot (IDE got better, I guess), but it does stop
us probing for a PCI bus.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 48fd6b71
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -1399,14 +1399,6 @@ __init void lguest_init(void)
	/* Hook in our special panic hypercall code. */
	atomic_notifier_chain_register(&panic_notifier_list, &paniced);

	/*
	 * The IDE code spends about 3 seconds probing for disks: if we reserve
	 * all the I/O ports up front it can't get them and so doesn't probe.
	 * Other device drivers are similar (but less severe).  This cuts the
	 * kernel boot time on my machine from 4.1 seconds to 0.45 seconds.
	 */
	paravirt_disable_iospace();

	/*
	 * This is messy CPU setup stuff which the native boot code does before
	 * start_kernel, so we have to do, too: