Skip to contentSkip to conversation

Cocoa patch queue 2012-05-01

GIT PULL Blue Swirl 3 participants 3 messages May 1, 2012 – May 2, 2012 2 messages not in the archive

lore
Share & tools
lore

Blue Swirl

author
#1 lore raw
In reply to a message not in the archive
Quoted 3 lines · Andreas Färber

Hello Blue,

Please pull the Cocoa queue into qemu.git master.

Thanks, pulled.

Quoted 47 lines

The following changes since commit 42fe1c245f0239ebcdc084740a1777ac3699d071:
 Stefan Weil (1):
       main-loop: Fix build for w32 and w64

are available in the git repository at:

 git://repo.or.cz/qemu/afaerber.git cocoa-for-upstream

Andreas Färber (1):
     Drop darwin-user

Pavel Borzenkov (2):
     raw-posix: Do not use CONFIG_COCOA macro
     configure: add '--disable-cocoa' switch

 MAINTAINERS                          |    5 - Makefile.target                      |   28 - block/raw-posix.c                    |    8 +- configure                            |   30 +- darwin-user/commpage.c               |  357 -------- darwin-user/ioctls.h                 |    4 - darwin-user/ioctls_types.h           |    1 - darwin-user/machload.c               |  902 -------------------

 darwin-user/main.c                   | 1027 ----------------------
 darwin-user/mmap.c                   |  409 ---------
 darwin-user/qemu.h                   |  178 ----

 darwin-user/signal.c                 |  452 ---------- darwin-user/syscall.c                | 1566 ---------------------------------- darwin-user/syscalls.h               |  384 --------- default-configs/i386-darwin-user.mak |    1 - default-configs/ppc-darwin-user.mak  |    3 -
 qemu-doc.texi                        |   90 --
 qemu-tech.texi                       |    3 +-

 18 files changed, 9 insertions(+), 5439 deletions(-)

 delete mode 100644 darwin-user/commpage.c delete mode 100644 darwin-user/ioctls.h
 delete mode 100644 darwin-user/ioctls_types.h delete mode 100644 darwin-user/machload.c delete mode 100644 darwin-user/main.c
 delete mode 100644 darwin-user/mmap.c
 delete mode 100644 darwin-user/qemu.h
 delete mode 100644 darwin-user/signal.c
 delete mode 100644 darwin-user/syscall.c delete mode 100644 darwin-user/syscalls.h delete mode 100644 default-configs/i386-darwin-user.mak delete mode 100644 default-configs/ppc-darwin-user.mak

#3 lore raw

Re: [Qemu-devel] [PATCH 1/3] raw-posix: Do not use CONFIG_COCOA macro

In reply to a message not in the archive

Am 01.05.2012 00:15, schrieb Andreas Färber:

Quoted 18 lines

From: Pavel Borzenkov <[email protected]>

Use __APPLE__ and __MACH__ macros instead of CONFIG_COCOA to detect Mac OS X host. The patch is based on Ben Leslie's patch:
http://patchwork.ozlabs.org/patch/97859/

---
 block/raw-posix.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
block/raw-posix.c +0 -0
index 2d1bc13..03fcfcc 100644

block/raw-posix.c line 32

Quoted 5 lines
block/raw-posix.c +1 -1
@@ -29,7 +29,7 @@
 #include "module.h"
 #include "block/raw-posix-aio.h"
 
-#ifdef CONFIG_COCOA
+#if defined(__APPLE__) && (__MACH__)

Is there a 'defined' missing?

Kevin

#4 lore raw

Re: [Qemu-devel] [PATCH 1/3] raw-posix: Do not use CONFIG_COCOA macro

Am 02.05.2012 10:02, schrieb Kevin Wolf:

Quoted 22 lines

Am 01.05.2012 00:15, schrieb Andreas Färber:

Quoted 21 lines

From: Pavel Borzenkov <[email protected]>

Use __APPLE__ and __MACH__ macros instead of CONFIG_COCOA to detect Mac OS X host. The patch is based on Ben Leslie's patch:
http://patchwork.ozlabs.org/patch/97859/

---
 block/raw-posix.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
block/raw-posix.c +0 -0
index 2d1bc13..03fcfcc 100644
@@ -29,7 +29,7 @@
 #include "module.h"
 #include "block/raw-posix-aio.h"
 
Quoted 4 lines

block/raw-posix.c line 32

Quoted 2 lines
block/raw-posix.c +1 -1
-#ifdef CONFIG_COCOA
+#if defined(__APPLE__) && (__MACH__)

Is there a 'defined' missing?

Seems like it, I'll send you a fixup patch.

Thanks for noticing,

Andreas