From: Kip Macy <kip.macy@gmail.com>
To: Ewan Mellor <ewan@xensource.com>
Cc: David F Barrera <dfbp@us.ibm.com>,
xen-devel <xen-devel@lists.xensource.com>,
Ignatia Suwarna <isuwarna@gmail.com>
Subject: Re: Error creating domain - int argument required
Date: Wed, 21 Sep 2005 17:35:55 -0700 [thread overview]
Message-ID: <b1fa291705092117354e05a70c@mail.gmail.com> (raw)
In-Reply-To: <20050921230746.GA4105@linford.intra>
[-- Attachment #1.1: Type: text/plain, Size: 1724 bytes --]
I found the problem. Your changes to the parsing code earlier today made it
less tolerant of unset values where you're expecting a type. Adding cpu=-1
to the command line made the complaints go away.
On line 221 in XendDomainInfo.py you may want to change
result['cpu'] = get_cfg('cpu', int)
to
result['cpu'] = get_cfg('cpu')
and then change the current behaviour for -1 to handle None.
-Kip
On 9/21/05, Ewan Mellor <ewan@xensource.com> wrote:
>
> On Wed, Sep 21, 2005 at 02:54:27PM -0500, David F Barrera wrote:
>
> > On Wed, 2005-09-21 at 12:14 -0700, Ignatia Suwarna wrote:
> > > Here is my domU config:
> > > kernel="/boot/vmlinuz-2.6.12-1.1447_FC4xenU"
> > > memory=64
> > > name="rawhide"
> > > nics=1
> > > disk=['file:/root/fedora.img, sda1, w']
> > > root="/dev/sda1"
> > > extra="rp selinux=0 3"
> > >
> > > I also started over with hda1, since there is /dev/hda1, but it gave
> > > the same error:
> > > Error creating domain, int required.
> > >
> > > Is this a known issue? Or something wrong with my config??
> >
> > I think it is a bug. I am seeing this problem, too, using the latest hg
> > pull, changeset 6987. I have opened up a bugzilla report on it, #246.
> >
> > http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=246
> >
> > x335b:/tmp/xen # xm create -c vm1.cfg
> > Using config file "vm1.cfg".
> > Error: Error creating domain: int argument required
> > x335b:/tmp/xen #
>
> Do you have anything useful in /var/log/xend-debug.log? Type errors like
> this
> usually appear there.
>
> Ewan.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
[-- Attachment #1.2: Type: text/html, Size: 2711 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2005-09-22 0:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-21 0:37 Error creating domain - int argument required Ignatia Suwarna
[not found] ` <1127263786.23958.170.camel@pluto.linsolutions.com>
2005-09-21 19:14 ` Ignatia Suwarna
2005-09-21 19:54 ` David F Barrera
2005-09-21 23:07 ` Ewan Mellor
2005-09-21 23:55 ` Kip Macy
2005-09-22 0:35 ` Kip Macy [this message]
[not found] ` <1127331144.23958.213.camel@pluto.linsolutions.com>
2005-09-21 22:05 ` Ignatia Suwarna
2005-09-21 22:21 ` David F Barrera
-- strict thread matches above, loose matches on Subject: below --
2005-09-21 22:53 Puthiyaparambil, Aravindh
2005-09-22 9:54 Li, Xin B
2005-09-22 10:09 ` Ewan Mellor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b1fa291705092117354e05a70c@mail.gmail.com \
--to=kip.macy@gmail.com \
--cc=dfbp@us.ibm.com \
--cc=ewan@xensource.com \
--cc=isuwarna@gmail.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.