Hello community,

here is the log from the commit of package kvm for openSUSE:Factory checked in 
at 2011-10-29 08:00:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kvm (Old)
 and      /work/SRC/openSUSE:Factory/.kvm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kvm", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kvm/kvm.changes  2011-10-11 16:56:45.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.kvm.new/kvm.changes     2011-10-29 
08:00:33.000000000 +0200
@@ -1,0 +2,7 @@
+Wed Oct 26 20:02:43 UTC 2011 - [email protected]
+
+- Update to qemu-kvm v0.15.1
+  - see http://wiki.qemu.org/ChangeLog/0.15 for details
+- update to most recent ipxe upstream development sources
+
+-------------------------------------------------------------------

Old:
----
  ipxe-git-149b502.tar.bz2
  kvm-qemu-preXX-Fix-termination-by-signal-with-no-shutdown.patch
  qemu-kvm-0.15.0.tar.bz2

New:
----
  ipxe-git-aaf7a35.tar.bz2
  qemu-kvm-0.15.1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kvm.spec ++++++
--- /var/tmp/diff_new_pack.Jy7VHK/_old  2011-10-29 08:00:37.000000000 +0200
+++ /var/tmp/diff_new_pack.Jy7VHK/_new  2011-10-29 08:00:37.000000000 +0200
@@ -20,10 +20,10 @@
 
 %bcond_with spice
 
-%define package_true_version 0.15.0
-%define package_base_version 0.15.0
+%define package_true_version 0.15.1
+%define package_base_version 0.15.1
 %define bios_id seabios-1.6.3
-%define pxe_rom_id ipxe-git-149b502
+%define pxe_rom_id ipxe-git-aaf7a35
 %define vgabios_id vgabios-0.6c
 # sgabios comes from: http://sgabios.googlecode.com/svn/trunk, Rev 8
 %define sgabios_id sgabios
@@ -87,7 +87,7 @@
 Summary:        Kernel-based Virtual Machine
 Url:            http://www.linux-kvm.org
 Version:        %{package_true_version}
-Release:        2
+Release:        0
 Source0:        qemu-%{name}-%{package_true_version}.tar.bz2
 Source1:        60-kvm.rules
 Source2:        qemu-ifup
@@ -126,10 +126,9 @@
 Patch104:       
kvm-qemu-preXX-vns-tls-don-t-use-depricated-gnutls-functions.patch
 Patch105:       
kvm-qemu-preXX-qemu_vmalloc-align-properly-for-transparent-hugepag.patch
 Patch106:       kvm-qemu-madvise-hugepages.patch
-Patch107:       kvm-qemu-preXX-Fix-termination-by-signal-with-no-shutdown.patch
-Patch108:       
kvm-qemu-preXX-block-curl-Implement-a-flush-function-on-the-fd-han.patch
-Patch109:       kvm-qemu-preXX-block-curl-Don-t-finish-AIOCBs-too-early.patch
-Patch110:       kvm-qemu-preXX-e1000-Don-t-set-the-Capabilities-List-bit.patch
+Patch107:       
kvm-qemu-preXX-block-curl-Implement-a-flush-function-on-the-fd-han.patch
+Patch108:       kvm-qemu-preXX-block-curl-Don-t-finish-AIOCBs-too-early.patch
+Patch109:       kvm-qemu-preXX-e1000-Don-t-set-the-Capabilities-List-bit.patch
 
 Patch150:       qemu-kvm-common-code-fixes-for-s390-build.patch
 
@@ -229,7 +228,6 @@
 %patch107 -p1
 %patch108 -p1
 %patch109 -p1
-%patch110 -p1
 
 %patch150 -p1
 

++++++ ipxe-git-149b502.tar.bz2 -> ipxe-git-aaf7a35.tar.bz2 ++++++
++++ 81233 lines of diff (skipped)

