]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Merge remote branch 'spice/submit.6' into staging
authorAnthony Liguori <aliguori@us.ibm.com>
Tue, 5 Oct 2010 19:14:19 +0000 (14:14 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 5 Oct 2010 19:14:19 +0000 (14:14 -0500)
Conflicts:
configure

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
1  2 
Makefile.objs
configure
qemu-config.c
vl.c

diff --cc Makefile.objs
index 9c13bb353912e80f77b581ee063614ca7bfc0468,a3113d82af8a7db811a6c285e2af3233f534eeca..816194a3d65eab9900b75c3354a570ec1636a752
@@@ -87,8 -87,9 +88,10 @@@ common-obj-y += pflib.
  
  common-obj-$(CONFIG_BRLAPI) += baum.o
  common-obj-$(CONFIG_POSIX) += migration-exec.o migration-unix.o migration-fd.o
 +common-obj-$(CONFIG_WIN32) += version.o
  
+ common-obj-$(CONFIG_SPICE) += ui/spice-core.o ui/spice-input.o ui/spice-display.o
  audio-obj-y = audio.o noaudio.o wavaudio.o mixeng.o
  audio-obj-$(CONFIG_SDL) += sdlaudio.o
  audio-obj-$(CONFIG_OSS) += ossaudio.o
diff --cc configure
index e0d34fd29bba93f12c01b96f060944dd4e682167,695a632700162869880d7c80fda3294d1aaa1909..9e65de05af115d8ae8ba55e29fbf34aa5f3f1a42
+++ b/configure
@@@ -15,12 -15,12 +15,14 @@@ TMPC="${TMPDIR1}/qemu-conf-${RANDOM}-$$
  TMPO="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.o"
  TMPE="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.exe"
  
 -trap "rm -f $TMPC $TMPO $TMPE ; exit" EXIT INT QUIT TERM
 +# NB: do not call "exit" in the trap handler; this is buggy with some shells;
 +# see <1285349658-3122-1-git-send-email-loic.minier@linaro.org>
 +trap "rm -f $TMPC $TMPO $TMPE" EXIT INT QUIT TERM
+ rm -f config.log
  
  compile_object() {
-   $cc $QEMU_CFLAGS -c -o $TMPO $TMPC > /dev/null 2> /dev/null
+   echo $cc $QEMU_CFLAGS -c -o $TMPO $TMPC >> config.log
+   $cc $QEMU_CFLAGS -c -o $TMPO $TMPC >> config.log 2>&1
  }
  
  compile_prog() {
  if test "$fdatasync" = "yes" ; then
    echo "CONFIG_FDATASYNC=y" >> $config_host_mak
  fi
 +if test "$madvise" = "yes" ; then
 +  echo "CONFIG_MADVISE=y" >> $config_host_mak
 +fi
 +if test "$posix_madvise" = "yes" ; then
 +  echo "CONFIG_POSIX_MADVISE=y" >> $config_host_mak
 +fi
  
+ if test "$spice" = "yes" ; then
+   echo "CONFIG_SPICE=y" >> $config_host_mak
+ fi
  # XXX: suppress that
  if [ "$bsd" = "yes" ] ; then
    echo "CONFIG_BSD=y" >> $config_host_mak
diff --cc qemu-config.c
Simple merge
diff --cc vl.c
Simple merge