qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Support diskless PC
@ 2009-02-06 22:13 Stefan Weil
  2009-02-06 23:41 ` [Qemu-devel] " Jan Kiszka
  2009-02-06 23:45 ` [Qemu-devel] " Anthony Liguori
  0 siblings, 2 replies; 8+ messages in thread
From: Stefan Weil @ 2009-02-06 22:13 UTC (permalink / raw)
  To: QEMU Developers

[-- Attachment #1: Type: text/plain, Size: 174 bytes --]

Hello,

there is no reason why Qemu should not be able to emulate
a diskless PC. This patch allows this configuration
without tricks like dummy disks.

Regards
Stefan Weil



[-- Attachment #2: nodisk.patch --]
[-- Type: text/x-diff, Size: 697 bytes --]

There is no reason why Qemu should not be able to emulate
a diskless PC. So we support it.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>

Index: trunk/hw/pc.c
===================================================================
--- trunk.orig/hw/pc.c	2009-02-06 23:08:30.000000000 +0100
+++ trunk/hw/pc.c	2009-02-06 23:08:51.000000000 +0100
@@ -1147,6 +1147,7 @@
     .desc = "Standard PC",
     .init = pc_init_pci,
     .ram_require = VGA_RAM_SIZE + PC_MAX_BIOS_SIZE,
+    .nodisk_ok = 1,
     .max_cpus = 255,
 };
 
@@ -1155,5 +1156,6 @@
     .desc = "ISA-only PC",
     .init = pc_init_isa,
     .ram_require = VGA_RAM_SIZE + PC_MAX_BIOS_SIZE,
+    .nodisk_ok = 1,
     .max_cpus = 1,
 };

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-02-07  2:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-06 22:13 [Qemu-devel] [PATCH] Support diskless PC Stefan Weil
2009-02-06 23:41 ` [Qemu-devel] " Jan Kiszka
2009-02-06 23:46   ` Anthony Liguori
2009-02-06 23:45 ` [Qemu-devel] " Anthony Liguori
2009-02-07  0:17   ` [Qemu-devel] " Jan Kiszka
2009-02-07  1:29     ` Anthony Liguori
2009-02-07  2:27       ` [Qemu-devel] [PATCH] Remove nodisk_ok machine feature (was: [PATCH] Support diskless PC) Jan Kiszka
2009-02-07  0:42   ` [Qemu-devel] [PATCH] Support diskless PC Carl-Daniel Hailfinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).