1. 29 9月, 2015 1 次提交
  2. 11 9月, 2015 1 次提交
  3. 04 8月, 2015 1 次提交
  4. 15 7月, 2015 1 次提交
    • J
      migration: We also want to store the global state for savevm · 560d027b
      Juan Quintela 提交于
      Commit df4b1024 introduced global_state
      section.  But it only filled the state while doing migration.  While
      doing a savevm, we stored an empty string as state.  So when we did a
      loadvm, it complained that state was invalid.
      
      Fedora 21, 4.1.1, qemu 2.4.0-rc0
      > ../../configure --target-list="x86_64-softmmu"
      
      068 2s ... - output mismatch (see 068.out.bad)
      --- /home/bos/jhuston/src/qemu/tests/qemu-iotests/068.out	2015-07-08
      17:56:18.588164979 -0400
      +++ 068.out.bad	2015-07-09 17:39:58.636651317 -0400
      @@ -6,6 +6,8 @@
       QEMU X.Y.Z monitor - type 'help' for more information
       (qemu) savevm 0
       (qemu) quit
      +qemu-system-x86_64: Unknown savevm section or instance 'globalstate' 0
      +qemu-system-x86_64: Error -22 while loading VM state
       QEMU X.Y.Z monitor - type 'help' for more information
       (qemu) quit
       *** done
      Failures: 068
      Failed 1 of 1 tests
      
      Actually, there were two problems here:
      - we registered global_state too late for load_vm (fixed on another
        patch on the list)
      - we didn't store a valid state for savevm (fixed by this patch).
      Reported-by: NJohn Snow <jsnow@redhat.com>
      Signed-off-by: NJuan Quintela <quintela@redhat.com>
      Reviewed-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
      Reviewed-by: NAmit Shah <amit.shah@redhat.com>
      Tested-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      560d027b
  5. 07 7月, 2015 4 次提交
  6. 23 6月, 2015 3 次提交
  7. 12 6月, 2015 11 次提交
  8. 19 3月, 2015 1 次提交
  9. 16 3月, 2015 2 次提交
  10. 18 2月, 2015 2 次提交
    • M
      hmp: Name HMP info handler functions hmp_info_SUBCOMMAND() · 1ce6be24
      Markus Armbruster 提交于
      Some are called do_info_SUBCOMMAND() (old ones, usually), some
      hmp_info_SUBCOMMAND(), some SUBCOMMAND_info(), sometimes SUBCOMMAND
      pointlessly differs in spelling.
      
      Normalize to hmp_info_SUBCOMMAND(), where SUBCOMMAND is exactly the
      subcommand name with '-' replaced by '_'.
      
      Exceptions:
      
      * sun4m_irq_info(), sun4m_pic_info() renamed to sun4m_hmp_info_irq(),
        sun4m_hmp_info_pic().
      
      * lm32_irq_info(), lm32_pic_info() renamed to lm32_hmp_info_irq(),
        lm32_hmp_info_pic().
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      1ce6be24
    • M
      hmp: Name HMP command handler functions hmp_COMMAND() · 3e5a50d6
      Markus Armbruster 提交于
      Some are called do_COMMAND() (old ones, usually), some hmp_COMMAND(),
      and sometimes COMMAND pointlessly differs in spelling.
      
      Normalize to hmp_COMMAND(), where COMMAND is exactly the command name
      with '-' replaced by '_'.
      
      Exceptions:
      
      * do_device_add() and client_migrate_info() *not* renamed to
        hmp_device_add(), hmp_client_migrate_info(), because they're also
        QMP handlers.  They still need to be converted to QAPI.
      
      * do_memory_dump(), do_physical_memory_dump(), do_ioport_read(),
        do_ioport_write() renamed do hmp_* instead of hmp_x(), hmp_xp(),
        hmp_i(), hmp_o(), because those names are too cryptic for my taste.
      
      * do_info_help() renamed to hmp_info_help() instead of hmp_info(),
        because it only covers help.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      3e5a50d6
  11. 16 2月, 2015 1 次提交
    • K
      savevm: Improve error message for blocked migration · 5d80448c
      Kevin Wolf 提交于
      If an internal snapshot can't be saved because migration is blocked
      (most commonly probably because of AHCI), we had a really bad error
      message:
      
      $ echo -e "savevm foo\nquit" | qemu -M q35 /tmp/test.qcow2 -monitor stdio
      QEMU 2.2.50 monitor - type 'help' for more information
      (qemu) savevm foo
      Error -22 while writing VM
      (qemu) quit
      
      This patch converts qemu_savevm_state() to the Error infrastructure so
      that a useful error pointing to the problematic device is produced now:
      
      $ echo -e "savevm foo\nquit" | qemu -M q35 /tmp/test.qcow2 -monitor stdio
      QEMU 2.2.50 monitor - type 'help' for more information
      (qemu) savevm foo
      State blocked by non-migratable device '0000:00:1f.2/ich9_ahci'
      (qemu) quit
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Message-id: 1423574702-23072-1-git-send-email-kwolf@redhat.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      5d80448c
  12. 06 2月, 2015 4 次提交
  13. 03 11月, 2014 1 次提交
  14. 03 10月, 2014 1 次提交
  15. 26 6月, 2014 1 次提交
  16. 24 6月, 2014 1 次提交
  17. 19 6月, 2014 2 次提交
  18. 17 6月, 2014 1 次提交
  19. 25 4月, 2014 1 次提交