1. 22 7月, 2011 2 次提交
    • M
      guest agent: add guest agent RPCs/commands · e3d4d252
      Michael Roth 提交于
      This adds the initial set of QMP/QAPI commands provided by the guest
      agent:
      
      guest-sync
      guest-ping
      guest-info
      guest-shutdown
      guest-file-open
      guest-file-read
      guest-file-write
      guest-file-seek
      guest-file-flush
      guest-file-close
      guest-fsfreeze-freeze
      guest-fsfreeze-thaw
      guest-fsfreeze-status
      
      The input/output specification for these commands are documented in the
      schema.
      
      Example usage:
      
        host:
          qemu -device virtio-serial \
               -chardev socket,path=/tmp/vs0.sock,server,nowait,id=qga0 \
               -device virtserialport,chardev=qga0,name=org.qemu.quest_agent.0
               ...
      
          echo "{'execute':'guest-info'}" | socat stdio unix-connect:/tmp/qga0.sock
      
        guest:
          qemu-ga -m virtio-serial -p /dev/virtio-ports/org.qemu.guest_agent.0 \
                  -p /var/run/qemu-guest-agent.pid -d
      Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
      Signed-off-by: NLuiz Capitulino <lcapitulino@gmail.com>
      e3d4d252
    • M
      qapi: add QMP input visitor · c40cc0a0
      Michael Roth 提交于
      A type of Visiter class that is used to walk a qobject's
      structure and assign each entry to the corresponding native C type.
      Command marshaling function will use this to pull out QMP command
      parameters recieved over the wire and pass them as native arguments
      to the corresponding C functions.
      Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
      Signed-off-by: NLuiz Capitulino <lcapitulino@gmail.com>
      c40cc0a0
  2. 08 6月, 2011 2 次提交
  3. 01 6月, 2011 1 次提交
  4. 22 3月, 2011 1 次提交
  5. 10 2月, 2011 1 次提交
  6. 10 1月, 2011 1 次提交
  7. 03 10月, 2010 2 次提交
  8. 31 7月, 2010 1 次提交
  9. 02 7月, 2010 1 次提交
  10. 19 5月, 2010 1 次提交
  11. 26 4月, 2010 1 次提交
  12. 19 4月, 2010 4 次提交
  13. 27 3月, 2010 1 次提交
  14. 17 3月, 2010 13 次提交
  15. 16 3月, 2010 1 次提交
    • M
      error: Infrastructure to track locations for error reporting · 827b0813
      Markus Armbruster 提交于
      New struct Location holds a location.  So far, the only location is
      LOC_NONE, so this doesn't do anything useful yet.
      
      Passing the current location all over the place would be too
      cumbersome.  Hide it away in static cur_loc instead, and provide
      accessors.  Print it in error_report().
      
      Store it in QError, and print it in qerror_print().
      
      Store it in QemuOpt, for use by qemu_opts_foreach().  This makes
      error_report() do the right thing when it runs within
      qemu_opts_foreach().
      
      We may still have to store it in other data structures holding user
      input for better error messages.  Left for another day.
      827b0813
  16. 04 2月, 2010 1 次提交
  17. 27 1月, 2010 2 次提交
  18. 12 12月, 2009 1 次提交
  19. 08 12月, 2009 3 次提交