WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Vcpu allocation for a newly created domU
From: Sandesh <sandesh.ahiremath@xxxxxxxxx>
Date: Mon, 16 Jun 2008 22:37:17 +0530
Delivery-date: Mon, 16 Jun 2008 09:56:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

 I am having confusion regarding the way a newly created domain is
allocated vcpu. 
 Initially during dom0 creation alloc_vcpu is called to create vcpu
structs for all the available cpu's and assigned to dom0. But its not
the case for domU creation.
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??
2. Till the end of DOMCTL_createdomain hypercall d->vcpu is null but by
the start of xc_linux_bulid_internal function d->vcpu is pointing to
some vcpu. How is this??
3. As part of the domU config file we can constraint the domU to a
specific CPU. How is this achieved unless there is an explict way of
assigning vcpu associated with that cpu number. 
 
  I apologise if the questions seem vague and silly. Any kind of hints
or pointers would be very helpful.

Thanks in advance

Regards,
  Sandesh




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