1. 05 6月, 2012 2 次提交
    • L
      qapi: convert netdev_add · 928059a3
      Luiz Capitulino 提交于
      This is not a full QAPI conversion, but an intermediate step.
      
      In essence, do_netdev_add() is split into three functions:
      
       1. netdev_add(): performs the actual work. This function is fully
          converted to Error (thus, it's "qapi-friendly")
      
       2. qmp_netdev_add(): the QMP front-end for netdev_add(). This is
          coded by hand and not auto-generated (gen=no in the schema). The
          reason for this it's a lot easier and simpler to with QemuOpts
          this way
      
       3. hmp_netdev_add(): HMP front-end.
      
      This design was suggested by Paolo Bonzini.
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      Reviewed-By: NLaszlo Ersek <lersek@redhat.com>
      928059a3
    • W
      introduce a new monitor command 'dump-guest-memory' to dump guest's memory · 783e9b48
      Wen Congyang 提交于
      The command's usage:
         dump-guest-memory [-p] protocol [begin] [length]
      The supported protocol can be file or fd:
      1. file: the protocol starts with "file:", and the following string is
         the file's path.
      2. fd: the protocol starts with "fd:", and the following string is the
         fd's name.
      
      Note:
        1. If you want to use gdb to process the core, please specify -p option.
           The reason why the -p option is not default is:
             a. guest machine in a catastrophic state can have corrupted memory,
                which we cannot trust.
             b. The guest machine can be in read-mode even if paging is enabled.
                For example: the guest machine uses ACPI to sleep, and ACPI sleep
                state goes in real-mode.
        2. If you don't want to dump all guest's memory, please specify the start
           physical address and the length.
      Signed-off-by: NWen Congyang <wency@cn.fujitsu.com>
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      783e9b48
  2. 10 5月, 2012 1 次提交
  3. 03 5月, 2012 1 次提交
  4. 27 4月, 2012 1 次提交
  5. 10 4月, 2012 1 次提交
  6. 15 3月, 2012 1 次提交
    • L
      qapi: Convert migrate · e1c37d0e
      Luiz Capitulino 提交于
      The migrate command is one of those commands where HMP and QMP completely
      mix up together. This made the conversion to the QAPI (which separates the
      command into QMP and HMP parts) a bit difficult.
      
      The first important change to be noticed is that this commit completes the
      removal of the Monitor object from migration code, started by the previous
      commit.
      
      Another important and tricky change is about supporting the non-detached
      mode. That is, if the user doesn't pass '-d' the migrate command will lock
      the monitor and will only release it when migration is finished.
      
      To support this in the new HMP command (hmp_migrate()), it is necessary
      to create a timer which runs every second and checks if the migration is
      still active. If it is, the timer callback will re-schedule itself to run
      one second in the future. If the migration has already finished, the
      monitor lock is released and the user can use it normally.
      
      All these changes should be transparent to the user.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      e1c37d0e
  7. 12 3月, 2012 1 次提交
  8. 25 2月, 2012 1 次提交
  9. 26 1月, 2012 4 次提交
  10. 18 1月, 2012 5 次提交
  11. 14 1月, 2012 1 次提交
  12. 13 1月, 2012 1 次提交
  13. 06 12月, 2011 12 次提交
  14. 05 12月, 2011 1 次提交
  15. 27 10月, 2011 7 次提交