1. 24 1月, 2014 4 次提交
  2. 22 1月, 2014 1 次提交
  3. 07 1月, 2014 1 次提交
  4. 20 12月, 2013 1 次提交
  5. 16 12月, 2013 1 次提交
  6. 27 11月, 2013 1 次提交
    • M
      block/drive-mirror: Reuse backing HD for sync=none · 117e0c82
      Max Reitz 提交于
      For "none" sync mode in "absolute-paths" mode, the current image should
      be used as the backing file for the newly created image.
      
      The current behavior is:
      a) If the image to be mirrored has a backing file, use that (which is
         wrong, since the operations recorded by "none" are applied to the
         image itself, not to its backing file).
      b) If the image to be mirrored lacks a backing file, the target doesn't
         have one either (which is not really wrong, but not really right,
         either; "none" records a set of operations executed on the image
         file, therefore having no backing file to apply these operations on
         seems rather pointless).
      
      For a, this is clearly a bugfix. For b, it is still a bugfix, although
      it might break existing API - but since that case crashed qemu just
      three weeks ago (before 14526864), we
      can safely assume there is no such API relying on that case yet.
      Suggested-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NMax Reitz <mreitz@redhat.com>
      Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com>
      Reviewed-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Message-id: 1385407736-13941-2-git-send-email-mreitz@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      117e0c82
  7. 14 11月, 2013 2 次提交
    • A
      qmp: access the local QemuOptsLists for drive option · 968854c8
      Amos Kong 提交于
      Currently we have three QemuOptsList (qemu_common_drive_opts,
      qemu_legacy_drive_opts, and qemu_drive_opts), only qemu_drive_opts
      is added to vm_config_groups[].
      
      This patch changes query-command-line-options to access three local
      QemuOptsLists for drive option, and merge the description items
      together.
      Signed-off-by: NAmos Kong <akong@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      968854c8
    • M
      block/drive-mirror: Check for NULL backing_hd · 14526864
      Max Reitz 提交于
      It should be possible to execute the QMP "drive-mirror" command in
      "none" sync mode and "absolute-paths" mode even for block devices
      lacking a backing file.
      
      "absolute-paths" does in fact not require a backing file to be present,
      as can be seen from the "top" sync mode code path. "top" basically
      states that the device should indeed have a backing file - however, the
      current code catches the case if it doesn't and then simply treats it as
      "full" sync mode, creating a target image without a backing file (in
      "absolute-paths" mode). Thus, "absolute-paths" does not imply the target
      file must indeed have a backing file.
      
      Therefore, the target file may be left unbacked in case of "none" sync
      mode as well, if the specified device is not backed either. Currently,
      qemu will crash trying to dereference the backing file pointer since it
      assumes that it will always be non-NULL in that case ("none" with
      "absolute-paths").
      Signed-off-by: NMax Reitz <mreitz@redhat.com>
      Reviewed-by: NWenchao Xia <xiawenc@linux.vnet.ibm.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      14526864
  8. 07 11月, 2013 1 次提交
  9. 17 10月, 2013 1 次提交
  10. 11 10月, 2013 16 次提交
  11. 03 10月, 2013 1 次提交
  12. 21 9月, 2013 1 次提交
  13. 12 9月, 2013 5 次提交
  14. 06 9月, 2013 4 次提交