From: Stefan Berger <stefanb@us.ibm.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] More Win32 build fixes
Date: Fri, 05 Dec 2008 09:11:13 -0500 [thread overview]
Message-ID: <1228486273.1245.1.camel@gsal-3.watson.ibm.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 105 bytes --]
This fixes one more current build problem on Win32.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
[-- Attachment #2: win32_build_fix.diff --]
[-- Type: text/x-patch, Size: 781 bytes --]
Index: work/qemu/hw/pc.c
===================================================================
--- work.orig/qemu/hw/pc.c
+++ work/qemu/hw/pc.c
@@ -33,8 +33,10 @@
#include "boards.h"
#include "console.h"
#include "fw_cfg.h"
+#ifndef _WIN32
#include "virtio-blk.h"
#include "virtio-balloon.h"
+#endif
/* output Bochs bios info messages */
#define DEBUG_BIOS
@@ -1100,6 +1102,7 @@ static void pc_init1(ram_addr_t ram_size
}
}
+#ifndef _WIN32
/* Add virtio block devices */
if (pci_enabled) {
int index;
@@ -1115,6 +1118,7 @@ static void pc_init1(ram_addr_t ram_size
/* Add virtio balloon device */
if (pci_enabled)
virtio_balloon_init(pci_bus);
+#endif
}
static void pc_init_pci(ram_addr_t ram_size, int vga_ram_size,
next reply other threads:[~2008-12-05 14:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-05 14:11 Stefan Berger [this message]
2008-12-05 14:29 ` [Qemu-devel] More Win32 build fixes Anthony Liguori
2008-12-05 15:34 ` Stefan Berger
2008-12-05 19:30 ` Anthony Liguori
2008-12-05 20:03 ` Stefan Berger
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=1228486273.1245.1.camel@gsal-3.watson.ibm.com \
--to=stefanb@us.ibm.com \
--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).