[Fedora-xen] command line kernel parameters

You, Yongkang yongkang.you at intel.com
Tue Jul 18 22:54:42 UTC 2006


I think you want to add some kernel booting parameter to a XenU domain. 
You can try to add "extra=booting_parameter" in XenU configuration file. 

Best Regards,
Yongkang (Kangkang) 永康

>-----Original Message-----
>From: fedora-xen-bounces at redhat.com
>[mailto:fedora-xen-bounces at redhat.com] On Behalf Of Chris McKeever
>Sent: 2006年7月18日 23:35
>To: fedora-xen at redhat.com
>Subject: [Fedora-xen] command line kernel parameters
>
>I am trying to set some networking options via the kernel command line --
>I have recompiled the kernel to support IP_PNP (IP: kernel level
>autoconfiguration)
>but I dont even think I have gotten to the need of that part, xm
>create doesn't even seem to pass the arguements to the kernel:
>
>xen 3.0.2 source compile
>FC5
>
>conf:
>kernel="/boot/vmlinuz-2.6.16-xen"
>memory=128
>name="fedora.fc4"
>vif = [ 'ip=192.168.1.61, mac=00:16:3E:3E:30:C8' ]
>disk=['file:/xen/fc4/image,sda1,w', 'file:/xen/fc4/swap,sda2,w']
>#dhcp = "dhcp"   <-- tried as commented out and "off"
>netmask="255.255.255.0"
>gateway="192.168.1.1"
>hostname="ds-1"
>root="/dev/sda1 ro"
>
># xm create -n conf
>Using config file "conf".
>(vm
>    (name fedora.fc4)
>    (memory 128)
>    (vcpus 1)
>    (image (linux (kernel /boot/vmlinuz-2.6.16-xen) (root '/dev/sda1 ro')))
>    (device (vbd (uname file:/xen/fc4/image) (dev sda1) (mode w)))
>    (device (vbd (uname file:/xen/fc4/swap) (dev sda2) (mode w)))
>    (device (vif (ip 192.168.1.61) (mac 00:16:3E:3E:30:C8)))
>)
>
>from the console:
># dmesg | grep command
>Kernel command line:  root=/dev/sda1 ro
>
>so - it seems the command line isnt being passed what aI *think* it
>should be passed - any ideas??
>
>
>--
>----------------------------------
>please respond to the list .. if you need to contact me direct
>cgmckeever is the account
>prupref.com is the domain
>
><A href="http://www.prupref.com">Simply Chicago Real Estate</A>
>
>--
>Fedora-xen mailing list
>Fedora-xen at redhat.com
>https://www.redhat.com/mailman/listinfo/fedora-xen




More information about the xen mailing list