1. 09 5月, 2014 2 次提交
  2. 06 5月, 2014 2 次提交
  3. 25 4月, 2014 1 次提交
  4. 01 3月, 2014 1 次提交
    • Q
      dump: make kdump-compressed format available for 'dump-guest-memory' · b53ccc30
      qiaonuohan 提交于
      Make monitor command 'dump-guest-memory' be able to dump in kdump-compressed
      format. The command's usage:
      
        dump [-p] protocol [begin] [length] [format]
      
      'format' is used to specified the format of vmcore and can be:
      1. 'elf': ELF format, without compression
      2. 'kdump-zlib': kdump-compressed format, with zlib-compressed
      3. 'kdump-lzo': kdump-compressed format, with lzo-compressed
      4. 'kdump-snappy': kdump-compressed format, with snappy-compressed
      Without 'format' being set, it is same as 'elf'. And if non-elf format is
      specified, paging and filter is not allowed.
      
      Note:
        1. The kdump-compressed format is readable only with the crash utility and
           makedumpfile, and it can be smaller than the ELF format because of the
           compression support.
        2. The kdump-compressed format is the 6th edition.
      Signed-off-by: NQiao Nuohan <qiaonuohan@cn.fujitsu.com>
      Reviewed-by: NLaszlo Ersek <lersek@redhat.com>
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      b53ccc30
  5. 18 2月, 2014 2 次提交
  6. 24 1月, 2014 3 次提交
  7. 22 1月, 2014 1 次提交
    • S
      readline: decouple readline from the monitor · c60bf339
      Stefan Hajnoczi 提交于
      Make the readline.c functionality reusable.  Instead of calling
      monitor_printf() and monitor_flush() directly, invoke function pointers
      provided by the user.
      
      This way readline.c does not know about Monitor and other users will be
      able to make use of readline.c.
      
      Note that there is already an "opaque" argument to the ReadLineFunc
      callback.  Consistently call it "readline_opaque" from now on to
      distinguish from the ReadLinePrintfFunc/ReadLineFlushFunc "opaque"
      argument.
      
      I also dropped the printf macro trickery since it's now highly unlikely
      that anyone modifying readline.c would call printf(3) directly.  We no
      longer need this protection.
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      c60bf339
  8. 07 1月, 2014 3 次提交
  9. 17 10月, 2013 1 次提交
    • M
      hmp: drop bogus "[not inserted]" · 684b2544
      Mike Qiu 提交于
      Commit 3e9fab69 ("block: Add support for
      throttling burst max in QMP and the command line.") introduced bogus
      "[not inserted]" output, possibly due to a merge failure.  Remove this
      artifact.
      
      Output of 'info block'
      
      scsi0-hd0: /images/f18-ppc64.qcow2 (qcow2)
       [not inserted]
      scsi0-cd2: [not inserted]
          Removable device: not locked, tray closed
      
      floppy0: [not inserted]
          Removable device: not locked, tray closed
      
      sd0: [not inserted]
          Removable device: not locked, tray closed
      
      There will be no additional lines between scsi0-hd0 and
      scsi0-cd2.
      
      At the same time, scsi0-hd0 already inserted, but still has
      '[not inserted]' flag. This line should be removed.
      
      This patch is to solve this.
      Signed-off-by: NMike Qiu <qiudayu@linux.vnet.ibm.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      684b2544
  10. 18 9月, 2013 1 次提交
  11. 12 9月, 2013 2 次提交
  12. 10 9月, 2013 1 次提交
  13. 06 9月, 2013 2 次提交
  14. 23 8月, 2013 1 次提交
  15. 23 7月, 2013 1 次提交
  16. 15 7月, 2013 1 次提交
    • S
      block: add drive_backup HMP command · de90930a
      Stefan Hajnoczi 提交于
      Make "drive_backup" available on the HMP monitor:
      
        drive_backup [-n] [-f] device target [format]
      
      The -n flag requests QEMU to reuse the image found in new-image-file,
      instead of recreating it from scratch.
      
      The -f flag requests QEMU to copy the whole disk, so that the result
      does not need a backing file.  Note that this flag *must* currently be
      passed since the other sync modes ('none' and 'top') have not been
      implemented yet.  Requiring it ensures that "drive_backup" behaves like
      "drive_mirror".
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      de90930a
  17. 29 6月, 2013 1 次提交
    • K
      hmp: Make "info block" output more readable · fbe2e26c
      Kevin Wolf 提交于
      HMP is meant for humans and you should notice it.
      
      This changes the output format to use a bit more space to display the
      information more readable and leaves out irrelevant information (e.g.
      mention only that an image is encrypted, but not when it's not; display
      I/O limits only if throttling is in effect; ...)
      
      Before:
      
          (qemu) info block
          ide0-hd0: removable=0 io-status=ok file=/tmp/overlay.qcow2
          backing_file=/tmp/backing.img backing_file_depth=1 ro=0 drv=qcow2
          encrypted=1 bps=0 bps_rd=0 bps_wr=0 iops=1024 iops_rd=0 iops_wr=0
          ide1-cd0: removable=1 locked=0 tray-open=0 io-status=ok
          file=/home/kwolf/images/iso/Fedora-18-x86_64-Live-Desktop.iso ro=1
          drv=raw encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0
          floppy0: removable=1 locked=0 tray-open=0 [not inserted]
          sd0: removable=1 locked=0 tray-open=0 [not inserted]
      
      After:
      
          (qemu) info block
          ide0-hd0: /tmp/overlay.qcow2 (qcow2, encrypted)
              Backing file:     /tmp/backing.img (chain depth: 1)
              I/O limits:       bps=0 bps_rd=0 bps_wr=0 iops=1024 iops_rd=0 iops_wr=0
      
          ide1-cd0: /home/kwolf/images/iso/Fedora-18-x86_64-Live-Desktop.iso (raw, read-only)
              Removable device: not locked, tray closed
      
          floppy0: [not inserted]
              Removable device: not locked, tray closed
      
          sd0: [not inserted]
              Removable device: not locked, tray closed
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NFam Zheng <famz@redhat.com>
      Acked-by: NAnthony Liguori <aliguori@us.ibm.com>
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      fbe2e26c
  18. 27 6月, 2013 1 次提交
  19. 07 6月, 2013 2 次提交
  20. 06 6月, 2013 1 次提交
  21. 16 4月, 2013 1 次提交
  22. 12 4月, 2013 1 次提交
  23. 26 3月, 2013 3 次提交
  24. 13 3月, 2013 1 次提交
    • S
      Support for TPM command line options · d1a0cf73
      Stefan Berger 提交于
      This patch adds support for TPM command line options.
      The command line options supported here are
      
      ./qemu-... -tpmdev passthrough,path=<path to TPM device>,id=<id>
                 -device tpm-tis,tpmdev=<id>,id=<other id>
      
      and
      
      ./qemu-... -tpmdev help
      
      where the latter works similar to -soundhw help and shows a list of
      available TPM backends (for example 'passthrough').
      
      Using the type parameter, the backend is chosen, i.e., 'passthrough' for the
      passthrough driver. The interpretation of the other parameters along
      with determining whether enough parameters were provided is pushed into
      the backend driver, which needs to implement the interface function
      'create' and return a TPMDriverOpts structure if the VM can be started or
      'NULL' if not enough or bad parameters were provided.
      
      Monitor support for 'info tpm' has been added. It for example prints the
      following:
      
      (qemu) info tpm
      TPM devices:
       tpm0: model=tpm-tis
        \ tpm0: type=passthrough,path=/dev/tpm0,cancel-path=/sys/devices/pnp0/00:09/cancel
      Signed-off-by: NStefan Berger <stefanb@linux.vnet.ibm.com>
      Reviewed-by: NCorey Bryant <coreyb@linux.vnet.ibm.com>
      Reviewed-by: NJoel Schopp <jschopp@linux.vnet.ibm.com>
      Message-id: 1361987275-26289-2-git-send-email-stefanb@linux.vnet.ibm.com
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      d1a0cf73
  25. 11 2月, 2013 1 次提交
  26. 07 2月, 2013 3 次提交