++++++ qemu-kvm-0.15.0.tar.bz2 -> qemu-kvm-0.15.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qemu-kvm-0.15.0/VERSION new/qemu-kvm-0.15.1/VERSION
--- old/qemu-kvm-0.15.0/VERSION 2011-08-09 14:40:29.000000000 +0200
+++ new/qemu-kvm-0.15.1/VERSION 2011-10-19 15:54:48.000000000 +0200
@@ -1 +1 @@
-0.15.0
+0.15.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qemu-kvm-0.15.0/arm.ld new/qemu-kvm-0.15.1/arm.ld
--- old/qemu-kvm-0.15.0/arm.ld  2011-08-09 14:40:29.000000000 +0200
+++ new/qemu-kvm-0.15.1/arm.ld  2011-10-19 15:54:48.000000000 +0200
@@ -71,23 +71,23 @@
   .data1   : { *(.data1) }
   .preinit_array     :
   {
-    PROVIDE_HIDDEN (__preinit_array_start = .);
+    PROVIDE (__preinit_array_start = .);
     KEEP (*(.preinit_array))
-    PROVIDE_HIDDEN (__preinit_array_end = .);
+    PROVIDE (__preinit_array_end = .);
   }
   .init_array     :
   {
-     PROVIDE_HIDDEN (__init_array_start = .);
+     PROVIDE (__init_array_start = .);
      KEEP (*(SORT(.init_array.*)))
      KEEP (*(.init_array))
-     PROVIDE_HIDDEN (__init_array_end = .);
+     PROVIDE (__init_array_end = .);
   }
   .fini_array     :
   {
-    PROVIDE_HIDDEN (__fini_array_start = .);
+    PROVIDE (__fini_array_start = .);
     KEEP (*(.fini_array))
     KEEP (*(SORT(.fini_array.*)))
-    PROVIDE_HIDDEN (__fini_array_end = .);
+    PROVIDE (__fini_array_end = .);
   }
   .ctors         :
   {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qemu-kvm-0.15.0/block/qed-table.c 
new/qemu-kvm-0.15.1/block/qed-table.c
--- old/qemu-kvm-0.15.0/block/qed-table.c       2011-08-09 14:40:29.000000000 
+0200
+++ new/qemu-kvm-0.15.1/block/qed-table.c       2011-10-19 15:54:48.000000000 
+0200
@@ -230,21 +230,21 @@
     QEDRequest *request = read_l2_table_cb->request;
     BDRVQEDState *s = read_l2_table_cb->s;
     CachedL2Table *l2_table = request->l2_table;
+    uint64_t l2_offset = read_l2_table_cb->l2_offset;
 
     if (ret) {
         /* can't trust loaded L2 table anymore */
         qed_unref_l2_cache_entry(l2_table);
         request->l2_table = NULL;
     } else {
-        l2_table->offset = read_l2_table_cb->l2_offset;
+        l2_table->offset = l2_offset;
 
         qed_commit_l2_cache_entry(&s->l2_cache, l2_table);
 
         /* This is guaranteed to succeed because we just committed the entry
          * to the cache.
          */
-        request->l2_table = qed_find_l2_cache_entry(&s->l2_cache,
-                                                    l2_table->offset);
+        request->l2_table = qed_find_l2_cache_entry(&s->l2_cache, l2_offset);
         assert(request->l2_table != NULL);
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qemu-kvm-0.15.0/block/qed.c 
new/qemu-kvm-0.15.1/block/qed.c
--- old/qemu-kvm-0.15.0/block/qed.c     2011-08-09 14:40:29.000000000 +0200
+++ new/qemu-kvm-0.15.1/block/qed.c     2011-10-19 15:54:48.000000000 +0200
@@ -915,14 +915,14 @@
     QEDAIOCB *acb = opaque;
     BDRVQEDState *s = acb_to_s(acb);
     CachedL2Table *l2_table = acb->request.l2_table;
+    uint64_t l2_offset = l2_table->offset;
 
     qed_commit_l2_cache_entry(&s->l2_cache, l2_table);
 
     /* This is guaranteed to succeed because we just committed the entry to the
      * cache.
      */
-    acb->request.l2_table = qed_find_l2_cache_entry(&s->l2_cache,
-                                                    l2_table->offset);
+    acb->request.l2_table = qed_find_l2_cache_entry(&s->l2_cache, l2_offset);
     assert(acb->request.l2_table != NULL);
 
     qed_aio_next_io(opaque, ret);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qemu-kvm-0.15.0/check-qjson.c 
new/qemu-kvm-0.15.1/check-qjson.c
--- old/qemu-kvm-0.15.0/check-qjson.c   2011-08-09 14:40:29.000000000 +0200
+++ new/qemu-kvm-0.15.1/check-qjson.c   2011-10-19 15:54:48.000000000 +0200
@@ -33,7 +33,8 @@
         { "\"\\n\"", "\n" },
         { "\"\\r\"", "\r" },
         { "\"\\t\"", "\t" },
-        { "\"\\/\"", "\\/" },
+        { "\"/\"", "/" },
+        { "\"\\/\"", "/", .skip = 1 },
         { "\"\\\\\"", "\\" },
         { "\"\\\"\"", "\"" },
         { "\"hello world \\\"embedded string\\\"\"",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qemu-kvm-0.15.0/configure 
new/qemu-kvm-0.15.1/configure
--- old/qemu-kvm-0.15.0/configure       2011-08-09 14:40:29.000000000 +0200
+++ new/qemu-kvm-0.15.1/configure       2011-10-19 15:54:48.000000000 +0200
@@ -422,6 +422,7 @@
   make="${MAKE-gmake}"
   install="${INSTALL-ginstall}"
   ld="gld"
+  smbd="${SMBD-/usr/sfw/sbin/smbd}"
   needs_libsunmath="no"
   solarisrev=`uname -r | cut -f2 -d.`
   # have to select again, because `uname -m` returns i86pc
@@ -497,6 +498,7 @@
 : ${make=${MAKE-make}}
 : ${install=${INSTALL-install}}
 : ${python=${PYTHON-python}}
+: ${smbd=${SMBD-/usr/sbin/smbd}}
 
 if test "$mingw32" = "yes" ; then
   EXESUF=".exe"
@@ -540,6 +542,8 @@
   ;;
   --python=*) python="$optarg"
   ;;
+  --smbd=*) smbd="$optarg"
+  ;;
   --extra-cflags=*)
   ;;
   --extra-ldflags=*)
