qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] ide: Adds "model=s" option, allowing the user t


From: Floris Bos / Maxnet
Subject: Re: [Qemu-devel] [PATCH] ide: Adds "model=s" option, allowing the user to override the default disk model name "QEMU HARDDISK"
Date: Mon, 12 Mar 2012 13:09:53 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

On 03/12/2012 12:57 PM, Kevin Wolf wrote:
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: address@hidden
Signed-off-by: Floris Bos<address@hidden>
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.

Well, to me it makes sense to put it at the same places "serial" is, as both options have quite similar functions: faking drive attributes.

--
Yours sincerely,

Floris Bos




reply via email to

[Prev in Thread] Current Thread [Next in Thread]