[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-bugs] [Bug 377] New: xm list doesn't report correct number of vcpus for dom0



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.