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

[Xen-bugs] [Bug 816] New: A wrong of parsing VM configuration



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=816

           Summary: A wrong of parsing VM configuration
           Product: Xen
           Version: unstable
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: kanno.masaki@xxxxxxxxxxxxxx


When I tested xm create command and VM configuration options, I found a bug.
The bug seems to occur when "0" is set to the VM configuration options.
 - Example-1: xm create command cannot set the CPU Affinity to the pCPU 0.
 - Example-2: xm create command does not become an error.

Example-1:
 # xm create /xen/vm1.conf cpu=0
 Using config file "/xen/vm1.conf".
 Started domain vm1
 # xm vcpu-list vm1
 Name                              ID VCPUs   CPU State   Time(s) CPU Affinity
 vm1                                1     0     1   r--       4.0 any cpu
 # xm create /xen/vm1.conf cpu=1
 Using config file "/xen/vm1.conf".
 Started domain vm1
 # xm vcpu-list vm1
 Name                              ID VCPUs   CPU State   Time(s) CPU Affinity
 vm1                                2     0     1   r--       3.9 1

Example-2:
 # xm create /xen/vm1.conf cpu_weight=0
 Using config file "/xen/vm1.conf".
 Started domain vm1
 # xm create /xen/vm1.conf cpu_weight=-1
 Using config file "/xen/vm1.conf".
 Error: weight is out of range


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