Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-bugs

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

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 816] New: A wrong of parsing VM configuration
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Thu, 16 Nov 2006 21:42:00 -0800
Delivery-date: Thu, 16 Nov 2006 21:43:00 -0800
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=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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 816] New: A wrong of parsing VM configuration, bugzilla-daemon <=