@@ -962,6 +966,7 @@
 echo "  --make=MAKE              use specified make [$make]"
 echo "  --install=INSTALL        use specified install [$install]"
 echo "  --python=PYTHON          use specified python [$python]"
+echo "  --smbd=SMBD              use specified smbd [$smbd]"
 echo "  --static                 enable static build [$static]"
 echo "  --mandir=PATH            install man pages in PATH"
 echo "  --datadir=PATH           install firmware in PATH"
@@ -1548,11 +1553,17 @@
     return 0;
 }
 EOF
+  if $pkg_config libpng --modversion >/dev/null 2>&1; then
+    vnc_png_cflags=`$pkg_config libpng --cflags 2> /dev/null`
+    vnc_png_libs=`$pkg_config libpng --libs 2> /dev/null`
+  else
     vnc_png_cflags=""
     vnc_png_libs="-lpng"
+  fi
   if compile_prog "$vnc_png_cflags" "$vnc_png_libs" ; then
     vnc_png=yes
     libs_softmmu="$vnc_png_libs $libs_softmmu"
+    QEMU_CFLAGS="$QEMU_CFLAGS $vnc_png_cflags"
   else
     if test "$vnc_png" = "yes" ; then
       feature_not_found "vnc-png"
@@ -1900,7 +1911,7 @@
 
 ##########################################
 # pthread probe
-PTHREADLIBS_LIST="-lpthread -lpthreadGC2"
+PTHREADLIBS_LIST="-pthread -lpthread -lpthreadGC2"
 
 pthread=no
 cat > $TMPC << EOF
@@ -2694,6 +2705,9 @@
 echo "make              $make"
 echo "install           $install"
 echo "python            $python"
+if test "$slirp" = "yes" ; then
+    echo "smbd              $smbd"
+fi
 echo "host CPU          $cpu"
 echo "host big endian   $bigendian"
 echo "target list       $target_list"
@@ -2855,6 +2869,7 @@
 fi
 if test "$slirp" = "yes" ; then
   echo "CONFIG_SLIRP=y" >> $config_host_mak
+  echo "CONFIG_SMBD_COMMAND=\"$smbd\"" >> $config_host_mak
   QEMU_INCLUDES="-I\$(SRC_PATH)/slirp $QEMU_INCLUDES"
 fi
 if test "$vde" = "yes" ; then
@@ -3112,9 +3127,9 @@
 echo "ROMS=$roms" >> $config_host_mak
 echo "MAKE=$make" >> $config_host_mak
 echo "INSTALL=$install" >> $config_host_mak
