|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Error creating domain - int argument required
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@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|