Re: [libvirt] [PATCH] resctl: stub out functions with Linux-only APIs used

2018-01-31 Thread Martin Kletzander
On Wed, Jan 31, 2018 at 01:28:32PM +, Daniel P. Berrangé wrote: On Mon, Jan 29, 2018 at 08:59:35AM +0100, Martin Kletzander wrote: On Thu, Jan 25, 2018 at 05:44:04PM +, Daniel P. Berrangé wrote: > The flock() function and d_type field in struct dirent are not portable > to the mingw plat

Re: [libvirt] [PATCH] resctl: stub out functions with Linux-only APIs used

2018-01-31 Thread Daniel P . Berrangé
On Mon, Jan 29, 2018 at 08:59:35AM +0100, Martin Kletzander wrote: > On Thu, Jan 25, 2018 at 05:44:04PM +, Daniel P. Berrangé wrote: > > The flock() function and d_type field in struct dirent are not portable > > to the mingw platform. > > > > Signed-off-by: Daniel P. Berrangé > > --- > > >

Re: [libvirt] [PATCH] resctl: stub out functions with Linux-only APIs used

2018-01-29 Thread Martin Kletzander
On Thu, Jan 25, 2018 at 05:44:04PM +, Daniel P. Berrangé wrote: The flock() function and d_type field in struct dirent are not portable to the mingw platform. Signed-off-by: Daniel P. Berrangé --- * Pushed as CI build fix Thanks for that. I have not seen a failure on travis, but I mis

[libvirt] [PATCH] resctl: stub out functions with Linux-only APIs used

2018-01-25 Thread Daniel P . Berrangé
The flock() function and d_type field in struct dirent are not portable to the mingw platform. Signed-off-by: Daniel P. Berrangé --- * Pushed as CI build fix src/util/virresctrl.c | 47 +++ 1 file changed, 47 insertions(+) diff --git a/src/util/vi