pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/qemu Update to 0.9.0. Thanks to Michael Van ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/298ba26127ab
branches:  trunk
changeset: 528971:298ba26127ab
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Mon May 21 20:24:44 2007 +0000

description:
Update to 0.9.0. Thanks to Michael Van Elst for sending me the missing
patch to let this build on systems without POSIX AIO.

version 0.9.0:

- Support for relative paths in backing files for disk images
- Async file I/O API
- New qcow2 disk image format
- Support of multiple VM snapshots
- Linux: specific host CDROM and floppy support
- SMM support
- Moved PCI init, MP table init and ACPI table init to Bochs BIOS
- Support for MIPS32 Release 2 instruction set (Thiemo Seufer)
- MIPS Malta system emulation (Aurelien Jarno, Stefan Weil)
- Darwin userspace emulation (Pierre d'Herbemont)
- m68k user support (Paul Brook)
- several x86 and x86_64 emulation fixes
- Mouse relative offset VNC extension (Anthony Liguori)
- PXE boot support (Anthony Liguori)
- '-daemonize' option (Anthony Liguori)

diffstat:

 emulators/qemu/Makefile         |    6 +-
 emulators/qemu/PLIST            |    5 +-
 emulators/qemu/distinfo         |   25 +++------
 emulators/qemu/patches/patch-ab |   20 -------
 emulators/qemu/patches/patch-ac |   42 +++-------------
 emulators/qemu/patches/patch-af |   40 ---------------
 emulators/qemu/patches/patch-ah |   20 -------
 emulators/qemu/patches/patch-ai |   20 -------
 emulators/qemu/patches/patch-aj |   51 --------------------
 emulators/qemu/patches/patch-ak |   30 +---------
 emulators/qemu/patches/patch-al |   33 -------------
 emulators/qemu/patches/patch-ap |   18 -------
 emulators/qemu/patches/patch-as |   14 -----
 emulators/qemu/patches/patch-at |   17 ------
 emulators/qemu/patches/patch-au |   20 +++++--
 emulators/qemu/patches/patch-ay |  101 +++++++++++++++++++++++++++++++++++----
 16 files changed, 132 insertions(+), 330 deletions(-)

diffs (truncated from 594 to 300 lines):

diff -r 05a356fb5972 -r 298ba26127ab emulators/qemu/Makefile
--- a/emulators/qemu/Makefile   Mon May 21 10:04:40 2007 +0000
+++ b/emulators/qemu/Makefile   Mon May 21 20:24:44 2007 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.44 2007/02/22 19:26:27 wiz Exp $
+# $NetBSD: Makefile,v 1.45 2007/05/21 20:24:44 xtraeme Exp $
 #
 
-DISTNAME=              qemu-0.8.2
-PKGREVISION=           2
+DISTNAME=              qemu-0.9.0
+#PKGREVISION=          1
 CATEGORIES=            emulators
 MASTER_SITES=          http://fabrice.bellard.free.fr/qemu/
 
diff -r 05a356fb5972 -r 298ba26127ab emulators/qemu/PLIST
--- a/emulators/qemu/PLIST      Mon May 21 10:04:40 2007 +0000
+++ b/emulators/qemu/PLIST      Mon May 21 20:24:44 2007 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2006/09/17 07:51:56 xtraeme Exp $
+@comment $NetBSD: PLIST,v 1.15 2007/05/21 20:24:44 xtraeme Exp $
 bin/qemu
 bin/qemu-img
 bin/qemu-system-arm
@@ -54,6 +54,9 @@
 share/qemu/vgabios-cirrus.bin
 share/qemu/vgabios.bin
 share/qemu/video.x
+share/qemu/pxe-ne2k_pci.bin
+share/qemu/pxe-pcnet.bin
+share/qemu/pxe-rtl8139.bin
 @dirrm share/qemu/keymaps
 @dirrm share/qemu
 @dirrm share/doc/qemu
diff -r 05a356fb5972 -r 298ba26127ab emulators/qemu/distinfo
--- a/emulators/qemu/distinfo   Mon May 21 10:04:40 2007 +0000
+++ b/emulators/qemu/distinfo   Mon May 21 20:24:44 2007 +0000
@@ -1,24 +1,15 @@
-$NetBSD: distinfo,v 1.31 2007/01/06 21:21:35 xtraeme Exp $
+$NetBSD: distinfo,v 1.32 2007/05/21 20:24:44 xtraeme Exp $
 
-SHA1 (qemu-0.8.2.tar.gz) = d775239a545e7d0c5b677660a2122df590afde6d
-RMD160 (qemu-0.8.2.tar.gz) = 715c24997330352aa675cd7279731cec251f833a
-Size (qemu-0.8.2.tar.gz) = 1810909 bytes
+SHA1 (qemu-0.9.0.tar.gz) = 1e57e48a06eb8729913d92601000466eecef06cb
+RMD160 (qemu-0.9.0.tar.gz) = 4296542b6da18a6ac93d20787330d3c1c2ac0a19
+Size (qemu-0.9.0.tar.gz) = 1901741 bytes
 SHA1 (patch-aa) = 455575215bad8864da285e1979da9ff7d8476a24
-SHA1 (patch-ab) = 12838d78eed85c575214f4ce632a4b6694c6f97f
-SHA1 (patch-ac) = f1231bcfde687ebe7a7ea4898593cd3818f03142
-SHA1 (patch-af) = c139e919da430c0118dc774587e1e6dd718d7926
+SHA1 (patch-ac) = dd1325e19bee1fb1ff1f08e0248d0972706802ac
 SHA1 (patch-ag) = 91f10c4556a45ca3ec19efe67dcaa6625902c120
-SHA1 (patch-ah) = 134f47583dbed94e83671ca6197106805b13f759
-SHA1 (patch-ai) = 480cc80a451488a1376f99ed152a917116759cbf
-SHA1 (patch-aj) = 4972ee341782419114972b91fb6354ee9881b60f
-SHA1 (patch-ak) = 4715a464554469e8dac9cde93db83a90885b8a7e
-SHA1 (patch-al) = d61bce6a4cebae4ba1f87ce9def277c0ffc5843d
+SHA1 (patch-ak) = d57f616987260a700f038a633708a27b68d2bbe2
 SHA1 (patch-am) = a22a3b23284c377afa8113768d68c8ef40c514f9
 SHA1 (patch-ao) = e92d56f991cf29f83e39464f9e695caa86fe5fe0
-SHA1 (patch-ap) = 6cd565b9a3b06aea12fbedb1199e16dd0f3577ae
-SHA1 (patch-as) = 0df64b325b758a88fe61590e129bab2b3f99ce63
-SHA1 (patch-at) = c6f0129eccf7574e3832aff746d2f0bd442de7c1
-SHA1 (patch-au) = 29d05fb5f4717fb572491d9d0653ec74ba46ae7e
+SHA1 (patch-au) = afe7e210b7158064b8f64452c5e5ab95631bf9eb
 SHA1 (patch-aw) = 3b1472a95a2312f9e49ea1a6aa517ad81328324c
 SHA1 (patch-ax) = 66b060005ecbf9fd0451f7960e81eccbabf959ca
-SHA1 (patch-ay) = 45fa8b5720185b5bfe2d1c00f599565f286ea4f5
+SHA1 (patch-ay) = 2d3051685878abe077abdbba9681bd04e04c7fb3
diff -r 05a356fb5972 -r 298ba26127ab emulators/qemu/patches/patch-ab
--- a/emulators/qemu/patches/patch-ab   Mon May 21 10:04:40 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-$NetBSD: patch-ab,v 1.6 2006/05/06 18:41:49 xtraeme Exp $
-
---- target-arm/cpu.h.orig      2005-12-19 23:51:53.000000000 +0100
-+++ target-arm/cpu.h
-@@ -122,9 +122,15 @@ void switch_mode(CPUARMState *, int);
- /* you can call this signal handler from your SIGBUS and SIGSEGV
-    signal handlers to inform the virtual CPU of exceptions. non zero
-    is returned if the signal was handled by the virtual CPU.  */
-+#ifdef __NetBSD__
-+union siginfo;
-+int cpu_arm_signal_handler(int host_signum, union siginfo *info,
-+                           void *puc);
-+#else
- struct siginfo;
- int cpu_arm_signal_handler(int host_signum, struct siginfo *info, 
-                            void *puc);
-+#endif
- 
- #define CPSR_M (0x1f)
- #define CPSR_T (1 << 5)
diff -r 05a356fb5972 -r 298ba26127ab emulators/qemu/patches/patch-ac
--- a/emulators/qemu/patches/patch-ac   Mon May 21 10:04:40 2007 +0000
+++ b/emulators/qemu/patches/patch-ac   Mon May 21 20:24:44 2007 +0000
@@ -1,8 +1,6 @@
-$NetBSD: patch-ac,v 1.7 2006/08/21 17:23:52 dbj Exp $
-
---- vl.c.orig  2006-05-06 19:22:32.000000000 +0200
-+++ vl.c       2006-05-06 19:28:25.000000000 +0200
-@@ -43,7 +47,7 @@
+--- vl.c.orig  2007-05-02 01:56:26.000000000 +0200
++++ vl.c       2007-05-02 01:57:42.000000000 +0200
+@@ -44,7 +44,7 @@
  #include <netdb.h>
  #ifdef _BSD
  #include <sys/stat.h>
@@ -11,45 +9,23 @@
  #include <libutil.h>
  #endif
  #else
-@@ -1506,7 +1510,7 @@
-     return chr;
- }
- 
--#if defined(__linux__)
-+#if defined(__linux__) || defined(__NetBSD__)
- CharDriverState *qemu_chr_open_pty(void)
- {
-     struct termios tty;
-@@ -1663,6 +1667,9 @@
+@@ -1801,6 +1801,9 @@
  
  static int pp_ioctl(CharDriverState *chr, int cmd, void *arg)
  {
 +#ifdef __NetBSD__
 +    return ENOTSUP;
-+#else
++#endif
      int fd = (int)chr->opaque;
      uint8_t b;
  
-@@ -1696,10 +1703,14 @@
-         return -ENOTSUP;
-     }
-     return 0;
-+#endif
- }
+@@ -1838,6 +1841,9 @@
  
