[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Vcpu allocation for a newly created domU



On Wed, 2008-06-18 at 17:09 +0100, Grzegorz MiÅoÅ wrote:
> >> > 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.
Ok, thanks for the clarifications.
>
> Cheers
> Gr(z)egor(z)


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

www.wipro.com

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.