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 qemu 0.11.0. With input from ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e53a8914267
branches:  trunk
changeset: 565981:6e53a8914267
user:      asau <asau%pkgsrc.org@localhost>
date:      Sun Oct 11 16:04:13 2009 +0000

description:
Update to qemu 0.11.0. With input from Hasso Tepper (Dragonfly).
Changes since previous package:

version 0.11.0
  - fix rtc polling mode (Bernhard Kauer)
  - qcow2: order concurrent aio requests (Kevin Wolf)
  - qemu-io: port to win32 (Stefan Weil)
  - alpha: fix extlh instruction (Vince Weaver)
  - tcg: fix size of local variables in tcg_gen_bswap64_i64 (Stefan Weil)
  - net: fix send ordering (Jan Kiszka)
  - escc: fix IRQ routing (Aurelien Jarno)
  - versatile: fix Linux task preemption (Aurelien Jarno)
  - curses: reduce memory usage by 250MB (Aurelien Jarno)

version 0.11.0-rc2
  - mips: fix conditional move off fp conditions codes (Nath Froyd)
  - fix migration to obey -S (Paolo Bonzini)
  - remove pc-0-10 machine type (Mark McLoughlin)
  - vnc: fix copyrect screen corruption (Gerd Hoffman)
  - fix vm state change handlers running order (Markus Armbruster)
  - e1000: fix eerc and ics emulation (Bill Paul)
  - fix sdl zooming with pl110 (Blue Swirl)
  - sparc64: flush pending conditional evaluations (Igor Kovalenko)
  - esp: fix interrupt register read (Blue Swirl)
  - option rom makefile fixes (Paul Brook)
  - fix sparse warnings (Blue Swirl)
  - fix symfind (Laurent Desnogues)
  - win32: fix default prefix (Stefan Weil)
  - fix checksum writing in signboot (Alex Graf)
  - fix sdl window resize (Stefano Stabellini)
  - do not resize the screen on hw_invalidate (Stefano Stabellini)
  - Add checks for -smbios option (Beth Kon)
  - fix do_set_link (Luiz Capitulino)
  - fix do_commit behavior (Luiz Capitulino)
  - make windows notice media change (Gleb Natapov)
  - check for PR_SET_NAME being defined (Nathan Froyd)
  - fix migration for ide devices (Anthony Liguori)
  - Use correct depth in vmware vga (Reimar Doffiner)
  - support 32bpp cursors in sdl (Reimar Doffinger)
  - fix device name completion for eject (Blue Swirl)
  - make screendump use DisplayState properly (Stefano Stabellini)
  - fix autostart with live migration (Avi Kivity)
  - fix detached migration with exec (Chris Lalancette)
  - fix segv when changing vnc password in sdl (Zach Amsden)
  - fix vnc password clearing with stdio monitor (Zach Amsden)
  - clean up VGA type selection (Zach Amsden)
  - add missing linefeed in error message (Stefan Weil)

version 0.11.0-rc1
  - add machine aliasing support (Mark McLoughlin)
  - add getfd/closefd monitor commands (Mark McLoughlin)
  - use correct headers for tap-win32 (Filip Navara)
  - fix live migration (Glauber Costa)
  - slirp: use monotonic clock if available (Ed Swierk)
  - clear msix_entries_nr on error (Michael Tsirkin)
  - HPET: fix reg writes (Beth Kon)
  - slirp: fix guestfwd for incoming data (Jan Kiszka)
  - fix build of qemu-thread.c on win32 (Sebastian Herbszt)
  - improve signrom.sh portability (Christoph Egger)
  - fix qemu-img convert to copy unallocated parts of the image
        (Akkarit Sangpetch)
  - vmdk: fix backing file handling (Kevin Wolf)
  - scsi: add save/restore support (Nolan Leake)
  - fix live migration for SCSI (Nolan Leake)
  - various sparc build fixes (Blue Swirl)
  - fix OpenBSD build (Blue Swirl)
  - only allow -cpu host when using KVM (Anthony Liguori)
  - fix build breakage when !KVM (Anthony Liguori)

diffstat:

 emulators/qemu/Makefile         |   8 ++--
 emulators/qemu/PLIST            |   9 +++++-
 emulators/qemu/distinfo         |  26 ++++++------------
 emulators/qemu/patches/patch-av |  27 -------------------
 emulators/qemu/patches/patch-da |  13 ---------
 emulators/qemu/patches/patch-db |  32 ----------------------
 emulators/qemu/patches/patch-dc |  15 ----------
 emulators/qemu/patches/patch-dd |  26 +++--------------
 emulators/qemu/patches/patch-de |  10 +++---
 emulators/qemu/patches/patch-df |  13 ---------
 emulators/qemu/patches/patch-dg |  14 ++++----
 emulators/qemu/patches/patch-dh |  58 -----------------------------------------
 emulators/qemu/patches/patch-di |  13 ---------
 emulators/qemu/patches/patch-dj |  43 ------------------------------
 emulators/qemu/patches/patch-dk |  29 ++++++--------------
 emulators/qemu/patches/patch-dl |  29 ++++++++++---------
 16 files changed, 62 insertions(+), 303 deletions(-)

diffs (truncated from 540 to 300 lines):

diff -r af423985a4c6 -r 6e53a8914267 emulators/qemu/Makefile
--- a/emulators/qemu/Makefile   Sun Oct 11 15:50:24 2009 +0000
+++ b/emulators/qemu/Makefile   Sun Oct 11 16:04:13 2009 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.59 2009/09/22 12:18:33 tnn Exp $
+# $NetBSD: Makefile,v 1.60 2009/10/11 16:04:13 asau Exp $
 #
 
-DISTNAME=              qemu-0.10.6
-PKGREVISION=           1
+DISTNAME=              qemu-0.11.0
 CATEGORIES=            emulators
 MASTER_SITES=          http://download.savannah.gnu.org/releases/qemu/
 
@@ -50,12 +49,13 @@
 SUBST_SED.smbd=                -e s,/usr/sbin/smbd,${PREFIX:Q}/sbin/smbd,g
 SUBST_MESSAGE.smbd=    Fixing hardcoded paths.
 
+# Avoid clash with system include file:
 pre-patch:
        mv ${WRKSRC}/audio/audio.h ${WRKSRC}/audio/qaudio.h
 
 SUBST_CLASSES+=                qaudio
 SUBST_STAGE.qaudio=    pre-configure
