[PATCH v3 2/3] util: Get rid of virFileFlock()
Andrea Bolognani
abologna at redhat.com
Wed Jul 29 17:15:49 UTC 2020
On Wed, 2020-07-29 at 15:10 +0200, Martin Kletzander wrote:
> On Wed, Jul 29, 2020 at 02:20:50PM +0200, Andrea Bolognani wrote:
> > Also, since AFAIU resctrl is Linux-only, perhaps a better
> > preprocessor guard would be
> >
> > #ifdef __linux__
> >
> > so that we (correctly) stub the functions out on FreeBSD and macOS
> > too.
>
> Well, in case they get any similar feature (since it is actually Intel-only
> AFAIK) I just wanted to stub it out only for platforms where flock(2) is not
> available.
Right, I confused Intel-only with Linux-only, sorry. The preprocessor
guard is fine as it is then.
--
Andrea Bolognani / Red Hat / Virtualization
More information about the libvir-list
mailing list