From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S73pQ-0003Um-Ou for qemu-devel@nongnu.org; Mon, 12 Mar 2012 07:54:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S73p2-0002ma-6H for qemu-devel@nongnu.org; Mon, 12 Mar 2012 07:54:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:12469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S73p1-0002mS-Ua for qemu-devel@nongnu.org; Mon, 12 Mar 2012 07:53:52 -0400 Message-ID: <4F5DE49D.1050402@redhat.com> Date: Mon, 12 Mar 2012 12:57:17 +0100 From: Kevin Wolf MIME-Version: 1.0 References: <1331409387-18234-1-git-send-email-bos@je-eigen-domein.nl> In-Reply-To: <1331409387-18234-1-git-send-email-bos@je-eigen-domein.nl> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] ide: Adds "model=s" option, allowing the user to override the default disk model name "QEMU HARDDISK" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Floris Bos Cc: Markus Armbruster , qemu-devel@nongnu.org, Floris Bos , Stefan Hajnoczi Am 10.03.2012 20:56, schrieb Floris Bos: > Some Linux distributions use the /dev/disk/by-id/scsi-SATA_name-of-disk-model_serial addressing scheme > when refering to partitions in /etc/fstab and elsewhere. > This causes problems when starting a disk image taken from an existing physical server under qemu, > because when running under qemu name-of-disk-model is always "QEMU HARDDISK" > This patch introduces a model=s option which in combination with the existing serial=s option can be used to > fake the disk the operating system was previously on, allowing the OS to boot properly. > > Cc: kwolf@redhat.com > Signed-off-by: Floris Bos Oh, and now that I look at the actual patch, do we really want to add the model=... option to -drive? I think just the qdev property may be enough. When you need to set the option, you would need to use -device, but it's not that hard. Kevin