qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/3] ide: Adds "model=s" qdev option, allowing t


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 1/3] ide: Adds "model=s" qdev option, allowing the user to override the default disk model name "QEMU HARDDISK"
Date: Tue, 13 Mar 2012 10:14:50 +0000

On Mon, Mar 12, 2012 at 8:05 PM, Floris Bos <address@hidden> wrote:
> 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>
> ---
>  hw/ide/core.c     |   27 ++++++++++++++++++++++-----
>  hw/ide/internal.h |    4 +++-
>  hw/ide/qdev.c     |    6 ++++--
>  3 files changed, 29 insertions(+), 8 deletions(-)

Reviewed-by: Stefan Hajnoczi <address@hidden>



reply via email to

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