mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
hw/pvrdma: Post CQE when receive invalid gid index
This error should propagate back to guest.
Spotted by Coverity: CID 1398595
Fixes: 2b05705dc8
Reported-by: Li Qiang <liq3ea@163.com>
Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
This commit is contained in:
parent
732d948ca5
commit
26fd869556
2 changed files with 5 additions and 2 deletions
|
@ -32,6 +32,7 @@
|
|||
#define VENDOR_ERR_INVLKEY 0x207
|
||||
#define VENDOR_ERR_MR_SMALL 0x208
|
||||
#define VENDOR_ERR_INV_MAD_BUFF 0x209
|
||||
#define VENDOR_ERR_INV_GID_IDX 0x210
|
||||
|
||||
/* Add definition for QP0 and QP1 as there is no userspace enums for them */
|
||||
enum ibv_special_qp_type {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue