1. 20 6月, 2015 1 次提交
  2. 19 6月, 2015 2 次提交
    • L
      semihosting: add --semihosting-config arg sub-argument · a59d31a1
      Leon Alrae 提交于
      Add new "arg" sub-argument to the --semihosting-config allowing the user
      to pass multiple input arguments separately. It is required for example
      by UHI semihosting to construct argc and argv.
      
      Also, update ARM semihosting to support new option (at the moment it is
      the only target which cares about arguments).
      
      If the semihosting is enabled and no semihosting args have been specified,
      then fall back to -kernel/-append. The -append string is split on whitespace
      before initializing semihosting.argv[1..n]; this is different from what
      QEMU MIPS machines' pseudo-bootloaders do (i.e. argv[1] contains the whole
      -append), but is more intuitive from UHI user's point of view and Linux
      kernel just does not care as it concatenates argv[1..n] into single cmdline
      string anyway.
      Signed-off-by: NLeon Alrae <leon.alrae@imgtec.com>
      Message-id: 1434643256-16858-3-git-send-email-leon.alrae@imgtec.com
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      a59d31a1
    • L
      semihosting: create SemihostingConfig structure and semihost.h · cfe67cef
      Leon Alrae 提交于
      Remove semihosting_enabled and semihosting_target and replace them with
      SemihostingConfig structure containing equivalent fields. The structure
      is defined in vl.c where it is actually set.
      
      Also introduce separate header file include/exec/semihost.h allowing to
      access semihosting config related stuff from target specific semihosting
      code.
      Signed-off-by: NLeon Alrae <leon.alrae@imgtec.com>
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1434643256-16858-2-git-send-email-leon.alrae@imgtec.com
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      cfe67cef
  3. 17 6月, 2015 1 次提交
    • P
      qemu-log: Open file for logging when specified · 67633bb4
      Pranith Kumar 提交于
      qemu-log defaults to stderr when there is no '-D' option mentioned on command
      line. When '-D' option is specified, we also need to specify '-d' option for it
      to use the specified logfile. When using monitor to enable logging this is
      troublesome since there will be no '-d' option because of which monitor dumps
      the logs to stderr.
      
      Fix this by opening the log file when '-D' is specified on the command line.
      Also fix an ancient comment which does not hold true since changing location and
      log level has now been streamlined.
      Signed-off-by: NPranith Kumar <bobby.prani@gmail.com>
      CC: Paolo Bonzini <pbonzini@redhat.com>
      CC: Luiz Capitulino <lcapitulino@redhat.com>
      CC: Markus Armbruster <armbru@redhat.com>
      CC: Peter Maydell <peter.maydell@linaro.org>
      Message-Id: <1433946024-18439-1-git-send-email-bobby.prani@gmail.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      67633bb4
  4. 12 6月, 2015 1 次提交
  5. 10 6月, 2015 1 次提交
    • G
      fw_cfg: insert fw_cfg file blobs via qemu cmdline · 81b2b810
      Gabriel L. Somlo 提交于
      Allow user supplied files to be inserted into the fw_cfg
      device before starting the guest. Since fw_cfg_add_file()
      already disallows duplicate fw_cfg file names, qemu will
      exit with an error message if the user supplies multiple
      blobs with the same fw_cfg file name, or if a blob name
      collides with a fw_cfg name programmatically added from
      within the QEMU source code. A warning message will be
      printed if the fw_cfg item name does not begin with the
      prefix "opt/", which is recommended for external, user
      provided blobs.
      Signed-off-by: NGabriel Somlo <somlo@cmu.edu>
      Reviewed-by: NLaszlo Ersek <lersek@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      81b2b810
  6. 09 6月, 2015 7 次提交
  7. 05 6月, 2015 2 次提交
  8. 04 6月, 2015 1 次提交
  9. 03 6月, 2015 1 次提交
    • S
      vl: fix memory leak spotted by valgrind · bd4baf6e
      Shannon Zhao 提交于
      valgrind complains about:
      ==9276== 13 bytes in 1 blocks are definitely lost in loss record 1,046 of 3,673
      ==9276==    at 0x4C2845D: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==9276==    by 0x2EAFBB: malloc_and_trace (vl.c:2556)
      ==9276==    by 0x64C770E: g_malloc (in /usr/lib64/libglib-2.0.so.0.3600.3)
      ==9276==    by 0x4A28BD: addr_to_string (vnc.c:123)
      ==9276==    by 0x4A29AD: vnc_socket_local_addr (vnc.c:139)
      ==9276==    by 0x4A9AFE: vnc_display_local_addr (vnc.c:3240)
      ==9276==    by 0x2EF4FE: main (vl.c:4321)
      Signed-off-by: NShannon Zhao <zhaoshenglong@huawei.com>
      Signed-off-by: NShannon Zhao <shannon.zhao@linaro.org>
      Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
      bd4baf6e
  10. 31 5月, 2015 1 次提交
  11. 29 5月, 2015 1 次提交
    • G
      gtk: add opengl support, using egl · 97edf3bd
      Gerd Hoffmann 提交于
      This adds opengl rendering support to the gtk ui, using egl.
      It's off by default for now, use 'qemu -display gtk,gl=on'
      to play with this.
      
      Note that gtk got native opengl support with release 3.16.
      There most likely will be a separate implementation for 3.16+,
      using the native gtk opengl support.  This patch covers older
      versions (and for the time being 3.16 too, hopefully without
      rendering quirks).
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      97edf3bd
  12. 05 5月, 2015 1 次提交
  13. 26 3月, 2015 1 次提交
  14. 20 3月, 2015 1 次提交
  15. 19 3月, 2015 1 次提交
  16. 12 3月, 2015 1 次提交
  17. 10 3月, 2015 1 次提交
  18. 03 3月, 2015 2 次提交
  19. 27 2月, 2015 1 次提交
  20. 26 2月, 2015 6 次提交
  21. 24 2月, 2015 6 次提交