[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Vcpu allocation for a newly created domU
>> > 1. So how will dom0 relinquish/share vcpu to/with a newly created domU. >> > Does this happen as part of the shared_info page mapping?? >> >> vcpus are created for each new domain, they are not shared with Dom0. > in xen/arch/x86/setup.c right after domain_create(0,0, DOM0_SSIDREF) > which creates dom0, alloc_vcpu(dom0..) is called which will allocate > vcpu for dom0. Then in construct_dom0 alloc_vcpu is called for > dom0_max_cpus. So aren't all vcpu's getting allocated to dom0?? > > Or is it that domU will get allocated separate vcpu's, irrespective of > these above vcpu's?? Each domain, Dom0 and any DomU, will get separate VCPU(s). These are dynamically bound/run on physical CPUs. Cheers Gr(z)egor(z) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |