Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: c99f217431fa926003f015b83e60d5de72305388 https://github.com/qemu/qemu/commit/c99f217431fa926003f015b83e60d5de72305388 Author: Yuval Shaia <yuval.sh...@oracle.com> Date: 2018-03-23 (Fri, 23 Mar 2018)
Changed paths: M hw/rdma/rdma_backend.c M hw/rdma/rdma_backend.h M hw/rdma/rdma_rm.c M hw/rdma/rdma_rm.h Log Message: ----------- hw/rdma: Add Query QP operation This operation is needed by rdma devices - implement it. Signed-off-by: Yuval Shaia <yuval.sh...@oracle.com> Reviewed-by: Marcel Apfelbaum <mar...@redhat.com> Signed-off-by: Marcel Apfelbaum <mar...@redhat.com> Commit: 79cfdca7aa0f0017723755b58d1bd4c93ccdf55c https://github.com/qemu/qemu/commit/79cfdca7aa0f0017723755b58d1bd4c93ccdf55c Author: Yuval Shaia <yuval.sh...@oracle.com> Date: 2018-03-23 (Fri, 23 Mar 2018) Changed paths: M hw/rdma/vmw/pvrdma_cmd.c Log Message: ----------- hw/rdma: Add support for Query QP verb to pvrdma device This IB verb is needed by some applications - implement it. Signed-off-by: Yuval Shaia <yuval.sh...@oracle.com> Reviewed-by: Marcel Apfelbaum <mar...@redhat.com> Signed-off-by: Marcel Apfelbaum <mar...@redhat.com> Commit: 0efc9511aaa1bacb9dd9868a5f463180af5aa782 https://github.com/qemu/qemu/commit/0efc9511aaa1bacb9dd9868a5f463180af5aa782 Author: Michael S. Tsirkin <m...@redhat.com> Date: 2018-03-23 (Fri, 23 Mar 2018) Changed paths: M hw/rdma/rdma_backend.c M hw/rdma/rdma_backend.h M hw/rdma/rdma_backend_defs.h M hw/rdma/rdma_rm.c M hw/rdma/rdma_rm.h M hw/rdma/rdma_utils.h M hw/rdma/vmw/pvrdma.h M hw/rdma/vmw/pvrdma_cmd.c M hw/rdma/vmw/pvrdma_dev_ring.c M hw/rdma/vmw/pvrdma_dev_ring.h M hw/rdma/vmw/pvrdma_main.c M hw/rdma/vmw/pvrdma_qp_ops.c Log Message: ----------- rdma: fix up include directives Our rule right now is to use <> for external headers only. RDMA code violates that, fix it up. Signed-off-by: Michael S. Tsirkin <m...@redhat.com> Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Reviewed-by: Marcel Apfelbaum <mar...@redhat.com> Signed-off-by: Marcel Apfelbaum <mar...@redhat.com> Commit: 9edc19c939914f4475ccf5f728c0617dc8f8076e https://github.com/qemu/qemu/commit/9edc19c939914f4475ccf5f728c0617dc8f8076e Author: Michael S. Tsirkin <m...@redhat.com> Date: 2018-03-23 (Fri, 23 Mar 2018) Changed paths: M Makefile.target M configure M rules.mak Log Message: ----------- make: switch from -I to -iquote Our rule right now is to use <> for external headers, "" for internal ones. The idea was to avoid conflicts between e.g. a system file named <trace.h> and an internal one by the same name. Unfortunately we use -I compiler flag so it does not help: a system file doing #include <trace.h> will still pick up ours first. To fix, switch to -iquote which is supported by both gcc and clang and only affects #include "" directives. As a side effect, this catches any future uses of #include <> for internal headers. Suggested-by: Stefan Weil <s...@weilnetz.de> Signed-off-by: Michael S. Tsirkin <m...@redhat.com> Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com> Reviewed-by: Marcel Apfelbaum <mar...@redhat.com> Signed-off-by: Marcel Apfelbaum <mar...@redhat.com> Commit: 197053e212785e774d82800690dd76d735c52226 https://github.com/qemu/qemu/commit/197053e212785e774d82800690dd76d735c52226 Author: Marcel Apfelbaum <mar...@redhat.com> Date: 2018-03-23 (Fri, 23 Mar 2018) Changed paths: M hw/rdma/vmw/pvrdma_cmd.c M hw/rdma/vmw/pvrdma_main.c Log Message: ----------- hw/rdma: fix clang compilation errors Fix some enum castings and extra parentheses. Reported-by: Michael S. Tsirkin <m...@redhat.com> Signed-off-by: Marcel Apfelbaum <mar...@redhat.com> Message-Id: <20180321140316.96045-1-mar...@redhat.com> Reviewed-by: Yuval Shaia <yuval.sh...@oracle.com> Commit: 9bbb8d3577fe302802bfc7e4cf832a39aaa75692 https://github.com/qemu/qemu/commit/9bbb8d3577fe302802bfc7e4cf832a39aaa75692 Author: Yuval Shaia <yuval.sh...@oracle.com> Date: 2018-03-23 (Fri, 23 Mar 2018) Changed paths: M hw/rdma/rdma_backend.c M hw/rdma/rdma_backend.h M hw/rdma/rdma_rm.c M hw/rdma/rdma_rm_defs.h Log Message: ----------- hw/rdma: Change host_virt to void * To avoid compilation warnings on 32-bit machines: rdma_backend.c: In function 'rdma_backend_create_mr': rdma_backend.c:409:37: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] mr->ibmr = ibv_reg_mr(pd->ibpd, (void *)addr, length, access); Reported-by: Eric Blake <ebl...@redhat.com> Signed-off-by: Yuval Shaia <yuval.sh...@oracle.com> Reviewed-by: Eric Blake <ebl...@redhat.com> Tested-by: Eric Blake <ebl...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> Message-Id: <20180322095220.9976-2-yuval.sh...@oracle.com> Signed-off-by: Marcel Apfelbaum <mar...@redhat.com> Commit: 94f480b8db137ee499c7457dbcf7eb6e1ef5b482 https://github.com/qemu/qemu/commit/94f480b8db137ee499c7457dbcf7eb6e1ef5b482 Author: Yuval Shaia <yuval.sh...@oracle.com> Date: 2018-03-23 (Fri, 23 Mar 2018) Changed paths: M hw/rdma/rdma_backend.c Log Message: ----------- hw/rdma: Use correct print format in CHK_ATTR macro Macro should not cast the given variable to u64 instead it should use the supplied format argument (fmt). Reported-by: Eric Blake <ebl...@redhat.com> Signed-off-by: Yuval Shaia <yuval.sh...@oracle.com> Reviewed-by: Eric Blake <ebl...@redhat.com> Tested-by: Eric Blake <ebl...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> Message-Id: <20180322095220.9976-3-yuval.sh...@oracle.com> Signed-off-by: Marcel Apfelbaum <mar...@redhat.com> Commit: 6f559013c86d16255991ca23e47bd161407b95c8 https://github.com/qemu/qemu/commit/6f559013c86d16255991ca23e47bd161407b95c8 Author: Yuval Shaia <yuval.sh...@oracle.com> Date: 2018-03-23 (Fri, 23 Mar 2018) Changed paths: M hw/rdma/rdma_backend.c M hw/rdma/rdma_rm.c M hw/rdma/rdma_utils.c M hw/rdma/vmw/pvrdma_cmd.c M hw/rdma/vmw/pvrdma_dev_ring.c M hw/rdma/vmw/pvrdma_dev_ring.h M hw/rdma/vmw/pvrdma_main.c M hw/rdma/vmw/pvrdma_qp_ops.c Log Message: ----------- hw/rdma: Fix 32-bit compilation Use the correct printf formats, so that a 32-bit compile doesn't spit out lots of warnings about %lx being incompatible with uint64_t. Suggested-by: Eric Blake <ebl...@redhat.com> Signed-off-by: Yuval Shaia <yuval.sh...@oracle.com> Reviewed-by: Eric Blake <ebl...@redhat.com> Tested-by: Eric Blake <ebl...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> Message-Id: <20180322095220.9976-4-yuval.sh...@oracle.com> Signed-off-by: Marcel Apfelbaum <mar...@redhat.com> Commit: ed4916e8f88f53a344d4eb636e289c6d5ca34e17 https://github.com/qemu/qemu/commit/ed4916e8f88f53a344d4eb636e289c6d5ca34e17 Author: Peter Maydell <peter.mayd...@linaro.org> Date: 2018-03-24 (Sat, 24 Mar 2018) Changed paths: M Makefile.target M configure M hw/rdma/rdma_backend.c M hw/rdma/rdma_backend.h M hw/rdma/rdma_backend_defs.h M hw/rdma/rdma_rm.c M hw/rdma/rdma_rm.h M hw/rdma/rdma_rm_defs.h M hw/rdma/rdma_utils.c M hw/rdma/rdma_utils.h M hw/rdma/vmw/pvrdma.h M hw/rdma/vmw/pvrdma_cmd.c M hw/rdma/vmw/pvrdma_dev_ring.c M hw/rdma/vmw/pvrdma_dev_ring.h M hw/rdma/vmw/pvrdma_main.c M hw/rdma/vmw/pvrdma_qp_ops.c M rules.mak Log Message: ----------- Merge remote-tracking branch 'remotes/marcel/tags/rdma-pull-request' into staging * fix PVRDMA compilation errors and warnings * implement query_qp for the PVRDMA device * fix make - switch from -I to -iquote # gpg: Signature made Fri 23 Mar 2018 15:39:23 GMT # gpg: using RSA key 36D4C0F0CF2FE46D # gpg: Good signature from "Marcel Apfelbaum <mar...@redhat.com>" # gpg: WARNING: This key is not certified with sufficiently trusted signatures! # gpg: It is not certain that the signature belongs to the owner. # Primary key fingerprint: B1C6 3A57 F92E 08F2 640F 31F5 36D4 C0F0 CF2F E46D * remotes/marcel/tags/rdma-pull-request: hw/rdma: Fix 32-bit compilation hw/rdma: Use correct print format in CHK_ATTR macro hw/rdma: Change host_virt to void * hw/rdma: fix clang compilation errors make: switch from -I to -iquote rdma: fix up include directives hw/rdma: Add support for Query QP verb to pvrdma device hw/rdma: Add Query QP operation Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Compare: https://github.com/qemu/qemu/compare/66793daa03f3...ed4916e8f88f