1. 12 9月, 2013 2 次提交
  2. 10 9月, 2013 1 次提交
  3. 06 9月, 2013 2 次提交
  4. 23 8月, 2013 1 次提交
  5. 23 7月, 2013 1 次提交
  6. 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
  7. 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
  8. 27 6月, 2013 1 次提交
  9. 07 6月, 2013 2 次提交
  10. 06 6月, 2013 1 次提交
  11. 16 4月, 2013 1 次提交
  12. 12 4月, 2013 1 次提交
  13. 26 3月, 2013 3 次提交
  14. 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
  15. 11 2月, 2013 1 次提交
  16. 07 2月, 2013 4 次提交
  17. 01 2月, 2013 1 次提交
  18. 26 1月, 2013 2 次提交
  19. 25 1月, 2013 3 次提交
  20. 17 1月, 2013 1 次提交
  21. 16 1月, 2013 1 次提交
  22. 19 12月, 2012 6 次提交
  23. 12 11月, 2012 1 次提交
  24. 24 10月, 2012 1 次提交
    • A
      hmp: fix info cpus for sparc targets · 852bef0e
      Aurelien Jarno 提交于
      On sparc targets, info cpus returns this kind of output:
      
      | info cpus
      | * CPU #0: pc=0x0000000000424d18pc=0x0000000000424d18npc=0x0000000000424d1c thread_id=19460
      
      pc is printed twice, there is no space between pc, pc and npc.
      
      With this patch, pc is not printed anymore when has_npc is set. In addition
      the space is printed before pc/nip/npc/PC instead of after the colon so that
      multiple prints are possible. This result on the following kind of input on
      sparc targets:
      
      | info cpus
      | * CPU #0: pc=0x0000000000424d18 npc=0x0000000000424d1c thread_id=19460
      
      Cc: Luiz Capitulino <lcapitulino@redhat.com>
      Cc: Markus Armbruster <armbru@redhat.com>
      Cc: Blue Swirl <blauwirbel@gmail.com>
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      852bef0e