From: Ian Campbell Subject: Re: [RFC PATCH V5 2/3] xl.cfg: add 'cmdline' in config file Date: Thu, 10 Jul 2014 15:49:45 +0100 Message-ID: <1405003785.26155.14.camel@kazak.uk.xensource.com> References: <1404714875-24362-1-git-send-email-cyliu@suse.com> <1404714875-24362-3-git-send-email-cyliu@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1404714875-24362-3-git-send-email-cyliu@suse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: Chunyan Liu Cc: xen-devel@lists.xensource.com, Ian.Jackson@eu.citrix.com, qemu-devel@nongnu.org, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Mon, 2014-07-07 at 14:34 +0800, Chunyan Liu wrote: > Currently in xl.cfg, use 'root' and 'extra' to generate the command > line. 'cmdline' could be a more generic equivalent. So, add 'cmdline' > in xl.cfg and let it be preferred. 'root' and 'extra' still works. > But when 'cmdline' is specified, 'root' and 'extra' will be ignored. > > [HVM config example] > [snip] > builder="hvm" > device_model_override="/home/cyliu/git/qemu/x86_64-softmmu/qemu-system-x86_64" > kernel="/mnt/vmlinuz-3.0.13-0.27-default" > ramdisk="/mnt/initrd-3.0.13-0.27-default" > root="/dev/hda2" > extra="console=tty0 console=ttyS0" > [snip] > > or: > > [snip] > builder="hvm" > device_model_override="/home/cyliu/git/qemu/x86_64-softmmu/qemu-system-x86_64" > kernel="/mnt/vmlinuz-3.0.13-0.27-default" > ramdisk="/mnt/initrd-3.0.13-0.27-default" > cmdline="root=/dev/hda2 console=tty0 console=ttyS0" > [snip] > > > Signed-off-by: Chunyan Liu Acked-by: Ian Campbell