Received: from eggs.gnu.org ([208.118.235.92]:33310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1ckR-0000BS-Tj for qemu-devel@nongnu.org; Wed, 15 Aug 2012 08:30:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1ckQ-00012K-Lf for qemu-devel@nongnu.org; Wed, 15 Aug 2012 08:30:55 -0400 From: Markus Armbruster References: <1344519084-21847-1-git-send-email-armbru@redhat.com> <1344519084-21847-21-git-send-email-armbru@redhat.com> <5023C745.9040907@web.de> <87d330ru8v.fsf@blackfin.pond.sub.org> <04C1EE4B-D92A-4AAA-B703-E78C4B6B1FD3@suse.de> Date: Wed, 15 Aug 2012 14:30:50 +0200 In-Reply-To: <04C1EE4B-D92A-4AAA-B703-E78C4B6B1FD3@suse.de> (Alexander Graf's message of "Thu, 9 Aug 2012 19:44:38 +0200") Message-ID: <877gt0gww5.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 20/23] ppc: Suppress unused default drives List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Blue Swirl , Andreas =?utf-8?Q?F=C3=A4rber?= , "qemu-ppc@nongnu.org" , "qemu-devel@nongnu.org" Alexander Graf writes: > On 09.08.2012, at 16:54, Markus Armbruster wrote: > >> Andreas F=C3=A4rber writes: >>=20 >>> Am 09.08.2012 15:31, schrieb Markus Armbruster: >>>> Cc: Alexander Graf >>>> Cc: Andreas F=C3=A4rber >>>> Cc: qemu-ppc@nongnu.org >>>>=20 >>>> Suppress default floppy drive for machines ref405ep, taihu, bamboo, >>>> mac99, g3beige, virtex-ml507. >>>>=20 >>>> Suppress default CD-ROM drive for machines ref405ep, taihu, bamboo, >>>> virtex-ml507. >>>>=20 >>>> Suppress default SD card drive for machines ref405ep, taihu, bamboo, >>>> mac88, g3beige, prep, virtex-ml507. >>>=20 >>> mac99 >>=20 >> Oopsie. Thanks! >>=20 >>>> Signed-off-by: Markus Armbruster >>>> --- >>>> hw/ppc405_boards.c | 6 ++++++ >>>> hw/ppc440_bamboo.c | 3 +++ >>>> hw/ppc_newworld.c | 2 ++ >>>> hw/ppc_oldworld.c | 2 ++ >>>> hw/ppc_prep.c | 1 + >>>> hw/virtex_ml507.c | 3 +++ >>>> 6 files changed, 17 insertions(+) >>> [...] >>>> diff --git a/hw/ppc_newworld.c b/hw/ppc_newworld.c >>>> index 4e2a6e6..1e41c2b 100644 >>>> --- a/hw/ppc_newworld.c >>>> +++ b/hw/ppc_newworld.c >>>> @@ -423,6 +423,8 @@ static QEMUMachine core99_machine =3D { >>>> .desc =3D "Mac99 based PowerMAC", >>>> .init =3D ppc_core99_init, >>>> .max_cpus =3D MAX_CPUS, >>>> + .no_floppy =3D 1, >>>> + .no_sdcard =3D 1, >>>> #ifdef TARGET_PPC64 >>>> .is_default =3D 1, >>>> #endif >>>=20 >>> Ack. >>>=20 >>>> diff --git a/hw/ppc_oldworld.c b/hw/ppc_oldworld.c >>>> index f2c6908..bcecc0a 100644 >>>> --- a/hw/ppc_oldworld.c >>>> +++ b/hw/ppc_oldworld.c >>>> @@ -338,6 +338,8 @@ static QEMUMachine heathrow_machine =3D { >>>> .desc =3D "Heathrow based PowerMAC", >>>> .init =3D ppc_heathrow_init, >>>> .max_cpus =3D MAX_CPUS, >>>> + .no_floppy =3D 1, >>>> + .no_sdcard =3D 1, >>>> #ifndef TARGET_PPC64 >>>> .is_default =3D 1, >>>> #endif >>>=20 >>> Ack for SD. >>>=20 >>> Not sure about the floppy. I thought the beige Old World machines used >>> to have a floppy with some incompatible Apple formatting... Did they use >>> a controller we don't implement? If so, then .no_floppy should get a >>> comment. >>=20 >> I have no idea. Alex? > > I'd have to check wikipedia all the same :) All right, I did: they had some kind of floppy. No clue what kind. And we already have a comment: /* TOFIX: for now, the second IDE channel is not properly * used by OHW. The Mac floppy disk are not emulated. * For now, OHW cannot boot from the network. */ Andreas, still want a comment next to .no_floppy?