Skip to contentSkip to conversation

Xen 1.3 I/O

DISCUSSION Barry Silverman 2 participants 2 messages Mar 27, 2004

lore
Share & tools
lore
#0 lore raw

I have been tracking the 1.3 I/O update quite closely, and have a reasonable idea of how the low level mechanisms work.

Is there a roadmap document that describes where Xen I/O is going at a high level?

IE - Will the Hardware I/O drivers be removed from Xen, and moved into a special I/O manager domain (or Domain 0)
Will there be a stub (just drivers, and not much else) linux
kernel running in a privileged domain just for servicing hardware to other domains that don't map the hardware?
Will Domain 0 continue to do its own hardware I/O? Will it be possible to have complicated mappings of privileged
domains that each control different bits of hardware, and have them service I/O to arbitrary sets of non-privileged domains?

Barry Silverman

#1 lore raw
Quoted 5 lines

I have been tracking the 1.3 I/O update quite closely, and have a reasonable idea of how the low level mechanisms work.

Is there a roadmap document that describes where Xen I/O is going at a high level?

We've had a number of meetings and phone-conferences, but I'm afraid nothing is written down as yet.

Quoted 2 lines

IE - Will the Hardware I/O drivers be removed from Xen, and moved into a special I/O manager domain (or Domain 0)

Yes. You'll be able to run all the drivers in domain 0, or create other 'driver domains' to delegate control of specific bits of hardware. The advantage of the latter is that you should get fault containment : if a device driver domain fails, the system should be able to kill and restart it (unless its done anything really nasty like hang the PCI bus or DMA all over memory, but such faults are pretty rare).

Quoted 3 lines

Will there be a stub (just drivers, and not much else) linux
kernel running in a privileged domain just for servicing hardware to other domains that don't map the hardware?

Yes, that'll be one configuration option.

Quoted 1 line

Will Domain 0 continue to do its own hardware I/O?

Each piece of hardware has to be directly controlled by exactly one domain, and then virtualized to all the other domains that use it.

Quoted 3 lines

Will it be possible to have complicated mappings of privileged
domains that each control different bits of hardware, and have them service I/O to arbitrary sets of non-privileged domains?

That's the plan!

We expect that most people will run all the devices drivers in domain 0, but for high-availability situations people can can configure separate driver domains. There shouldn't be much performance difference between the two setups, apart from some improved batching of interrupts.

Ian

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click