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 475] New: No warning information when vcpus is set to 0

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 475] New: No warning information when vcpus is set to 0
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Wed, 11 Jan 2006 08:32:49 +0000
Delivery-date: Wed, 11 Jan 2006 08:42:45 +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=475

           Summary: No warning information when vcpus is set to 0
           Product: Xen
           Version: unstable
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: ping.y.yu@xxxxxxxxx


Bug detailed description:
--------------------------
In "xm create" script, we set vcpus=0, then create a domU,
there is no warning information when domU boots in console or log.


Reproduce steps:
----------------
(1) boot service OS
(2)xend start
(3)set vcpus=0 in "xm create" script
(4)xm create



Current result:
----------------
There is no warning information for a wrong configure.


Expected result:
----------------
a warning in console or in log to reminder user to config correctly.


Basic root-causing log:
----------------------
===xm create script===

kernel = "/boot/vmlinuz-2.6.12-xenU"
memory = 256
name = "ExampleDomain"
vcpus = 0
disk = [ 'file:/var/vmmtest/control_panel/domu_boot/xenU.1.img,hda1,w' ]
root = "/dev/hda1 ro"
extra = "4"

===== xend log======

[2005-09-20 14:19:03 xend] DEBUG (__init__:988) initDomain: cpu=-1 
mem_kb=262144 ssidref=-1 dom=6
[2005-09-20 14:19:03 xend] DEBUG (__init__:988) init_domain> Created domain=6 
name=ExampleDomain memory=256
[2005-09-20 14:19:03 xend] INFO (__init__:988) EVENT> xend.domain.create 
['ExampleDomain', 6]
[2005-09-20 14:19:03 xend] INFO (__init__:988) buildDomain os=linux dom=6 
vcpus=1
[2005-09-20 14:19:03 xend] DEBUG (__init__:988) dom            = 6
[2005-09-20 14:19:03 xend] DEBUG (__init__:988) image          = /boot/vmlinuz-
2.6.12-xenU
[2005-09-20 14:19:03 xend] DEBUG (__init__:988) store_evtchn   = 1
[2005-09-20 14:19:03 xend] DEBUG (__init__:988) console_evtchn = 2
[2005-09-20 14:19:03 xend] DEBUG (__init__:988) cmdline        =  
root=/dev/hda1 ro 4
[2005-09-20 14:19:03 xend] DEBUG (__init__:988) ramdisk        =
[2005-09-20 14:19:03 xend] DEBUG (__init__:988) flags          = 0
[2005-09-20 14:19:03 xend] DEBUG (__init__:988) vcpus          = 1
[2005-09-20 14:19:03 xend] DEBUG (__init__:988) exception looking up device 
number for hda1: [Errno 2] No such file or 
directory: '/dev/hda1'
[2005-09-20 14:19:04 xend] INFO (__init__:988) EVENT> xend.domain.unpause 
['ExampleDomain', 6]

-- 
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 475] New: No warning information when vcpus is set to 0, bugzilla-daemon <=