From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [qemu-kvm][PATCH] Add "sda" alias options to "hda" options Date: Tue, 08 Sep 2009 10:26:56 +0300 Message-ID: <4AA60740.6040302@redhat.com> References: <411a180c0909070700m2d893e7fx748f801fff762cb@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Ozawa Tsuyoshi Return-path: Received: from mx1.redhat.com ([209.132.183.28]:33910 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753562AbZIHH1A (ORCPT ); Tue, 8 Sep 2009 03:27:00 -0400 In-Reply-To: <411a180c0909070700m2d893e7fx748f801fff762cb@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On 09/07/2009 05:00 PM, Ozawa Tsuyoshi wrote: > qemu-kvm: Add "sda" alias options to "hda" options > > I know that the name "hda" come from IDE drive, but I felt strange > when I use qemu to boot linux kernel directly as follows: > > $ qemu-system-x86 -kernel vmlinux-2.6.28.15 -initrd > initrd.img-2.6.28.15 -hda vdisk.img > > By applying this patch, the command will change to: > > $ qemu-system-x86 -kernel vmlinux-2.6.28.15 -initrd > initrd.img-2.6.28.15 -sda vdisk.img > > The latter one seems to be more intuitive for me. > > -hda is deprecated in favor of -drive, please use -drive instead. -- error compiling committee.c: too many arguments to function