-echo "INSTALL_DIR=$install -d -m0755 -p" >> $config_host_mak
-echo "INSTALL_DATA=$install -m0644 -p" >> $config_host_mak
-echo "INSTALL_PROG=$install -m0755 -p" >> $config_host_mak
+echo "INSTALL_DIR=$install -d -m 0755" >> $config_host_mak
+echo "INSTALL_DATA=$install -c -m 0644" >> $config_host_mak
+echo "INSTALL_PROG=$install -c -m 0755" >> $config_host_mak
 echo "PYTHON=$python" >> $config_host_mak
 echo "CC=$cc" >> $config_host_mak
 echo "CC_I386=$cc_i386" >> $config_host_mak
@@ -3639,7 +3654,7 @@
 DIRS="$DIRS fsdev ui"
 DIRS="$DIRS qapi"
 DIRS="$DIRS qga"
-FILES="Makefile tests/Makefile"
+FILES="Makefile tests/Makefile qdict-test-data.txt"
 FILES="$FILES tests/cris/Makefile tests/cris/.gdbinit"
 FILES="$FILES pc-bios/optionrom/Makefile pc-bios/keymaps"
 FILES="$FILES pc-bios/spapr-rtas/Makefile"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qemu-kvm-0.15.0/hppa.ld new/qemu-kvm-0.15.1/hppa.ld
--- old/qemu-kvm-0.15.0/hppa.ld 2011-08-09 14:40:29.000000000 +0200
+++ new/qemu-kvm-0.15.1/hppa.ld 2011-10-19 15:54:48.000000000 +0200
@@ -75,36 +75,34 @@
   .sbss2          : { *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*) }
   .PARISC.unwind   : { *(.PARISC.unwind) }
   .eh_frame_hdr : { *(.eh_frame_hdr) }
-  .eh_frame       : ONLY_IF_RO { KEEP (*(.eh_frame)) }
-  .gcc_except_table   : ONLY_IF_RO { *(.gcc_except_table .gcc_except_table.*) }
   /* Adjust the address for the data segment.  We want to adjust up to
      the same address within the page on the next page up.  */
   . = ALIGN(0x10000) + (. & (0x10000 - 1));
   /* Exception handling  */
-  .eh_frame       : ONLY_IF_RW { KEEP (*(.eh_frame)) }
-  .gcc_except_table   : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) }
+  .eh_frame       : { KEEP (*(.eh_frame)) }
+  .gcc_except_table   : { *(.gcc_except_table .gcc_except_table.*) }
   /* Thread Local Storage sections  */
   .tdata         : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
   .tbss                  : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
   .preinit_array     :
   {
-    PROVIDE_HIDDEN (__preinit_array_start = .);
+    PROVIDE (__preinit_array_start = .);
     KEEP (*(.preinit_array))
-    PROVIDE_HIDDEN (__preinit_array_end = .);
+    PROVIDE (__preinit_array_end = .);
   }
   .init_array     :
   {
-     PROVIDE_HIDDEN (__init_array_start = .);
+     PROVIDE (__init_array_start = .);
      KEEP (*(SORT(.init_array.*)))
      KEEP (*(.init_array))
-     PROVIDE_HIDDEN (__init_array_end = .);
+     PROVIDE (__init_array_end = .);
   }
   .fini_array     :
   {
-    PROVIDE_HIDDEN (__fini_array_start = .);
+    PROVIDE (__fini_array_start = .);
     KEEP (*(.fini_array))
     KEEP (*(SORT(.fini_array.*)))
-    PROVIDE_HIDDEN (__fini_array_end = .);
+    PROVIDE (__fini_array_end = .);
   }
   .ctors          :
   {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qemu-kvm-0.15.0/i386.ld new/qemu-kvm-0.15.1/i386.ld
--- old/qemu-kvm-0.15.0/i386.ld 2011-08-09 14:40:29.000000000 +0200
+++ new/qemu-kvm-0.15.1/i386.ld 2011-10-19 15:54:48.000000000 +0200
@@ -42,16 +42,16 @@
   .rel.plt      :
   {
     *(.rel.plt)
-    PROVIDE_HIDDEN (__rel_iplt_start = .);
+    PROVIDE (__rel_iplt_start = .);
     *(.rel.iplt)
-    PROVIDE_HIDDEN (__rel_iplt_end = .);
+    PROVIDE (__rel_iplt_end = .);
   }
   .rela.plt       :
   {
     *(.rela.plt)
-    PROVIDE_HIDDEN (__rela_iplt_start = .);
+    PROVIDE (__rela_iplt_start = .);
     *(.rela.iplt)
-    PROVIDE_HIDDEN (__rela_iplt_end = .);
+    PROVIDE (__rela_iplt_end = .);
   }
   .init          : { *(.init)  } =0x47ff041f
   .text      :
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qemu-kvm-0.15.0/mips.ld new/qemu-kvm-0.15.1/mips.ld
--- old/qemu-kvm-0.15.0/mips.ld 2011-08-09 14:40:29.000000000 +0200
+++ new/qemu-kvm-0.15.1/mips.ld 2011-10-19 15:54:48.000000000 +0200
@@ -79,36 +79,34 @@
   }
   .sbss2          : { *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*) }
   .eh_frame_hdr : { *(.eh_frame_hdr) }
