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 377] New: xm list doesn't report correct number of vcpus

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 377] New: xm list doesn't report correct number of vcpus for dom0
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Tue, 01 Nov 2005 22:33:08 +0000
Delivery-date: Tue, 01 Nov 2005 22:33:12 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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=377

           Summary: xm list doesn't report correct number of vcpus for dom0
           Product: Xen
           Version: unstable
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: ryanh@xxxxxxxxxx


After booting dom0 SMP, and starting up xend, comparing /proc/cpuinfo and xm
list, the number of vcpus don't match.

(bebop) ~ # grep processor /proc/cpuinfo | wc -l
2
(bebop) ~ # xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      507     1 r-----    22.5

I believe this has to do with pyxc_domain_getinfo not having a 'vcpus' entry,
only 'online_vcpus' and 'max_vcpu_id'.  I tried to install online_vcpus in a
couple of places where I thought we should replace 'vcpus', and I could get dom0
to report the correct # of vcpus, but when I tried to create a domain, I got:

(bebop) ~ # xm create /etc/xen/ubuntu_hoary_amd64_dom1 vcpus=4 -c
Using config file "/etc/xen/ubuntu_hoary_amd64_dom1".
Error: Error creating domain: 'online_vcpus'

Platform:      IBM Opteron 2-way, x86_64 SMP
Xen changeset: 7597:ab11509a3f2c

I've reproduced on x86_32 SMP as well.

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 377] New: xm list doesn't report correct number of vcpus for dom0, bugzilla-daemon <=