diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2021-04-16 13:44:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-20 00:30:23 +0300 |
commit | e16edc99d658cd41c60a44cc14d170697aa3271f (patch) | |
tree | 8f7c6ee297109b2a292b1c96c66266a19dd46cb2 /net/l3mdev | |
parent | 88a5af943985fb43b4c9472b5abd9c0b9705533d (diff) | |
download | linux-e16edc99d658cd41c60a44cc14d170697aa3271f.tar.xz |
vsock/vmci: log once the failed queue pair allocation
VMCI feature is not supported in conjunction with the vSphere Fault
Tolerance (FT) feature.
VMware Tools can repeatedly try to create a vsock connection. If FT is
enabled the kernel logs is flooded with the following messages:
qp_alloc_hypercall result = -20
Could not attach to queue pair with -20
"qp_alloc_hypercall result = -20" was hidden by commit e8266c4c3307
("VMCI: Stop log spew when qp allocation isn't possible"), but "Could
not attach to queue pair with -20" is still there flooding the log.
Since the error message can be useful in some cases, print it only once.
Fixes: d021c344051a ("VSOCK: Introduce VM Sockets")
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Jorgen Hansen <jhansen@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l3mdev')
0 files changed, 0 insertions, 0 deletions