-  .eh_frame       : ONLY_IF_RO { KEEP (*(.eh_frame)) }
-  .gcc_except_table   : ONLY_IF_RO { *(.gcc_except_table .gcc_except_table.*) }
   /* Adjust the address for the data segment.  We want to adjust up to
      the same address within the page on the next page up.  */
   . = ALIGN (0x40000) - ((0x40000 - .) & (0x40000 - 1)); . = 
DATA_SEGMENT_ALIGN (0x40000, 0x1000);
   /* Exception handling  */
-  .eh_frame       : ONLY_IF_RW { KEEP (*(.eh_frame)) }
-  .gcc_except_table   : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) }
+  .eh_frame       : { KEEP (*(.eh_frame)) }
+  .gcc_except_table   : { *(.gcc_except_table .gcc_except_table.*) }
   /* Thread Local Storage sections  */
   .tdata         : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
   .tbss                  : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
   .preinit_array     :
   {
-    PROVIDE_HIDDEN (__preinit_array_start = .);
+    PROVIDE (__preinit_array_start = .);
     KEEP (*(.preinit_array))
-    PROVIDE_HIDDEN (__preinit_array_end = .);
+    PROVIDE (__preinit_array_end = .);
   }
   .init_array     :
   {
-     PROVIDE_HIDDEN (__init_array_start = .);
+     PROVIDE (__init_array_start = .);
      KEEP (*(SORT(.init_array.*)))
      KEEP (*(.init_array))
-     PROVIDE_HIDDEN (__init_array_end = .);
+     PROVIDE (__init_array_end = .);
   }
   .fini_array     :
   {
-    PROVIDE_HIDDEN (__fini_array_start = .);
+    PROVIDE (__fini_array_start = .);
     KEEP (*(.fini_array))
     KEEP (*(SORT(.fini_array.*)))
-    PROVIDE_HIDDEN (__fini_array_end = .);
+    PROVIDE (__fini_array_end = .);
   }
   .ctors          :
   {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qemu-kvm-0.15.0/monitor.c 
new/qemu-kvm-0.15.1/monitor.c
--- old/qemu-kvm-0.15.0/monitor.c       2011-08-09 14:40:29.000000000 +0200
+++ new/qemu-kvm-0.15.1/monitor.c       2011-10-19 15:54:48.000000000 +0200
@@ -1210,7 +1210,6 @@
 {
     const char *protocol  = qdict_get_str(qdict, "protocol");
     const char *fdname = qdict_get_str(qdict, "fdname");
-    int skipauth = qdict_get_try_bool(qdict, "skipauth", 0);
     CharDriverState *s;
 
     if (strcmp(protocol, "spice") == 0) {
@@ -1221,10 +1220,13 @@
         }
        qerror_report(QERR_ADD_CLIENT_FAILED);
        return -1;
+#ifdef CONFIG_VNC
     } else if (strcmp(protocol, "vnc") == 0) {
        int fd = monitor_get_fd(mon, fdname);
+        int skipauth = qdict_get_try_bool(qdict, "skipauth", 0);
        vnc_display_add_client(NULL, fd, skipauth);
        return 0;
+#endif
     } else if ((s = qemu_chr_find(protocol)) != NULL) {
        int fd = monitor_get_fd(mon, fdname);
        if (qemu_chr_add_client(s, fd) < 0) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qemu-kvm-0.15.0/net/slirp.c 
new/qemu-kvm-0.15.1/net/slirp.c
--- old/qemu-kvm-0.15.0/net/slirp.c     2011-08-09 14:40:29.000000000 +0200
+++ new/qemu-kvm-0.15.1/net/slirp.c     2011-10-19 15:54:48.000000000 +0200
@@ -529,7 +529,7 @@
     fclose(f);
 
     snprintf(smb_cmdline, sizeof(smb_cmdline), "%s -s %s",
-             SMBD_COMMAND, smb_conf);
+             CONFIG_SMBD_COMMAND, smb_conf);
 
     if (slirp_add_exec(s->slirp, 0, smb_cmdline, &vserver_addr, 139) < 0) {
         slirp_smb_cleanup(s);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qemu-kvm-0.15.0/net/socket.c 
new/qemu-kvm-0.15.1/net/socket.c
--- old/qemu-kvm-0.15.0/net/socket.c    2011-08-09 14:40:29.000000000 +0200
+++ new/qemu-kvm-0.15.1/net/socket.c    2011-10-19 15:54:48.000000000 +0200
@@ -154,6 +154,12 @@
     struct ip_mreq imr;
     int fd;
     int val, ret;
+#ifdef __OpenBSD__
+    unsigned char loop;
+#else
+    int loop;
+#endif
+
     if (!IN_MULTICAST(ntohl(mcastaddr->sin_addr.s_addr))) {
        fprintf(stderr, "qemu: error: specified mcastaddr \"%s\" (0x%08x) does 
not contain a multicast address\n",
                inet_ntoa(mcastaddr->sin_addr),
@@ -197,9 +203,9 @@
     }
 
     /* Force mcast msgs to loopback (eg. several QEMUs in same host */
-    val = 1;
+    loop = 1;
     ret=setsockopt(fd, IPPROTO_IP, IP_MULTICAST_LOOP,
-                   (const char *)&val, sizeof(val));
+                   (const char *)&loop, sizeof(loop));
     if (ret < 0) {
        perror("setsockopt(SOL_IP, IP_MULTICAST_LOOP)");
        goto fail;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qemu-kvm-0.15.0/net.h new/qemu-kvm-0.15.1/net.h
--- old/qemu-kvm-0.15.0/net.h   2011-08-09 14:40:29.000000000 +0200
+++ new/qemu-kvm-0.15.1/net.h   2011-10-19 15:54:48.000000000 +0200
@@ -174,11 +174,6 @@
 
 #define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
 #define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
-#ifdef __sun__
-#define SMBD_COMMAND "/usr/sfw/sbin/smbd"
-#else
-#define SMBD_COMMAND "/usr/sbin/smbd"
-#endif
 
 void qdev_set_nic_properties(DeviceState *dev, NICInfo *nd);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qemu-kvm-0.15.0/ppc.ld new/qemu-kvm-0.15.1/ppc.ld
--- old/qemu-kvm-0.15.0/ppc.ld  2011-08-09 14:40:29.000000000 +0200
+++ new/qemu-kvm-0.15.1/ppc.ld  2011-10-19 15:54:48.000000000 +0200
@@ -79,36 +79,34 @@
   }
   .sbss2          : { *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*) }
   .eh_frame_hdr : { *(.eh_frame_hdr) }
-  .eh_frame       : ONLY_IF_RO { KEEP (*(.eh_frame)) }
-  .gcc_except_table   : ONLY_IF_RO { *(.gcc_except_table .gcc_except_table.*) }
   /* Adjust the address for the data segment.  We want to adjust up to
      the same address within the page on the next page up.  */
   . = ALIGN (0x10000) - ((0x10000 - .) & (0x10000 - 1)); . = 
DATA_SEGMENT_ALIGN (0x10000, 0x1000);
   /* Exception handling  */
-  .eh_frame       : ONLY_IF_RW { KEEP (*(.eh_frame)) }
-  .gcc_except_table   : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) }
+  .eh_frame       : { KEEP (*(.eh_frame)) }
+  .gcc_except_table   : { *(.gcc_except_table .gcc_except_table.*) }
   /* Thread Local Storage sections  */
   .tdata         : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
   .tbss                  : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
   .preinit_array     :
   {
-    PROVIDE_HIDDEN (__preinit_array_start = .);
+    PROVIDE (__preinit_array_start = .);
     KEEP (*(.preinit_array))
-    PROVIDE_HIDDEN (__preinit_array_end = .);
+    PROVIDE (__preinit_array_end = .);
   }
   .init_array     :
   {
-     PROVIDE_HIDDEN (__init_array_start = .);
+     PROVIDE (__init_array_start = .);
      KEEP (*(SORT(.init_array.*)))
      KEEP (*(.init_array))
-     PROVIDE_HIDDEN (__init_array_end = .);
+     PROVIDE (__init_array_end = .);
   }
   .fini_array     :
   {
-    PROVIDE_HIDDEN (__fini_array_start = .);
+    PROVIDE (__fini_array_start = .);
     KEEP (*(.fini_array))
     KEEP (*(SORT(.fini_array.*)))
-    PROVIDE_HIDDEN (__fini_array_end = .);
+    PROVIDE (__fini_array_end = .);
   }
   .ctors          :
   {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qemu-kvm-0.15.0/ppc64.ld new/qemu-kvm-0.15.1/ppc64.ld
--- old/qemu-kvm-0.15.0/ppc64.ld        2011-08-09 14:40:29.000000000 +0200
+++ new/qemu-kvm-0.15.1/ppc64.ld        2011-10-19 15:54:48.000000000 +0200
@@ -81,14 +81,12 @@
   .sdata2         : { *(.sdata2 .sdata2.* .gnu.linkonce.s2.*) }
   .sbss2          : { *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*) }
   .eh_frame_hdr : { *(.eh_frame_hdr) }
