build: fix build break on macos
authorsyeon.hwang <syeon.hwang@samsung.com>
Thu, 11 Oct 2012 06:01:44 +0000 (15:01 +0900)
committersyeon.hwang <syeon.hwang@samsung.com>
Thu, 11 Oct 2012 06:20:53 +0000 (15:20 +0900)
hw/acpi_piix4.c
tizen/emulator_configure.sh
vl.c

index 929c28edb9a68b78d60a29f7746695bbbecfc50d..e22e354d8682836829302ea9ae7da13791089c9e 100644 (file)
@@ -434,7 +434,7 @@ i2c_bus *piix4_pm_init(PCIBus *bus, int devfn, uint32_t smb_io_base,
     PCIDevice *dev;
     PIIX4PMState *s;
 
-#if defined(CONFIG_MARU) && defined(__x86_64__)
+#if 0 //#if defined(CONFIG_MARU) && defined(__x86_64__)
     dev = pci_create(bus, devfn, "MARU_PM");
 #else
     dev = pci_create(bus, devfn, "PIIX4_PM");
@@ -487,7 +487,7 @@ static void piix4_pm_class_init(ObjectClass *klass, void *data)
 }
 
 static TypeInfo piix4_pm_info = {
-#if defined(CONFIG_MARU) && defined(__x86_64__)
+#if 0 //#if defined(CONFIG_MARU) && defined(__x86_64__)
     .name          = "MARU_PM",
 #else
     .name          = "PIIX4_PM",
index 46e7cc47ee5dcf99c1e1438abd322fd93d7342a6..9654efd7b45e7f06a4f8f3b6b7a5846931243b97 100755 (executable)
@@ -71,6 +71,8 @@ echo "##### QEMU configure for emulator"
  --enable-maru \
  --enable-hax \
  --disable-vnc \
+ --disable-cocoa \
+ --disable-gl \
  --disable-sdl $1
 ;;
 esac
diff --git a/vl.c b/vl.c
index c469f547ec823e1d0507e3b1f690a5bac229d44f..c561ba4f7ca319017f584d2103bc5288a2ba5b69 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -3445,7 +3445,7 @@ int main(int argc, char **argv, char **envp)
             case QEMU_OPTION_enable_hax:
 #ifdef CONFIG_HAX_BACKEND
                 olist = qemu_find_opts("machine");
-                qemu_opts_reset(olist);
+                //qemu_opts_reset(olist);
                 hax_disable(0);
                 //qemu_opts_parse(olist, "accel=hax", 0);
 #else