qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Weil <weil@mail.berlios.de>
To: QEMU Developers <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [PATCH] Support diskless PC
Date: Fri, 06 Feb 2009 23:13:29 +0100	[thread overview]
Message-ID: <498CB609.5000403@mail.berlios.de> (raw)

[-- 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,
 };

             reply	other threads:[~2009-02-06 22:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-06 22:13 Stefan Weil [this message]
2009-02-06 23:41 ` [Qemu-devel] Re: [PATCH] Support diskless PC 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=498CB609.5000403@mail.berlios.de \
    --to=weil@mail.berlios.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).