qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] More Win32 build fixes
@ 2008-12-05 14:11 Stefan Berger
  2008-12-05 14:29 ` Anthony Liguori
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Berger @ 2008-12-05 14:11 UTC (permalink / raw)
  To: qemu-devel

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

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

end of thread, other threads:[~2008-12-05 20:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-05 14:11 [Qemu-devel] More Win32 build fixes Stefan Berger
2008-12-05 14:29 ` Anthony Liguori
2008-12-05 15:34   ` Stefan Berger
2008-12-05 19:30     ` Anthony Liguori
2008-12-05 20:03       ` Stefan Berger

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).