qemu-ppc
[Top][All Lists]
Advanced

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

Re: [Qemu-ppc] [PATCH] Changes default cdrom options to work better with


From: Alexander Graf
Subject: Re: [Qemu-ppc] [PATCH] Changes default cdrom options to work better with Mac OS X.
Date: Sun, 23 Jun 2013 03:08:13 +0200

On 23.06.2013, at 03:04, Programmingkid wrote:

> This patch makes the default cdrom options more compatible with Mac OS X.
> 
> With this patch I was finally able to see "Got boot device" printed by Darwin 
> 8! This made the installer for Darwin 8 actually show up in QEMU. 
> 
> signed-off-by: John Arbuckle <address@hidden>
> 
> ---
> vl.c |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/vl.c b/vl.c
> index a8dc73d..cb53656 100644
> --- a/vl.c
> +++ b/vl.c
> @@ -3085,7 +3085,7 @@ int main(int argc, char **argv, char **envp)
>                 qemu_opts_set(qemu_find_opts("machine"), 0, "dtb", optarg);
>                 break;
>             case QEMU_OPTION_cdrom:
> -                drive_add(IF_DEFAULT, 2, optarg, CDROM_OPTS);
> +                drive_add(IF_IDE, 0, optarg, CDROM_OPTS);

Consider me puzzled. Why is IF_DEFAULT and different from IF_IDE on g3beige?


Alex




reply via email to

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