1. 02 5月, 2019 11 次提交
  2. 01 5月, 2019 3 次提交
    • D
      hmp: gva2gpa debug command · 574d9693
      Dr. David Alan Gilbert 提交于
      Add a gva2gpa command purely for debug which performs
      address translation on the gva, the existing gpa2hva
      command can then also be used to find it in the qemu
      userspace; e.g.
      
      (qemu) info registers
      .... RSP=ffffffff81c03e98
      ....
      (qemu) gva2gpa 0xffffffff81c03e98
      gpa: 0x1c03e98
      (qemu) gpa2hva 0x1c03e98
      Host virtual address for 0x1c03e98 (pc.ram) is 0x7f0599a03e98
      (qemu) x/10x 0xffffffff81c03e98
      ffffffff81c03e98: 0x81c03eb8 0xffffffff 0x8101ea3f 0xffffffff
      ffffffff81c03ea8: 0x81d27b00 0xffffffff 0x00000000 0x00000000
      ffffffff81c03eb8: 0x81c03ec8 0xffffffff
      
      gdb -p ...qemu...
      (gdb) x/10x 0x7f0599a03e98
      0x7f0599a03e98:	0x81c03eb8	0xffffffff	0x8101ea3f	0xffffffff
      0x7f0599a03ea8:	0x81d27b00	0xffffffff	0x00000000	0x00000000
      0x7f0599a03eb8:	0x81c03ec8	0xffffffff
      Signed-off-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
      Message-Id: <20190412152652.827-1-dgilbert@redhat.com>
      Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
      574d9693
    • C
      hmp: delvm: use hmp_handle_error · b4e492db
      Cole Robinson 提交于
      This gives us the consistent 'Error:' prefix added in 66363e9a,
      which helps users like libvirt who still need to scrape hmp error
      messages to detect failure.
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NCole Robinson <crobinso@redhat.com>
      Message-Id: <984634226fa14316641f31f84e7dd0bb770bd94c.1556141033.git.crobinso@redhat.com>
      Signed-off-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
      b4e492db
    • P
      Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging · f75d1523
      Peter Maydell 提交于
      Block layer patches:
      
      - iotests: Fix output of qemu-io related tests
      - Don't ignore bdrv_set_aio_context() for nodes with bs->drv = NUL
      - vmdk: Set vmdk parent backing_format to vmdk
      - qcow2: Preallocation fixes (especially for external data files)
      - Add linear-buffer-based APIs (as wrappers around qiov-based ones)
      - Various code cleanups and small corner case fixes
      
      # gpg: Signature made Tue 30 Apr 2019 16:35:09 BST
      # gpg:                using RSA key 7F09B272C88F2FD6
      # gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>" [full]
      # Primary key fingerprint: DC3D EB15 9A9A F95D 3D74  56FE 7F09 B272 C88F 2FD6
      
      * remotes/kevin/tags/for-upstream: (27 commits)
        block/qed: add missed coroutine_fn markers
        iotests: Check that images are in read-only mode after block-commit
        commit: Make base read-only if there is an early failure
        qemu-img: use buffer-based io
        block/stream: use buffer-based io
        block/commit: use buffer-based io
        block/backup: use buffer-based io
        block/parallels: use buffer-based io
        block/qed: use buffer-based io
        block/qcow: use buffer-based io
        block/qcow2: use buffer-based io
        block: introduce byte-based io helpers
        qcow2: Fix error handling in the compression code
        qcow2: Fix qcow2_make_empty() with external data file
        qemu-img: Make create hint at protocol options
        iotests: Perform the correct test in 082
        qcow2: Fix full preallocation with external data file
        qcow2: Add errp to preallocate_co()
        qcow2: Avoid COW during metadata preallocation
        qemu-img: Saner printing of large file sizes
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      f75d1523
  3. 30 4月, 2019 26 次提交