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-users

[Xen-users] Problem passing command-line parameters to xm create

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problem passing command-line parameters to xm create
From: "Olivier Pernet" <o.pernet@xxxxxxxxx>
Date: Tue, 20 Jun 2006 11:12:57 +0200
Delivery-date: Tue, 20 Jun 2006 02:14:08 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=KuYk4A2Rko4y6wGMJQm5huAAZspan4YDHFVd/plqqPS82N9pfL/kxky97Vv2RFGVHGWNoycJ3OJOjno1W0vsBd6l2BDRHuO0FksyQ4aGb84EKJMjs2RLiThEiybQv5oToX2/LWRGcXIwGAfWwQNyqGgh9m6+pDgVrlc59npEqI4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

I'm trying to create domains using xm create by passing all the
parameters on the command line, instead of putting them in
/etc/xen/xmdefconfig (I'm generating them from a script).

But, the very same configuration, while working when in the file,
fails with inline parameters :
xm create name="domainFoo" kernel="/boot/vmlinuz-2.6-xen" memory=256
root="/dev/sda1 ro" "disk=[ "file:/var/xen/domainFoo.img,sda1,w" ]"
Using config file "xmdefconfig".
Error: Device 2049 (vbd) could not be connected. Hotplug scripts not working.

It seems that the "disk" parameter isn't parsed correctly. Can you see
what I'm doing wrongly ?

Thanks in advance,

--
Olivier Pernet
Summer Student, CERN Openlab

We are the knights who say
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq'|dc

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>