Re: AF_VSOCK connection refused errno

2017-12-13 Thread Stefan Hajnoczi
On Wed, Dec 13, 2017 at 10:28:30AM +, Jorgen S. Hansen wrote: > > > On Dec 12, 2017, at 4:53 PM, Stefan Hajnoczi wrote: > > > > When connect(2) fails because the peer is not listening the virtio vsock > > transport returns ECONNRESET. I believe the VMCI transport does

Re: AF_VSOCK connection refused errno

2017-12-13 Thread Jorgen S. Hansen
> On Dec 12, 2017, at 4:53 PM, Stefan Hajnoczi wrote: > > When connect(2) fails because the peer is not listening the virtio vsock > transport returns ECONNRESET. I believe the VMCI transport does the > same (based on code inspection). > > Jorgen: Can you confirm this

AF_VSOCK connection refused errno

2017-12-12 Thread Stefan Hajnoczi
When connect(2) fails because the peer is not listening the virtio vsock transport returns ECONNRESET. I believe the VMCI transport does the same (based on code inspection). Jorgen: Can you confirm this VMCI transport behavior? I'd like to change to ECONNREFUSED for all transports because