- CharDriverState *qemu_chr_open_pp(const char *filename)
+ static CharDriverState *qemu_chr_open_pp(const char *filename)
  {
 +#ifdef __NetBSD__
-+    return NULL;
-+#else
++    return ENOTSUP;
++#endif
      CharDriverState *chr;
      int fd;
  
-@@ -1722,6 +1733,7 @@
-     chr->chr_add_read_handler = null_chr_add_read_handler;
-     chr->chr_ioctl = pp_ioctl;
-     return chr;
-+#endif
- }
- 
- #else
diff -r 05a356fb5972 -r 298ba26127ab emulators/qemu/patches/patch-af
--- a/emulators/qemu/patches/patch-af   Mon May 21 10:04:40 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-$NetBSD: patch-af,v 1.5 2006/09/16 15:29:35 hira Exp $
-
---- dyngen-exec.h.orig 2006-09-05 01:19:38.000000000 +0200
-+++ dyngen-exec.h      2006-09-05 01:21:00.000000000 +0200
-@@ -30,7 +30,9 @@
- /* NOTE: standard headers should be used with special care at this
-    point because host CPU registers are used as global variables. Some
-    host headers do not allow that. */
-+#ifndef __APPLE__
- #include <stddef.h>
-+#endif
- 
- typedef unsigned char uint8_t;
- typedef unsigned short uint16_t;
-@@ -62,6 +64,7 @@
- #endif
- #endif
- 
-+#if 0
- #define INT8_MIN              (-128)
- #define INT16_MIN             (-32767-1)
- #define INT32_MIN             (-2147483647-1)
-@@ -74,12 +77,17 @@
- #define UINT16_MAX            (65535)
- #define UINT32_MAX            (4294967295U)
- #define UINT64_MAX            ((uint64_t)(18446744073709551615))
-+#endif
- 
-+#ifdef __NetBSD__
-+typedef struct __sFILE FILE;
-+#else
- typedef struct FILE FILE;
- extern int fprintf(FILE *, const char *, ...);
- extern int printf(const char *, ...);
- #undef NULL
- #define NULL 0
-+#endif
- 
- #ifdef __i386__
- #define AREG0 "ebp"
diff -r 05a356fb5972 -r 298ba26127ab emulators/qemu/patches/patch-ah
--- a/emulators/qemu/patches/patch-ah   Mon May 21 10:04:40 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-$NetBSD: patch-ah,v 1.1.1.1 2004/11/09 13:05:34 xtraeme Exp $
-
---- target-i386/cpu.h.orig     2004-07-10 21:20:09.000000000 +0300
-+++ target-i386/cpu.h
-@@ -441,9 +441,15 @@ void cpu_x86_frstor(CPUX86State *s, uint
- /* you can call this signal handler from your SIGBUS and SIGSEGV
-    signal handlers to inform the virtual CPU of exceptions. non zero
-    is returned if the signal was handled by the virtual CPU.  */
-+#ifdef __NetBSD__
-+union siginfo;
-+int cpu_x86_signal_handler(int host_signum, union siginfo *info, 
-+                           void *puc);
-+#else
- struct siginfo;
- int cpu_x86_signal_handler(int host_signum, struct siginfo *info, 
-                            void *puc);
-+#endif
- void cpu_x86_set_a20(CPUX86State *env, int a20_state);
- 
- uint64_t cpu_get_tsc(CPUX86State *env);
diff -r 05a356fb5972 -r 298ba26127ab emulators/qemu/patches/patch-ai
--- a/emulators/qemu/patches/patch-ai   Mon May 21 10:04:40 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-$NetBSD: patch-ai,v 1.1.1.1 2004/11/09 13:05:34 xtraeme Exp $
-
---- target-ppc/cpu.h.orig      2004-07-10 21:20:09.000000000 +0300
-+++ target-ppc/cpu.h
-@@ -182,9 +182,15 @@ void cpu_ppc_close(CPUPPCState *s);
- /* you can call this signal handler from your SIGBUS and SIGSEGV
-    signal handlers to inform the virtual CPU of exceptions. non zero
-    is returned if the signal was handled by the virtual CPU.  */
-+#ifdef __NetBSD__
-+union siginfo;
-+int cpu_ppc_signal_handler(int host_signum, union siginfo *info, 
-+                           void *puc);
-+#else
- struct siginfo;
- int cpu_ppc_signal_handler(int host_signum, struct siginfo *info, 
-                            void *puc);
-+#endif
- 
- void do_interrupt (CPUPPCState *env);
- void cpu_loop_exit(void);
diff -r 05a356fb5972 -r 298ba26127ab emulators/qemu/patches/patch-aj
--- a/emulators/qemu/patches/patch-aj   Mon May 21 10:04:40 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-$NetBSD: patch-aj,v 1.7 2006/12/07 16:06:39 xtraeme Exp $
-
---- Makefile.target.orig       2006-12-07 17:03:50.000000000 +0100
-+++ Makefile.target    2006-12-07 17:05:31.000000000 +0100
-@@ -17,9 +17,9 @@
- VPATH+=:$(SRC_PATH)/linux-user
- DEFINES+=-I$(SRC_PATH)/linux-user -I$(SRC_PATH)/linux-user/$(TARGET_ARCH)
- endif
--CFLAGS=-Wall -O2 -g -fno-strict-aliasing
-+#CFLAGS=-Wall -O2 -g -fno-strict-aliasing
- #CFLAGS+=-Werror
--LDFLAGS=-g
-+#LDFLAGS=-g
- LIBS=
- HELPER_CFLAGS=$(CFLAGS)
- DYNGEN=../dyngen$(EXESUF)
-@@ -400,6 +400,7 @@
- ifndef CONFIG_SOFTMMU
- VL_LDFLAGS+=-Wl,-T,$(SRC_PATH)/i386-vl.ld 
- endif
-+ifndef CONFIG_DRAGONFLY
- ifndef CONFIG_DARWIN
- ifndef CONFIG_WIN32
- ifndef CONFIG_SOLARIS
-@@ -407,6 +408,7 @@
- endif
- endif
- endif
-+endif
- ifdef TARGET_GPROF
- vl.o: CFLAGS+=-p
- VL_LDFLAGS+=-p
-@@ -440,6 +442,9 @@
- sdlaudio.o: sdlaudio.c
-       $(CC) $(CFLAGS) $(DEFINES) $(SDL_CFLAGS) -c -o $@ $<
- 
-+vl.o: vl.c
-+      $(CC) $(CFLAGS) $(DEFINES) $(SDL_CFLAGS) -c -o $@ $<
-+
- depend: $(SRCS)
-       $(CC) -MM $(CFLAGS) $(DEFINES) $^ 1>.depend
- 
-@@ -530,7 +535,7 @@



Home | Main Index | Thread Index | Old Index