Skip to contentSkip to conversation

simultaneous domains on startup

DISCUSSION Tian, Kevin 1 participant 1 message Jun 11, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 14 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Deepak Manohar
Sent: Saturday, June 11, 2005 12:09 AM

Hi all,

In xen-3.0-devel is construct_dom0 in xen/arch/x86/domain_build.c the function that starts up domain0?

Would it be possible to call this function again -- to startup another doman, provided the two domains do not share any resources?

Quoted 6 lines

Is there anyway to start two domains simultaneously from the hypervisor and not using xend? what would be the work involved to do this?

thanks
Deepak

You can, but not sure the necessity. :) The steps to construct domain 0 and other domains are completely different. Domain 0 is privileged one with knowledge about physical resources, which has to be constructed by XEN. However all resources of other domains are virtualized, including memory size, address hierarchy, devices, etc. The policy of how other domains are constructed is left for system administrator in Domain 0 to decide and configure. Current control panel is such perfect example. We'd better not introduce that complexity into xen.

Simply saying the possibility in code level. Yes, someone already made that experiment. Dan used to clone many copies of domain 0 in XEN to test robust of domain switch on XEN/IA64. But, that's just for test purpose. :)

Thanks,
Kevin