1. 08 9月, 2014 2 次提交
  2. 30 6月, 2014 1 次提交
  3. 28 5月, 2014 1 次提交
  4. 24 5月, 2014 2 次提交
  5. 22 4月, 2014 1 次提交
    • K
      block: Add errp to bdrv_new() · 98522f63
      Kevin Wolf 提交于
      This patch adds an errp parameter to bdrv_new() and updates all its
      callers. The next patches will make use of this in order to check for
      duplicate IDs. Most of the callers know that their ID is fine, so they
      can simply assert that there is no error.
      
      Behaviour doesn't change with this patch yet as bdrv_new() doesn't
      actually assign errors to errp.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      98522f63
  6. 17 3月, 2014 1 次提交
  7. 22 2月, 2014 3 次提交
  8. 20 2月, 2014 1 次提交
  9. 04 12月, 2013 2 次提交
  10. 12 9月, 2013 1 次提交
  11. 23 8月, 2013 1 次提交
  12. 16 4月, 2013 1 次提交
    • D
      Add -f FMT / --format FMT arg to qemu-nbd · e6b63677
      Daniel P. Berrange 提交于
      Currently the qemu-nbd program will auto-detect the format of
      any disk it is given. This behaviour is known to be insecure.
      For example, if qemu-nbd initially exposes a 'raw' file to an
      unprivileged app, and that app runs
      
         'qemu-img create -f qcow2 -o backing_file=/etc/shadow /dev/nbd0'
      
      then the next time the app is started, the qemu-nbd will now
      detect it as a 'qcow2' file and expose /etc/shadow to the
      unprivileged app.
      
      The only way to avoid this is to explicitly tell qemu-nbd what
      disk format to use on the command line, completely disabling
      auto-detection. This patch adds a '-f' / '--format' arg for
      this purpose, mirroring what is already available via qemu-img
      and qemu commands.
      
        qemu-nbd --format raw -p 9000 evil.img
      
      will now always use raw, regardless of what format 'evil.img'
      looks like it contains
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      [Use errx, not err. - Paolo]
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      e6b63677
  13. 15 3月, 2013 1 次提交
  14. 23 2月, 2013 1 次提交
  15. 19 12月, 2012 1 次提交
  16. 12 11月, 2012 1 次提交
  17. 19 9月, 2012 4 次提交
  18. 24 7月, 2012 2 次提交
  19. 19 4月, 2012 3 次提交
  20. 17 2月, 2012 2 次提交
  21. 06 1月, 2012 1 次提交
  22. 22 12月, 2011 5 次提交
  23. 11 11月, 2011 2 次提交