qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 17/23] mips_malta mips_r4k: Suppress unused defa


From: Stefan Weil
Subject: Re: [Qemu-devel] [PATCH 17/23] mips_malta mips_r4k: Suppress unused default drives
Date: Thu, 16 Aug 2012 13:51:41 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0

Am 09.08.2012 15:31, schrieb Markus Armbruster:
Cc: Aurelien Jarno <address@hidden>

Suppress default SD card drive for machines malta, mips.

Suppress default floppy drive for machine mips.

Signed-off-by: Markus Armbruster <address@hidden>
---
  hw/mips_malta.c | 1 +
  hw/mips_r4k.c   | 2 ++
  2 files changed, 3 insertions(+)

diff --git a/hw/mips_malta.c b/hw/mips_malta.c
index 351c88e..c1c52ac 100644
--- a/hw/mips_malta.c
+++ b/hw/mips_malta.c
@@ -1019,6 +1019,7 @@ static QEMUMachine mips_malta_machine = {
      .desc = "MIPS Malta Core LV",
      .init = mips_malta_init,
      .max_cpus = 16,
+    .no_sdcard = 1,
      .is_default = 1,
  };
diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c
index 967a76e..d9f6dc5 100644
--- a/hw/mips_r4k.c
+++ b/hw/mips_r4k.c
@@ -299,6 +299,8 @@ static QEMUMachine mips_machine = {
      .name = "mips",
      .desc = "mips r4k platform",
      .init = mips_r4k_init,
+    .no_floppy = 1,
+    .no_sdcard = 1,
  };
static void mips_machine_init(void)

Reviewed-by: Stefan Weil <address@hidden>

I'd prefer using 'true' instead of '1' (and changing the
variables to type bool), but that can be done later.

Regards,

Stefan W.




reply via email to

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