1. 19 5月, 2016 3 次提交
    • K
      block: Introduce BlockBackendPublic · f2cd875d
      Kevin Wolf 提交于
      Some features, like I/O throttling, are implemented outside
      block-backend.c, but still want to keep information in BlockBackend,
      e.g. list entries that allow keeping a list of BlockBackends.
      
      In order to avoid exposing the whole struct layout in the public header
      file, this patch introduces an embedded public struct where such
      information can be added and a pair of functions to convert between
      BlockBackend and BlockBackendPublic.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NAlberto Garcia <berto@igalia.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Acked-by: NStefan Hajnoczi <stefanha@redhat.com>
      f2cd875d
    • K
      block: Make sure throttled BDSes always have a BB · a5614993
      Kevin Wolf 提交于
      It was already true in principle that a throttled BDS always has a BB
      attached, except that the order of operations while attaching or
      detaching a BDS to/from a BB wasn't careful enough.
      
      This commit breaks graph manipulations while I/O throttling is enabled.
      It would have been possible to keep things working with some temporary
      hacks, but quite cumbersome, so it's not worth the hassle. We'll fix
      things again in a minute.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NAlberto Garcia <berto@igalia.com>
      Acked-by: NStefan Hajnoczi <stefanha@redhat.com>
      a5614993
    • P
      Merge remote-tracking branch 'remotes/mjt/tags/pull-trivial-patches-2016-05-18' into staging · 8ec4fe0a
      Peter Maydell 提交于
      trivial patches for 2016-05-18
      
      # gpg: Signature made Wed 18 May 2016 13:04:43 BST using RSA key ID A4C3D7DB
      # gpg: Good signature from "Michael Tokarev <mjt@tls.msk.ru>"
      # gpg:                 aka "Michael Tokarev <mjt@corpit.ru>"
      # gpg:                 aka "Michael Tokarev <mjt@debian.org>"
      
      * remotes/mjt/tags/pull-trivial-patches-2016-05-18:
        Fix some typos found by codespell
        9p: drop unused declaration from coth.h
        smbios: fix typo
        accel: make configure_accelerator return void
        configure: Use uniform description for devel packages
        ipack: Update e-mail address
        util: fix comment typos
        qdict: fix unbounded stack warning for qdict_array_entries
        Fix typo in variable name (found and fixed by codespell)
        vl: fix comment about when parsing cpu definitions
        loader: fix potential memory leak
        remove comment for nonexistent structure member
        s390: remove misleading comment
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      8ec4fe0a
  2. 18 5月, 2016 13 次提交
  3. 17 5月, 2016 24 次提交