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

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

  • To: Sandesh <sandesh.ahiremath@xxxxxxxxx>
  • From: "Grzegorz Miłoś" <gm281@xxxxxxxxx>
  • Date: Wed, 18 Jun 2008 17:09:55 +0100
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 18 Jun 2008 09:10:16 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=K2iYwZ5eFFskfxVoxbTi+eNGor3vyaDB53HqAlN9TIUxv0Ic/QOFJX9fUzYLeL8R0+ kWhr+oDtaV5xzSGs5Em37XBhY327trdN2BvX1C0PgLwXql7BufDNBzq//AvrZB3ilVbv Vddx6jB+NqNKvIYug0ltjgbVj4byDreIMixMo=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

>> > 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.


Xen-devel mailing list



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