1. 06 4月, 2013 1 次提交
  2. 23 3月, 2013 2 次提交
    • K
      block: Allow omitting the file name when using driver-specific options · c2ad1b0c
      Kevin Wolf 提交于
      After this patch, using -drive with an empty file name continues to open
      the file if driver-specific options are used. If no driver-specific
      options are specified, the semantics stay as it was: It defines a drive
      without an inserted medium.
      
      In order to achieve this, bdrv_open() must be made safe to work with a
      NULL filename parameter. The assumption that is made is that only block
      drivers which implement bdrv_parse_filename() support using driver
      specific options and could therefore work without a filename. These
      drivers must make sure to cope with NULL in their implementation of
      .bdrv_open() (this is only NBD for now). For all other drivers, the
      block layer code will make sure to error out before calling into their
      code - they can't possibly work without a filename.
      
      Now an NBD connection can be opened like this:
      
        qemu-system-x86_64 -drive file.driver=nbd,file.port=1234,file.host=::1
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      c2ad1b0c
    • P
      block: complete all IOs before resizing a device · 92b7a08d
      Peter Lieven 提交于
      this patch ensures that all pending IOs are completed
      before a device is resized. this is especially important
      if a device is shrinked as it the bdrv_check_request()
      result is invalidated.
      Signed-off-by: NPeter Lieven <pl@kamp.de>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      92b7a08d
  3. 15 3月, 2013 4 次提交
  4. 23 2月, 2013 4 次提交
  5. 26 1月, 2013 5 次提交
  6. 25 1月, 2013 1 次提交
  7. 13 1月, 2013 1 次提交
  8. 19 12月, 2012 5 次提交
  9. 11 12月, 2012 5 次提交
  10. 31 10月, 2012 1 次提交
    • J
      Issue warning when deprecated drive parameter boot=on|off is used · 0d92d17a
      Jan Kiszka 提交于
      Releases of qemu-kvm will be interrupted at qemu 1.3.0.
      Users should switch to plain qemu releases.
      To avoid breaking scenarios which are setup with command line
      options specific to qemu-kvm, port these switches from qemu-kvm
      to qemu.git.
      
      Port drive boot option. From the qemu-kvm original commit message:
      
      We do not want to maintain this option forever. It will be removed after
      a grace period of a few releases. So warn the user that this option has
      no effect and will become invalid soon.
      Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
      0d92d17a
  11. 24 10月, 2012 5 次提交
  12. 05 10月, 2012 1 次提交
  13. 29 9月, 2012 5 次提交