Re: [PATCH] util: hostcpu: improve CPU freq code for FreeBSD

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

 



  Michal Privoznik wrote:

> On 31.08.2016 07:14, Roman Bogorodskiy wrote:
> > Current implementation uses the dev.cpu.0.freq sysctl that is
> > provided by the cpufreq(4) framework and returns the actual
> > CPU frequency. However, there are environment where it's not available,
> > e.g. when running nested in KVM. In this case fall back to hw.clockrate
> > that reports CPU frequency at the boot time.
> > 
> > Resolves (hopefully):
> > https://bugzilla.redhat.com/show_bug.cgi?id=1369964
> > ---
> >  src/util/virhostcpu.c | 11 +++++++++--
> >  1 file changed, 9 insertions(+), 2 deletions(-)
> > 
> > diff --git a/src/util/virhostcpu.c b/src/util/virhostcpu.c
> > index 0f03ff8..b5a37a8 100644
> > --- a/src/util/virhostcpu.c
> > +++ b/src/util/virhostcpu.c
> 
> ACK

Pushed, thanks!

> Michal

Roman Bogorodskiy

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[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]