[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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.

Olivier,

according to the xm man page you should specify /dev/null as "config file" like this (taken from man):

xm create /dev/null ramdisk=initrd-xen \
                    kernel=/boot/vmlinuz-xen \
                    name=ramdisk nics=0 vcpus=1 \
                    memory=64 root=/dev/ram0


Looks like in this case you should omit the quotation marks.

Cheers,
Andrej

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.