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

[Xen-bugs] [Bug 776] New: [XEN-HVM] guests not seeing more than 1 vcpu

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 776] New: [XEN-HVM] guests not seeing more than 1 vcpu
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Mon, 25 Sep 2006 13:21:35 -0700
Delivery-date: Mon, 25 Sep 2006 13:22:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=776

           Summary: [XEN-HVM] guests not seeing more than 1 vcpu
           Product: Xen
           Version: unstable
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: HVM
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: ricardoz@xxxxxxxxxx
                CC: niv@xxxxxxxxxx, pl@xxxxxxxxxx, dbarrera@xxxxxxxxxx,
                    khoa@xxxxxxxxxx


HW: x460
procs: 8
mem: 2GB

xen version:

changeset:   11612:b7b653e36d20
tag:         tip
user:        Emmanuel Ackaouy <ack@xxxxxxxxxxxxx>
date:        Mon Sep 25 10:31:02 2006 +0100
summary:     Make dom0_vcpus_pin a platform independant option.


Problem description:

After installing a HVM guest, edit your guest config file and increase the
number of vcpus to > 1. Then, boot up your guest and check "xm list" to see the
number of vcpus and then check "xm top" and look at the number of vcpus. You
will notice that "xm list" is reporting only one.

In xend.log everything looks good as far as the parameters that get passed in.
the problem is that the gusts are not picking up more than 1 vcpu.

Detail:

- hvm-config file has "vcpus=4" set. 

when booting guest os, here are the actual status:

"xm-list":

Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0      494    16 r-----    431.8
sles9                                      2      256     1 -b----    156.7

"xm vcpu-list":

Name                              ID VCPUs   CPU State   Time(s) CPU Affinity
Domain-0                           0     0     4   r--     293.0 any cpu
Domain-0                           0     1    15   -b-      16.4 any cpu
Domain-0                           0     2    12   -b-      10.7 any cpu
Domain-0                           0     3     9   -b-       9.6 any cpu
Domain-0                           0     4     2   -b-      12.4 any cpu
Domain-0                           0     5     8   -b-      12.8 any cpu
Domain-0                           0     6     1   -b-      11.5 any cpu
Domain-0                           0     7     7   -b-       6.5 any cpu
Domain-0                           0     8     6   r--       6.5 any cpu
Domain-0                           0     9    10   -b-      13.2 any cpu
Domain-0                           0    10    11   -b-      10.0 any cpu
Domain-0                           0    11    14   -b-       5.6 any cpu
Domain-0                           0    12     3   -b-       7.3 any cpu
Domain-0                           0    13     5   -b-       9.4 any cpu
Domain-0                           0    14     6   -b-       7.3 any cpu
Domain-0                           0    15    13   -b-       9.3 any cpu
sles9                              2     0     0   ---     158.1 any cpu
sles9                              2     1     -   --p       0.0 any cpu
sles9                              2     2     -   --p       0.0 any cpu
sles9                              2     3     -   --p       0.0 any cpu

"xm top":

2 domains: 2 running, 0 blocked, 0 paused, 0 crashed, 0 dying, 0 shutdown
Mem: 8387736k total, 907272k used, 7480464k free    CPUs: 16 @ 3002MHz
      NAME  STATE   CPU(sec) CPU(%)     MEM(k) MEM(%)  MAXMEM(k) MAXMEM(%)
VCPUS NETS NETTX(k) NETRX(k) VBDS   VBD_OO 
  VBD_RD   VBD_WR SSID
  Domain-0 -----r        449   30.4     505856    6.0   no limit       n/a   
16    8    51353     5167    0        0
       0        0    0
     sles9 -----r        159    4.5     275048    3.3     283240       3.4    
4    1        0        0    1        0


Guest os "cat /proc/cpuinfo":

kali:~ # cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      : Genuine Intel(R) CPU 3.00GHz
stepping        : 8
cpu MHz         : 3004.253
cache size      : 2048 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov pat
clflush dts mmx fxsr sse sse2 ss pbe syscall lm pni ds_cpl
bogomips        : 21102.59


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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