qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 4b3a4f: virtio-9p: use accessor to get thread


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 4b3a4f: virtio-9p: use accessor to get thread_pool
Date: Wed, 23 Dec 2015 06:00:02 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 4b3a4f2d458ca5a7c6c16ac36a8d9ac22cc253d6
      
https://github.com/qemu/qemu/commit/4b3a4f2d458ca5a7c6c16ac36a8d9ac22cc253d6
  Author: Greg Kurz <address@hidden>
  Date:   2015-12-23 (Wed, 23 Dec 2015)

  Changed paths:
    M hw/9pfs/virtio-9p-coth.c

  Log Message:
  -----------
  virtio-9p: use accessor to get thread_pool

The aio_context_new() function does not allocate a thread pool. This is
deferred to the first call to the aio_get_thread_pool() accessor. It is
hence forbidden to access the thread_pool field directly, as it may be
NULL. The accessor *must* be used always.

Fixes: ebac1202c95a4f1b76b6ef3f0f63926fa76e753e
Reviewed-by: Michael Tokarev <address@hidden>
Tested-by: Michael Tokarev <address@hidden>
Cc: address@hidden
Signed-off-by: Greg Kurz <address@hidden>


  Commit: 8b4f90316a56dc370da94a04838a5c0a7d61d41f
      
https://github.com/qemu/qemu/commit/8b4f90316a56dc370da94a04838a5c0a7d61d41f
  Author: Peter Maydell <address@hidden>
  Date:   2015-12-23 (Wed, 23 Dec 2015)

  Changed paths:
    M hw/9pfs/virtio-9p-coth.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/gkurz/tags/for-upstream' into staging

Fix a 2.5 regression.

# gpg: Signature made Wed 23 Dec 2015 10:57:00 GMT using DSA key ID 0101DBC2
# gpg: Good signature from "Greg Kurz <address@hidden>"
# gpg:                 aka "Greg Kurz <address@hidden>"
# gpg:                 aka "Greg Kurz <address@hidden>"
# gpg:                 aka "Gregory Kurz (Groug) <address@hidden>"
# gpg:                 aka "Gregory Kurz (Cimai Technology) <address@hidden>"
# gpg:                 aka "Gregory Kurz (Meiosys Technology) <address@hidden>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 2BD4 3B44 535E C0A7 9894  DBA2 02FC 3AEB 0101 DBC2

* remotes/gkurz/tags/for-upstream:
  virtio-9p: use accessor to get thread_pool

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/e833dfddb47d...8b4f90316a56

reply via email to

[Prev in Thread] Current Thread [Next in Thread]