Re: [PATCH v3 2/3] util: Get rid of virFileFlock()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux