On Wed, Dec 13, 2017 at 04:32:58PM -0500, David Miller wrote:
> From: Stefan Hajnoczi
> Date: Wed, 13 Dec 2017 14:49:08 +
>
> > +#include
> > +#include "../../../include/uapi/linux/vm_sockets.h"
> > +
> ...
> > -#include "../../../include/uapi/linux/vm_sockets.h"
> > #include "../../../inc
From: Stefan Hajnoczi
Date: Wed, 13 Dec 2017 14:49:08 +
> +#include
> +#include "../../../include/uapi/linux/vm_sockets.h"
> +
...
> -#include "../../../include/uapi/linux/vm_sockets.h"
> #include "../../../include/uapi/linux/vm_sockets_diag.h"
This really should never be necessary.
As p
Many test cases will need to connect to the server or accept incoming
connections. This patch extracts these operations into utility
functions that can be reused.
Signed-off-by: Stefan Hajnoczi
---
tools/testing/vsock/util.h| 6 ++
tools/testing/vsock/util.c| 108 +