On Fri, Nov 07, 2008 at 04:35:47PM +0800, Zhao, Yu wrote:Greg KH wrote:On Fri, Nov 07, 2008 at 04:17:02PM +0800, Zhao, Yu wrote:I guess at least one thing would work if people don't want to boot twice: give the bus number 0 as rebalance starting point, then all system resources would be reshuffled :-)As you have proposed it, the boot option will not work at all, so IWell, to do it "correctly" you are going to have to tell the driver toNo, it's not part of the PCI IOV spec.
shut itself down, and reinitialize itself.
Turns out, that doesn't really work for disk and network devices without
dropping the connection (well, network devices should be fine probably).
So you just can't do this, sorry. That's why the BIOS handles all of
these issues in a PCI hotplug system.
How does the hardware people think we are going to handle this in the
OS? It's not something that any operating system can do, is it part of
the IOV PCI spec somewhere?
I just want the IOV (and whole PCI subsystem) have more flexibility on various BIOSes. So can we reconsider about resource rebalance as boot option, or should we forget about this idea?
think we need to forget about it. Especially if it is not really
needed.
Hm, but don't we do that today with our basic resource reservation logic
at boot time? What would be different about this kind of proposal?