From patchwork Thu Aug 9 13:31:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Armbruster X-Patchwork-Id: 176115 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 62AE22C00E3 for ; Fri, 10 Aug 2012 00:06:25 +1000 (EST) Received: from localhost ([::1]:46793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzSqZ-0003T4-Oo for incoming@patchwork.ozlabs.org; Thu, 09 Aug 2012 09:32:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzSpu-0001bS-5x for qemu-devel@nongnu.org; Thu, 09 Aug 2012 09:31:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SzSpm-0001kn-Bz for qemu-devel@nongnu.org; Thu, 09 Aug 2012 09:31:38 -0400 Received: from oxygen.pond.sub.org ([78.46.104.156]:37599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzSpm-0001jZ-3L for qemu-devel@nongnu.org; Thu, 09 Aug 2012 09:31:30 -0400 Received: from blackfin.pond.sub.org (p5B329920.dip.t-dialin.net [91.50.153.32]) by oxygen.pond.sub.org (Postfix) with ESMTPA id 891A6A3E0B; Thu, 9 Aug 2012 15:31:26 +0200 (CEST) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id CF0D12005E; Thu, 9 Aug 2012 15:31:25 +0200 (CEST) From: Markus Armbruster To: qemu-devel@nongnu.org Date: Thu, 9 Aug 2012 15:31:14 +0200 Message-Id: <1344519084-21847-14-git-send-email-armbru@redhat.com> X-Mailer: git-send-email 1.7.11.2 In-Reply-To: <1344519084-21847-1-git-send-email-armbru@redhat.com> References: <1344519084-21847-1-git-send-email-armbru@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 78.46.104.156 Cc: Michael Walle Subject: [Qemu-devel] [PATCH 13/23] lm32: Suppress unused default drives X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Cc: Michael Walle Suppress default floppy and CD-ROM drives for machines lm32-evr, lm32-uclinux, milkymist. Suppress default SD card drive for machines lm32-evr, lm32-uclinux. Signed-off-by: Markus Armbruster Acked-by: Michael Walle --- hw/lm32_boards.c | 6 ++++++ hw/milkymist.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/hw/lm32_boards.c b/hw/lm32_boards.c index b76d800..973f89e 100644 --- a/hw/lm32_boards.c +++ b/hw/lm32_boards.c @@ -290,6 +290,9 @@ static QEMUMachine lm32_evr_machine = { .name = "lm32-evr", .desc = "LatticeMico32 EVR32 eval system", .init = lm32_evr_init, + .no_floppy = 1, + .no_cdrom = 1, + .no_sdcard = 1, .is_default = 1 }; @@ -297,6 +300,9 @@ static QEMUMachine lm32_uclinux_machine = { .name = "lm32-uclinux", .desc = "lm32 platform for uClinux and u-boot by Theobroma Systems", .init = lm32_uclinux_init, + .no_floppy = 1, + .no_cdrom = 1, + .no_sdcard = 1, .is_default = 0 }; diff --git a/hw/milkymist.c b/hw/milkymist.c index 2e7235b..d58afe4 100644 --- a/hw/milkymist.c +++ b/hw/milkymist.c @@ -207,6 +207,8 @@ static QEMUMachine milkymist_machine = { .name = "milkymist", .desc = "Milkymist One", .init = milkymist_init, + .no_floppy = 1, + .no_cdrom = 1, .is_default = 0 };