Hi,
 
I want dom0 and a guest to be on the same physical cpu. I
have booted dom0 with 1 cpu and also modified /etc/xen/xend-config.sxp to say “dom0-cpus
1”.
I cannot pin the dom0 cpu however, I can pin the guest cpu to be the same as
dom0 pcpu. However, the moment I start running an app in the guest, dom0 pcpu
changes to something else.
 
I know it used to work before. I am using the xen-unstable from
Aug 29th. (there is a patch for IA64 on dom0 pinning, but nothing for
IA32)
 
Before xm vcpu-list
Name                             
ID  VCPU 
 CPU  State 
           Time(s)              CPU
Affinity
Domain-0                          
0     0    1                   r--   
   2254.4              any
cpu
Domain-0                          
0     1    -                 --p     
   0.0                   any
cpu
Domain-0                          
0     2    -                 --p      
 0.0                    any
cpu
Domain-0                          
0     3    -                 --p      
 0.0                    any
cpu
Guest1                                2   
0    1                  -b-  
     2244.2             
2
 
After xm vcpu-list
Name                             
ID  VCPU 
 CPU  State 
           Time(s)              CPU
Affinity
Domain-0                          
0     0      3               
 r--       2254.4              any
cpu
Domain-0                          
0     1    -                 --p     
   0.0                   any
cpu
Domain-0                          
0     2    -                 --p      
  0.0                   any
cpu
Domain-0                          
0     3    -                 --p      
  0.0                   any
cpu
Guest1                                2   
0      1                -b-  
     2244.2             
2
 
 
Thanks
Padma