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

Re: [Xen-users] How to fix the CPU mapping?

To: tournesol33 <tournesol33@xxxxxxxxx>
Subject: Re: [Xen-users] How to fix the CPU mapping?
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Wed, 10 Jun 2009 13:30:50 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 09 Jun 2009 23:31:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A2F486C.4000803@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4A2F486C.4000803@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Jun 10, 2009 at 12:45 PM, tournesol33<tournesol33@xxxxxxxxx> wrote:
> Hi All,
>
>   Is there a way to fix the cpu mapping of the CPU and VCPU?
>
> ex:
> #xm vcpu-pin myvm 0 0
> #xm vcpu-pin myvm 1 1
>
> When the myvm got a reboot order, it going to change the  mapping  of CPUs
> which likes vcpu0=> cpu1, vcpu1=>cpu0.
>
> How can I fix vcpu0=cpu0, vcpu1=cpu1 ?

For dom0, there's dom0_vcpus_pin.

There's no such thing that I know now that can do the same for domU.
You can map which cpus to run domU on, but you can't pick which vcpu
is going to be on which cpu from the config file (other than using xm
vcpu-pin). What are you trying to achieve?

-- 
Fajar

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

<Prev in Thread] Current Thread [Next in Thread>