1. 04 10月, 2019 1 次提交
  2. 27 9月, 2019 1 次提交
  3. 20 9月, 2019 1 次提交
    • P
      Makefile: Fix in-tree builds when Sphinx is available · b53c54c6
      Peter Maydell 提交于
      In commit 27a296fc we switched the qemu-ga manpage over to
      being built from Sphinx.  The makefile rules for this were correct
      for an out-of-tree build, but break for in-tree builds if Sphinx is
      present and we're trying to build the documentation.
      
      Specifically, because Sphinx refuses to build output files into
      the same directory as its sources, for an in-tree build we tell
      it to build into a subdirectory docs/built, and set up a makefile
      variable MANUAL_BUILDDIR indicating where the docs are going.
      The makefile rule telling Make how to build qemu-ga.8 correctly
      used this variable, but the lines adding qemu-ga.8 to the list
      of DOCS to be built and the 'make install' rune did not. The
      effect was that for an in-tree build we told Make to build
      'docs/interop/qemu-ga.8' but did not provide a specific rule for
      doing so, which caused Make to fall back to the old rules.make
      rule for building any "%.8" file. Make tried to invoke texi2pod
      with a bogus command line, resulting in the error:
      
        GEN     docs/interop/qemu-ga.8
      No filename or title
      make: *** [rules.mak:394: docs/interop/qemu-ga.8]
      
      Fix this by using $(MANUAL_BUILDDIR) when constructing the
      list of DOCS files we want to build and also in the source
      file name we install for 'make install'.
      
      (Among other things, this broke the Shippable CI builds.)
      
      Fixes: 27a296fcReported-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
      Tested-by: NAlex Bennée <alex.bennee@linaro.org>
      Message-id: 20190919155957.12618-1-peter.maydell@linaro.org
      Tested-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      b53c54c6
  4. 13 9月, 2019 1 次提交
  5. 10 9月, 2019 1 次提交
    • P
      tests/tcg: move configuration to a sub-shell script · 2038f8c8
      Paolo Bonzini 提交于
      Avoid the repeated inclusions of config-target.mak, which have
      risks of namespace pollution, and instead build minimal configuration
      files in a configuration script.  The same configuration files can
      also be included in Makefile and Makefile.qemu
      
      [AJB 10/09/19]
      In the original PR this had inadvertently enabled tests
      for ppc64abi32. However as the rest of the multiarch tests work rather
      than disabling the otherwise correctly functioning build I've just
      skipped the failing linux-test test. For some reason I can't debug it
      with TCG so I'm leaving that to the PPC maintainers to look at.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Message-Id: <20190807143523.15917-4-pbonzini@redhat.com>
      [AJB: s/docker/container/, rm last bits from configure, ppc6432abi hack]
      Signed-off-by: NAlex Bennée <alex.bennee@linaro.org>
      Cc: Richard Henderson <rth@twiddle.net>
      2038f8c8
  6. 22 8月, 2019 1 次提交
  7. 21 8月, 2019 2 次提交
  8. 03 8月, 2019 1 次提交
  9. 23 7月, 2019 2 次提交
    • P
      buildsys: The NSIS Windows build requires qemu-nsis.bmp installed · b3ce38dc
      Philippe Mathieu-Daudé 提交于
      The qemu-nsis.bmp file was not listed with the other blobs, thus
      not installed in the ${BINDIR} location.
      
      This fixes:
      
        $ make installer
        [...]
        (cd /tmp/qemu-nsis; \
                 for i in qemu-system-*.exe; do \
                   arch=${i%.exe}; \
                   arch=${arch#qemu-system-}; \
                   echo Section \"$arch\" Section_$arch; \
                   echo SetOutPath \"\$INSTDIR\"; \
                   echo File \"\${BINDIR}\\$i\"; \
                   echo SectionEnd; \
                 done \
                ) >/tmp/qemu-nsis/system-emulations.nsh
        makensis -V2 -NOCD \
                        -DCONFIG_DOCUMENTATION="y" \
                         \
                        -DBINDIR="/tmp/qemu-nsis" \
                         \
                        -DSRCDIR="/home/phil/source/qemu" \
                        -DOUTFILE="qemu-setup-4.0.90.exe" \
                        -DDISPLAYVERSION="4.0.90" \
                        /home/phil/source/qemu/qemu.nsi
        File: "/tmp/qemu-nsis\*.bmp" -> no files found.
        Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
           /oname=outfile one_file_only)
        Error in script "/home/phil/source/qemu/qemu.nsi" on line 122 -- aborting creation process
        Makefile:1077: recipe for target 'qemu-setup-4.0.90.exe' failed
        make: *** [qemu-setup-4.0.90.exe] Error 1
      
      Fixes: https://bugs.launchpad.net/bugs/1836453Signed-off-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Message-Id: <20190715174817.18981-8-philmd@redhat.com>
      Signed-off-by: NAlex Bennée <alex.bennee@linaro.org>
      b3ce38dc
    • P
      buildsys: The NSIS Windows build requires the documentation installed · f84f9f75
      Philippe Mathieu-Daudé 提交于
      This fixes:
      
        $ make installer
        [...]
        (cd /tmp/qemu-nsis; \
                 for i in qemu-system-*.exe; do \
                   arch=${i%.exe}; \
                   arch=${arch#qemu-system-}; \
                   echo Section \"$arch\" Section_$arch; \
                   echo SetOutPath \"\$INSTDIR\"; \
                   echo File \"\${BINDIR}\\$i\"; \
                   echo SectionEnd; \
                 done \
                ) >/tmp/qemu-nsis/system-emulations.nsh
        makensis -V2 -NOCD \
                         \
                        -DCONFIG_GTK="y" \
                        -DBINDIR="/tmp/qemu-nsis" \
                         \
                        -DSRCDIR="/source/qemu" \
                        -DOUTFILE="qemu-setup-4.0.90.exe" \
                        -DDISPLAYVERSION="4.0.90" \
                        /source/qemu/qemu.nsi
        File: "/tmp/qemu-nsis\qemu-doc.html" -> no files found.
        Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
           /oname=outfile one_file_only)
        Error in script "/source/qemu/qemu.nsi" on line 173 -- aborting creation process
        make: *** [Makefile:1080: qemu-setup-4.0.90.exe] Error 1
      Signed-off-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Message-Id: <20190715174817.18981-7-philmd@redhat.com>
      Signed-off-by: NAlex Bennée <alex.bennee@linaro.org>
      f84f9f75
  10. 22 7月, 2019 1 次提交
    • P
      contrib/elf2dmp: Build download.o with CURL_CFLAGS · ddb45afb
      Peter Maydell 提交于
      contrib/elf2dmp has a source file which uses curl/curl.h;
      although we link the final executable with CURL_LIBS, we
      forgot to build this source file with CURL_CFLAGS, so if
      the curl header is in a place that's not already on the
      system include path then it will fail to build.
      
      Add a line specifying the cflags needed for download.o;
      while we are here, bring the specification of the libs
      into line with this, since using a per-object variable
      setting is preferred over adding them to the final
      executable link line.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-id: 20190719100955.17180-1-peter.maydell@linaro.org
      ddb45afb
  11. 19 7月, 2019 1 次提交
  12. 16 7月, 2019 2 次提交
  13. 09 7月, 2019 1 次提交
  14. 05 7月, 2019 1 次提交
  15. 03 7月, 2019 3 次提交
  16. 02 7月, 2019 2 次提交
  17. 28 6月, 2019 1 次提交
  18. 27 6月, 2019 1 次提交
  19. 17 6月, 2019 1 次提交
  20. 29 5月, 2019 1 次提交
  21. 28 5月, 2019 2 次提交
  22. 23 5月, 2019 1 次提交
  23. 22 5月, 2019 1 次提交
    • M
      contrib: add vhost-user-input · 06914c97
      Marc-André Lureau 提交于
      Add a vhost-user input backend example, based on virtio-input-host
      device. It takes an evdev path as argument, and can be associated with
      a vhost-user-input device via a UNIX socket:
      
      $ vhost-user-input -p /dev/input/eventX -s /tmp/vui.sock
      
      $ qemu ... -chardev socket,id=vuic,path=/tmp/vui.sock
        -device vhost-user-input-pci,chardev=vuic
      
      This example is intentionally not included in $TOOLS, and not
      installed by default.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-id: 20190514104126.6294-4-marcandre.lureau@redhat.com
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      06914c97
  24. 17 5月, 2019 3 次提交
  25. 13 5月, 2019 1 次提交
  26. 10 5月, 2019 1 次提交
  27. 03 5月, 2019 3 次提交
  28. 02 5月, 2019 1 次提交
  29. 17 4月, 2019 1 次提交