-  .eh_frame       : ONLY_IF_RO { KEEP (*(.eh_frame)) }
-  .gcc_except_table   : ONLY_IF_RO { KEEP (*(.gcc_except_table))
 *(.gcc_except_table.*) } /* Adjust the address for the data segment.  We want 
to
 adjust up to +     the same address within the page on the next page up.  */
   . = ALIGN (0x10000) - ((0x10000 - .) & (0x10000 - 1)); . = DATA_SEGMENT_ALIGN
 (0x10000, 0x1000);   /* Exception handling  */
-  .eh_frame       : ONLY_IF_RW { KEEP (*(.eh_frame)) }
-  .gcc_except_table   : ONLY_IF_RW { KEEP (*(.gcc_except_table))
+  .eh_frame       : { KEEP (*(.eh_frame)) }
+  .gcc_except_table   : { KEEP (*(.gcc_except_table))
 *(.gcc_except_table.*) }   /* Thread Local Storage sections  */
   .tdata         : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
   .tbss                  : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qemu-kvm-0.15.0/qemu-options.hx 
new/qemu-kvm-0.15.1/qemu-options.hx
--- old/qemu-kvm-0.15.0/qemu-options.hx 2011-08-09 14:40:29.000000000 +0200
+++ new/qemu-kvm-0.15.1/qemu-options.hx 2011-10-19 15:54:48.000000000 +0200
@@ -1258,9 +1258,9 @@
 
 Then @file{@var{dir}} can be accessed in @file{\\smbserver\qemu}.
 
-Note that a SAMBA server must be installed on the host OS in
-@file{/usr/sbin/smbd}. QEMU was tested successfully with smbd versions from
-Red Hat 9, Fedora Core 3 and OpenSUSE 11.x.
+Note that a SAMBA server must be installed on the host OS.
+QEMU was tested successfully with smbd versions from Red Hat 9,
+Fedora Core 3 and OpenSUSE 11.x.
 
 @item 
hostfwd=[tcp|udp]:[@var{hostaddr}]:@var{hostport}-[@var{guestaddr}]:@var{guestport}
 Redirect incoming TCP or UDP connections to the host port @var{hostport} to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qemu-kvm-0.15.0/sparc.ld new/qemu-kvm-0.15.1/sparc.ld
--- old/qemu-kvm-0.15.0/sparc.ld        2011-08-09 14:40:29.000000000 +0200
+++ new/qemu-kvm-0.15.1/sparc.ld        2011-10-19 15:54:48.000000000 +0200
@@ -67,23 +67,23 @@
   .tbss    : { *(.tbss) }
   .preinit_array     :
   {
-    PROVIDE_HIDDEN (__preinit_array_start = .);
+    PROVIDE (__preinit_array_start = .);
     KEEP (*(.preinit_array))
-    PROVIDE_HIDDEN (__preinit_array_end = .);
+    PROVIDE (__preinit_array_end = .);
   }
   .init_array     :
   {
-     PROVIDE_HIDDEN (__init_array_start = .);
+     PROVIDE (__init_array_start = .);
      KEEP (*(SORT(.init_array.*)))
      KEEP (*(.init_array))
-     PROVIDE_HIDDEN (__init_array_end = .);
+     PROVIDE (__init_array_end = .);
   }
   .fini_array     :
   {
-    PROVIDE_HIDDEN (__fini_array_start = .);
+    PROVIDE (__fini_array_start = .);
     KEEP (*(.fini_array))
     KEEP (*(SORT(.fini_array.*)))
-    PROVIDE_HIDDEN (__fini_array_end = .);
+    PROVIDE (__fini_array_end = .);
   }
   .ctors         :
   {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qemu-kvm-0.15.0/ui/sdl.c new/qemu-kvm-0.15.1/ui/sdl.c
--- old/qemu-kvm-0.15.0/ui/sdl.c        2011-08-09 14:40:29.000000000 +0200
+++ new/qemu-kvm-0.15.1/ui/sdl.c        2011-10-19 15:54:48.000000000 +0200
@@ -672,8 +672,10 @@
                 sdl_process_key(&ev->key);
             break;
         case SDL_QUIT:
-            if (!no_quit)
+            if (!no_quit) {
+                no_shutdown = 0;
                 qemu_system_shutdown_request();
+            }
             break;
         case SDL_MOUSEMOTION:
             if (gui_grab || kbd_mouse_is_absolute() ||
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qemu-kvm-0.15.0/vl.c new/qemu-kvm-0.15.1/vl.c
--- old/qemu-kvm-0.15.0/vl.c    2011-08-09 14:40:29.000000000 +0200
+++ new/qemu-kvm-0.15.1/vl.c    2011-10-19 15:54:48.000000000 +0200
@@ -1285,6 +1285,7 @@
 {
     shutdown_signal = signal;
     shutdown_pid = pid;
+    no_shutdown = 0;
     qemu_system_shutdown_request();
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qemu-kvm-0.15.0/x86_64.ld 
new/qemu-kvm-0.15.1/x86_64.ld
--- old/qemu-kvm-0.15.0/x86_64.ld       2011-08-09 14:40:29.000000000 +0200
+++ new/qemu-kvm-0.15.1/x86_64.ld       2011-10-19 15:54:48.000000000 +0200
@@ -38,16 +38,16 @@
   .rel.plt      :
   {
     *(.rel.plt)
-    PROVIDE_HIDDEN (__rel_iplt_start = .);
+    PROVIDE (__rel_iplt_start = .);
     *(.rel.iplt)
-    PROVIDE_HIDDEN (__rel_iplt_end = .);
+    PROVIDE (__rel_iplt_end = .);
   }
   .rela.plt       :
   {
     *(.rela.plt)
-    PROVIDE_HIDDEN (__rela_iplt_start = .);
+    PROVIDE (__rela_iplt_start = .);
     *(.rela.iplt)
-    PROVIDE_HIDDEN (__rela_iplt_end = .);
+    PROVIDE (__rela_iplt_end = .);
   }
   .init           :
   {
@@ -70,8 +70,6 @@
   .rodata         : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
   .rodata1        : { *(.rodata1) }
   .eh_frame_hdr : { *(.eh_frame_hdr) }
-  .eh_frame       : ONLY_IF_RO { KEEP (*(.eh_frame)) }
-  .gcc_except_table   : ONLY_IF_RO { *(.gcc_except_table) }
   /* Adjust the address for the data segment.  We want to adjust up to
      the same address within the page on the next page up.  */
   . = ALIGN (0x100000) - ((0x100000 - .) & (0x100000 - 1)); . = 
DATA_SEGMENT_ALIGN (0x100000, 0x1000);
@@ -97,8 +95,8 @@
   .data1          : { *(.data1) }
   .tdata         : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
   .tbss                  : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
-  .eh_frame       : ONLY_IF_RW { KEEP (*(.eh_frame)) }
-  .gcc_except_table   : ONLY_IF_RW { *(.gcc_except_table) }
+  .eh_frame       : { KEEP (*(.eh_frame)) }
+  .gcc_except_table   : { *(.gcc_except_table) }
   .dynamic        : { *(.dynamic) }
   .ctors          :
   {


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to