xen is over 100k lines of code, not counting the kind of interfaces software exposes using its APIs, and stuff like drivers.
its not small
its not small
"it is possible to move all the drivers and driver backends out of Dom0. The same is true for moving the IO Device Emulator (ioemu) out of Dom0."