1. 23 6月, 2015 1 次提交
  2. 22 5月, 2015 1 次提交
  3. 30 4月, 2015 1 次提交
    • D
      Enable NVMe start controller for Windows guest. · 4a4d614f
      Daniel Stekloff 提交于
      Windows seems to send two separate calls to NVMe controller configuration. The
      first sends configuration info and the second the enable bit. I couldn't
      enable the Windows 8.1 in-box NVMe driver with base Qemu. I made the
      following change to store the configuration data and then handle enable and
      NVMe driver works on Windows 8.1.
      
      I am not a Windows expert and I'm not entirely sure this is the correct
      approach. I'm offering it for anyone who wishes to use NVMe on Windows 8.1
      using Qemu.
      
      I have tested this change with Linux and Windows guests with NVMe devices.
      Signed-off-by: NDaniel Stekloff <dan@wendan.org>
      Acked-by: NKeith Busch <keith.busch@intel.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      4a4d614f
  4. 27 3月, 2015 1 次提交
  5. 10 3月, 2015 1 次提交
  6. 13 1月, 2015 2 次提交
  7. 10 12月, 2014 1 次提交
  8. 17 11月, 2014 1 次提交
  9. 20 10月, 2014 1 次提交
    • M
      hw: Convert from BlockDriverState to BlockBackend, mostly · 4be74634
      Markus Armbruster 提交于
      Device models should access their block backends only through the
      block-backend.h API.  Convert them, and drop direct includes of
      inappropriate headers.
      
      Just four uses of BlockDriverState are left:
      
      * The Xen paravirtual block device backend (xen_disk.c) opens images
        itself when set up via xenbus, bypassing blockdev.c.  I figure it
        should go through qmp_blockdev_add() instead.
      
      * Device model "usb-storage" prompts for keys.  No other device model
        does, and this one probably shouldn't do it, either.
      
      * ide_issue_trim_cb() uses bdrv_aio_discard() instead of
        blk_aio_discard() because it fishes its backend out of a BlockAIOCB,
        which has only the BlockDriverState.
      
      * PC87312State has an unused BlockDriverState[] member.
      
      The next two commits take care of the latter two.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: NMax Reitz <mreitz@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      4be74634
  10. 15 10月, 2014 1 次提交
  11. 10 9月, 2014 2 次提交
    • B
      block: Make the block accounting functions operate on BlockAcctStats · 5366d0c8
      Benoît Canet 提交于
      This is the next step for decoupling block accounting functions from
      BlockDriverState.
      In a future commit the BlockAcctStats structure will be moved from
      BlockDriverState to the device models structures.
      
      Note that bdrv_get_stats was introduced so device models can retrieve the
      BlockAcctStats structure of a BlockDriverState without being aware of it's
      layout.
      This function should go away when BlockAcctStats will be embedded in the device
      models structures.
      
      CC: Kevin Wolf <kwolf@redhat.com>
      CC: Stefan Hajnoczi <stefanha@redhat.com>
      CC: Keith Busch <keith.busch@intel.com>
      CC: Anthony Liguori <aliguori@amazon.com>
      CC: "Michael S. Tsirkin" <mst@redhat.com>
      CC: Paolo Bonzini <pbonzini@redhat.com>
      CC: Eric Blake <eblake@redhat.com>
      CC: Peter Maydell <peter.maydell@linaro.org>
      CC: Michael Tokarev <mjt@tls.msk.ru>
      CC: John Snow <jsnow@redhat.com>
      CC: Markus Armbruster <armbru@redhat.com>
      CC: Alexander Graf <agraf@suse.de>
      CC: Max Reitz <mreitz@redhat.com>
      Signed-off-by: NBenoît Canet <benoit.canet@nodalink.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      5366d0c8
    • B
      block: rename BlockAcctType members to start with BLOCK_ instead of BDRV_ · 28298fd3
      Benoît Canet 提交于
      The middle term goal is to move the BlockAcctStats structure in the device models.
      (Capturing I/O accounting statistics in the device models is good for billing)
      This patch make a small step in this direction by removing a reference to BDRV.
      
      CC: Kevin Wolf <kwolf@redhat.com>
      CC: Stefan Hajnoczi <stefanha@redhat.com>
      CC: Keith Busch <keith.busch@intel.com>
      CC: Anthony Liguori <aliguori@amazon.com>
      CC: "Michael S. Tsirkin" <mst@redhat.com>
      CC: Paolo Bonzini <pbonzini@redhat.com>
      CC: John Snow <jsnow@redhat.com>
      CC: Richard Henderson <rth@twiddle.net>
      CC: Markus Armbruster <armbru@redhat.com>
      CC: Alexander Graf <agraf@suse.de>i
      Signed-off-by: NBenoît Canet <benoit.canet@nodalink.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      28298fd3
  12. 20 8月, 2014 1 次提交
  13. 18 8月, 2014 1 次提交
  14. 01 4月, 2014 1 次提交
  15. 14 10月, 2013 1 次提交
  16. 23 8月, 2013 1 次提交
  17. 29 7月, 2013 1 次提交
  18. 04 7月, 2013 2 次提交
  19. 20 6月, 2013 1 次提交
  20. 17 6月, 2013 1 次提交