1. 09 10月, 2015 1 次提交
  2. 03 10月, 2015 1 次提交
  3. 30 9月, 2015 1 次提交
  4. 19 9月, 2015 3 次提交
  5. 16 9月, 2015 1 次提交
  6. 11 9月, 2015 1 次提交
  7. 10 9月, 2015 1 次提交
  8. 08 9月, 2015 1 次提交
  9. 13 8月, 2015 1 次提交
  10. 24 7月, 2015 1 次提交
  11. 15 7月, 2015 1 次提交
  12. 07 7月, 2015 5 次提交
    • J
      migration: create new section to store global state · df4b1024
      Juan Quintela 提交于
      This includes a new section that for now just stores the current qemu state.
      
      Right now, there are only one way to control what is the state of the
      target after migration.
      
      - If you run the target qemu with -S, it would start stopped.
      - If you run the target qemu without -S, it would run just after migration finishes.
      
      The problem here is what happens if we start the target without -S and
      there happens one error during migration that puts current state as
      -EIO.  Migration would ends (notice that the error happend doing block
      IO, network IO, i.e. nothing related with migration), and when
      migration finish, we would just "continue" running on destination,
      probably hanging the guest/corruption data, whatever.
      Signed-off-by: NJuan Quintela <quintela@redhat.com>
      Reviewed-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
      df4b1024
    • J
      runstate: migration allows more transitions now · ca3fc39e
      Juan Quintela 提交于
      Next commit would allow to move from incoming migration to error happening on source.
      
      Should we add more states to this transition?  Luiz?
      Signed-off-by: NJuan Quintela <quintela@redhat.com>
      Reviewed-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
      ca3fc39e
    • J
      runstate: Add runstate store · 5e0f1940
      Juan Quintela 提交于
      This allows us to store the current state to send it through migration.
      Signed-off-by: NJuan Quintela <quintela@redhat.com>
      Reviewed-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
      5e0f1940
    • D
      crypto: introduce new module for computing hash digests · ddbb0d09
      Daniel P. Berrange 提交于
      Introduce a new crypto/ directory that will (eventually) contain
      all the cryptographic related code. This initially defines a
      wrapper for initializing gnutls and for computing hashes with
      gnutls. The former ensures that gnutls is guaranteed to be
      initialized exactly once in QEMU regardless of CLI args. The
      block quorum code currently fails to initialize gnutls so it
      only works by luck, if VNC server TLS is not requested. The
      hash APIs avoids the need to litter the rest of the code with
      preprocessor checks and simplifies callers by allocating the
      correct amount of memory for the requested hash.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      Message-Id: <1435770638-25715-2-git-send-email-berrange@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      ddbb0d09
    • E
      vl: move rom_load_all after machine init done · 6b3f7f63
      Eric Auger 提交于
      On ARM, commit ac9d32e3 postponed the
      memory preparation for boot until the machine init done notifier. This
      has for consequence to insert ROM at machine init done time.
      
      However the rom_load_all function stayed called before the ROM are
      inserted. As a consequence the rom_load_all function does not do
      everything it is expected to do, on ARM.
      
      It currently registers the ROM reset notifier but does not iterate through
      the registered ROM list. the isrom field is not set properly. This latter
      is used to report info in the monitor and also to decide whether the
      rom->data can be freed on ROM reset notifier.
      
      To fix that regression the patch moves the rom_load_all call after
      machine init done. We also take the opportunity to rename the rom_load_all
      function into rom_check_and_resgister_reset() and integrate the
      rom_load_done in it.
      Signed-off-by: NEric Auger <eric.auger@linaro.org>
      Reported-by: NPeter Crosthwaite <peter.crosthwaite@xilinx.com>
      Message-Id: <1434470874-22573-1-git-send-email-eric.auger@linaro.org>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      6b3f7f63
  13. 23 6月, 2015 5 次提交
  14. 20 6月, 2015 1 次提交
  15. 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
  16. 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
  17. 12 6月, 2015 1 次提交
  18. 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
  19. 09 6月, 2015 7 次提交
  20. 05 6月, 2015 2 次提交
  21. 04 6月, 2015 1 次提交
  22. 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