-SUBST_FILES.qaudio=    *.c audio/*.c hw/*.c
+SUBST_FILES.qaudio=    *.c *.h audio/*.c hw/*.c
 SUBST_SED.qaudio=      -e s,audio.h\",qaudio.h\",g
 SUBST_MESSAGE.qaudio=  Fixing audio.h confusion
 
diff -r af423985a4c6 -r 6e53a8914267 emulators/qemu/PLIST
--- a/emulators/qemu/PLIST      Sun Oct 11 15:50:24 2009 +0000
+++ b/emulators/qemu/PLIST      Sun Oct 11 16:04:13 2009 +0000
@@ -1,10 +1,13 @@
-@comment $NetBSD: PLIST,v 1.19 2009/08/31 10:18:49 hasso Exp $
+@comment $NetBSD: PLIST,v 1.20 2009/10/11 16:04:13 asau Exp $
 bin/qemu
+bin/qemu-i386
 bin/qemu-img
+bin/qemu-sparc
 bin/qemu-sparc64
 bin/qemu-system-arm
 bin/qemu-system-cris
 bin/qemu-system-m68k
+bin/qemu-system-microblaze
 bin/qemu-system-mips
 bin/qemu-system-mips64
 bin/qemu-system-mips64el
@@ -15,7 +18,9 @@
 bin/qemu-system-sh4
 bin/qemu-system-sh4eb
 bin/qemu-system-sparc
+bin/qemu-system-sparc64
 bin/qemu-system-x86_64
+bin/qemu-x86_64
 man/man1/qemu-img.1
 man/man1/qemu.1
 man/man8/qemu-nbd.8
@@ -59,9 +64,11 @@
 share/qemu/keymaps/sv
 share/qemu/keymaps/th
 share/qemu/keymaps/tr
+share/qemu/multiboot.bin
 share/qemu/openbios-ppc
 share/qemu/openbios-sparc32
 share/qemu/openbios-sparc64
+share/qemu/petalogix-s3adsp1800.dtb
 share/qemu/ppc_rom.bin
 share/qemu/pxe-e1000.bin
 share/qemu/pxe-ne2k_pci.bin
diff -r af423985a4c6 -r 6e53a8914267 emulators/qemu/distinfo
--- a/emulators/qemu/distinfo   Sun Oct 11 15:50:24 2009 +0000
+++ b/emulators/qemu/distinfo   Sun Oct 11 16:04:13 2009 +0000
@@ -1,22 +1,14 @@
-$NetBSD: distinfo,v 1.49 2009/09/22 12:18:33 tnn Exp $
+$NetBSD: distinfo,v 1.50 2009/10/11 16:04:13 asau Exp $
 
-SHA1 (qemu-0.10.6.tar.gz) = 9432738ba513e07c981097468945b2e3ad9cb81e
-RMD160 (qemu-0.10.6.tar.gz) = 1321a10777d2e0c6b53887d0525a28cc1b36ec9b
-Size (qemu-0.10.6.tar.gz) = 3664559 bytes
+SHA1 (qemu-0.11.0.tar.gz) = 95f59ce1293743d9f213d6908029aa2cadfc0d34
+RMD160 (qemu-0.11.0.tar.gz) = a9fc4c3fc814067bf042669b51d46c49e7879630
+Size (qemu-0.11.0.tar.gz) = 3925830 bytes
 SHA1 (patch-ao) = e515093b6ea99f9cba665de022fd62f3be911569
 SHA1 (patch-au) = 2892cae63796c76014288f4a700acbee5aadc529
-SHA1 (patch-av) = 715e9680d70c1aa1c83bda0270125144a26d6140
 SHA1 (patch-ba) = 7c5043a39405f52b512e479a46fc76108580b7bc
-SHA1 (patch-da) = 994eb51de1e7398acf95189da182f755f2ca65e1
-SHA1 (patch-db) = 7e729851615598646aa3f2d7278147198d0a7a45
-SHA1 (patch-dc) = 508d40a99242ba025ade0d067e6d44d3a8a4f0cc
-SHA1 (patch-dd) = b0646af492c3081fc5cf752fb73df0013eadad94
-SHA1 (patch-de) = 14f6598f5467c4dfbea729ca2f4adcf6fe1144be
-SHA1 (patch-df) = f21a7832e2cc94dbe76626b74455d33f5ca50ee5
-SHA1 (patch-dg) = 784fc32c7a93ec154b99f312db16aba9e950122a
-SHA1 (patch-dh) = c4c1882c81cdbe9d98fc50e8f60f8d233a7882c5
-SHA1 (patch-di) = 96552e11794deb726cc027c41e06a378510ef534
-SHA1 (patch-dj) = 78b2cc5ba2360a7237de2207365547b84867d070
-SHA1 (patch-dk) = 14ef343eae60263416e11422fbed3fec7750d224
-SHA1 (patch-dl) = 2ba65792e342876ea5b05a70dba8d1b349661cda
+SHA1 (patch-dd) = 32661203ba023bea67cd7cde1f4088f4d0e5c582
+SHA1 (patch-de) = ad6e0fd59f7edc4a2feecac53164ea8b00e309a1
+SHA1 (patch-dg) = caf1a9ff3e12af362245084f62f495290e498d5c
+SHA1 (patch-dk) = 089f83d1c870c639f7fd32f1288f970236386949
+SHA1 (patch-dl) = dc19993ead06f6de27d6ea0e1268661d007d4b13
 SHA1 (patch-dm) = 3786ee9dfa46648f773f06c683bccd574c5ee2cb
diff -r af423985a4c6 -r 6e53a8914267 emulators/qemu/patches/patch-av
--- a/emulators/qemu/patches/patch-av   Sun Oct 11 15:50:24 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-$NetBSD: patch-av,v 1.3 2007/10/07 21:21:00 heinz Exp $
-
-  Provide trunc() implementation for NetBSD 3 and Dragonfly
-
---- fpu/softfloat-native.c.orig        2007-02-06 00:01:54.000000000 +0100
-+++ fpu/softfloat-native.c
-@@ -3,6 +3,20 @@
- #include "softfloat.h"
- #include <math.h>
- 
-+#if defined(__DragonFly__) || defined(__NetBSD__)
-+# include <sys/param.h>
-+#endif
-+
-+#if (defined(__DragonFly__) && __DragonFly_version < 195000) || (defined(__NetBSD__) && __NetBSD_Version__ <= 399001700)
-+static double trunc( double val )
-+{
-+    if (val > 0)
-+        return floor(val);
-+    else
-+        return ceil(val);
-+}
-+#endif
-+
- void set_float_rounding_mode(int val STATUS_PARAM)
- {
-     STATUS(float_rounding_mode) = val;
diff -r af423985a4c6 -r 6e53a8914267 emulators/qemu/patches/patch-da
--- a/emulators/qemu/patches/patch-da   Sun Oct 11 15:50:24 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-da,v 1.1 2009/08/31 10:18:49 hasso Exp $
-
---- audio/sdlaudio.c.orig      2009-08-30 08:33:14 +0300
-+++ audio/sdlaudio.c   2009-08-30 08:41:26 +0300
-@@ -29,7 +29,7 @@
- #ifndef _WIN32
- #ifdef __sun__
- #define _POSIX_PTHREAD_SEMANTICS 1
--#elif defined(__OpenBSD__) || defined(__FreeBSD__)
-+#elif defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
- #include <pthread.h>
- #endif
- #include <signal.h>
diff -r af423985a4c6 -r 6e53a8914267 emulators/qemu/patches/patch-db
--- a/emulators/qemu/patches/patch-db   Sun Oct 11 15:50:24 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-$NetBSD: patch-db,v 1.1 2009/08/31 10:18:49 hasso Exp $
-
---- block-raw-posix.c.orig     2009-07-17 03:56:22 +0300
-+++ block-raw-posix.c  2009-08-30 15:51:48 +0300
-@@ -63,6 +63,11 @@
- #include <sys/dkio.h>
- #endif
- 
-+#ifdef __DragonFly__
-+#include <sys/ioctl.h>
-+#include <sys/diskslice.h>
-+#endif
-+
- //#define DEBUG_FLOPPY
- 
- //#define DEBUG_BLOCK
-@@ -766,6 +771,15 @@ static int64_t  raw_getlength(BlockDrive
-     if (!fstat(fd, &sb) && (S_IFCHR & sb.st_mode)) {
- #ifdef DIOCGMEDIASIZE
-       if (ioctl(fd, DIOCGMEDIASIZE, (off_t *)&size))
-+#elif defined(DIOCGPART)
-+        {
-+                struct partinfo pi;
-+                if (ioctl(fd, DIOCGPART, &pi) == 0)
-+                        size = pi.media_size;
-+                else
-+                        size = 0;
-+        }
-+        if (size == 0)
- #endif
- #ifdef CONFIG_COCOA
-         size = LONG_LONG_MAX;
diff -r af423985a4c6 -r 6e53a8914267 emulators/qemu/patches/patch-dc
--- a/emulators/qemu/patches/patch-dc   Sun Oct 11 15:50:24 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-dc,v 1.1 2009/08/31 10:18:49 hasso Exp $
-
---- block.c.orig       2009-07-17 03:56:22 +0300
-+++ block.c    2009-08-30 15:53:21 +0300
-@@ -35,8 +35,10 @@
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <sys/ioctl.h>
-+#ifndef __DragonFly__
- #include <sys/disk.h>
- #endif
-+#endif
- 
- #define SECTOR_BITS 9
- #define SECTOR_SIZE (1 << SECTOR_BITS)
diff -r af423985a4c6 -r 6e53a8914267 emulators/qemu/patches/patch-dd
--- a/emulators/qemu/patches/patch-dd   Sun Oct 11 15:50:24 2009 +0000
+++ b/emulators/qemu/patches/patch-dd   Sun Oct 11 16:04:13 2009 +0000
@@ -1,29 +1,13 @@
-$NetBSD: patch-dd,v 1.2 2009/09/22 12:18:33 tnn Exp $
+$NetBSD: patch-dd,v 1.3 2009/10/11 16:04:13 asau Exp $
 
---- configure.orig     2009-07-17 02:56:22.000000000 +0200
-+++ configure
-@@ -228,6 +228,15 @@ if [ "$cpu" = "i386" -o "$cpu" = "x86_64
-     kqemu="yes"
- fi
- ;;
-+DragonFly)
-+bsd="yes"
-+audio_drv_list="oss"
-+audio_possible_drivers="oss sdl esd pa"
-+if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
-+    kqemu="yes"
-+fi
-+aio="no"
-+;;
- NetBSD)
- bsd="yes"
- audio_drv_list="oss"
-@@ -1102,7 +1111,7 @@ else
+--- configure.orig     2009-09-23 23:01:31.000000000 +0400
++++ configure  2009-09-30 14:02:37.000000000 +0400
+@@ -1384,7 +1384,7 @@
    if test -z "$prefix" ; then
        prefix="/usr/local"
    fi
 -  mansuffix="/share/man"
-+  #mansuffix="/share/man"
++#  mansuffix="/share/man"
    datasuffix="/share/qemu"
    docsuffix="/share/doc/qemu"
    binsuffix="/bin"
diff -r af423985a4c6 -r 6e53a8914267 emulators/qemu/patches/patch-de
--- a/emulators/qemu/patches/patch-de   Sun Oct 11 15:50:24 2009 +0000
+++ b/emulators/qemu/patches/patch-de   Sun Oct 11 16:04:13 2009 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-de,v 1.2 2009/08/31 14:30:50 tnn Exp $
+$NetBSD: patch-de,v 1.3 2009/10/11 16:04:13 asau Exp $
 
---- exec.c.orig        2009-07-17 02:56:22.000000000 +0200
-+++ exec.c
-@@ -454,7 +454,7 @@ static void code_gen_alloc(unsigned long
+--- exec.c.orig        2009-09-23 23:01:32.000000000 +0400
++++ exec.c     2009-09-30 14:03:55.000000000 +0400
+@@ -464,7 +464,7 @@
              exit(1);
          }
      }
--#elif defined(__FreeBSD__)
+-#elif defined(__FreeBSD__) || defined(__DragonFly__)
 +#elif defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__)
      {
          int flags;
diff -r af423985a4c6 -r 6e53a8914267 emulators/qemu/patches/patch-df
--- a/emulators/qemu/patches/patch-df   Sun Oct 11 15:50:24 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-df,v 1.1 2009/08/31 10:18:49 hasso Exp $
-
---- net.c.orig 2009-08-30 08:33:13 +0300
-+++ net.c      2009-08-30 15:58:08 +0300
-@@ -59,7 +59,7 @@
- #include <sys/select.h>
- #ifdef _BSD
- #include <sys/stat.h>
--#ifdef __FreeBSD__
-+#if defined(__FreeBSD__) || defined(__DragonFly__)
- #include <libutil.h>
- #else
- #include <util.h>
diff -r af423985a4c6 -r 6e53a8914267 emulators/qemu/patches/patch-dg
--- a/emulators/qemu/patches/patch-dg   Sun Oct 11 15:50:24 2009 +0000
+++ b/emulators/qemu/patches/patch-dg   Sun Oct 11 16:04:13 2009 +0000
@@ -1,21 +1,21 @@
-$NetBSD: patch-dg,v 1.2 2009/08/31 14:34:07 tnn Exp $
+$NetBSD: patch-dg,v 1.3 2009/10/11 16:04:13 asau Exp $
 
---- osdep.c.orig       2009-07-17 02:56:24.000000000 +0200
-+++ osdep.c
-@@ -90,7 +90,7 @@ static void *kqemu_vmalloc(size_t size)
+--- osdep.c.orig       2009-09-23 23:01:32.000000000 +0400
++++ osdep.c    2009-09-30 14:05:39.000000000 +0400
+@@ -110,7 +110,7 @@
      void *ptr;
  
  /* no need (?) for a dummy file on OpenBSD/FreeBSD */
--#if defined(__OpenBSD__) || defined(__FreeBSD__)



Home | Main Index | Thread Index | Old Index