[libvirt] [PATCH 4/5] cpu_x86: Probe TSC frequency and scaling support

Jiri Denemark jdenemar at redhat.com
Mon Jun 3 11:43:26 UTC 2019


On Mon, Jun 03, 2019 at 09:24:14 +0200, Ján Tomko wrote:
> On Fri, May 31, 2019 at 02:00:10PM +0200, Jiri Denemark wrote:
> >When the host CPU supports invariant TSC the host CPU definition created
> >by virCPUx86GetHost will contain (unless probing fails for some reason)
> >addition TSC related data.
> >
> >Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> >---
> > src/cpu/cpu_x86.c | 9 +++++++++
> > 1 file changed, 9 insertions(+)
> 
> This breaks the tests for me:
>  1) QEMU ARGV-2-XML machine-core-on                                   ... Got unexpected warning from qemuParseCommandLineString:
> 2019-06-03 07:19:24.832+0000: 15141: info : libvirt version: 5.4.0
> 2019-06-03 07:19:24.832+0000: 15141: info : hostname: icr
> 2019-06-03 07:19:24.832+0000: 15141: error : virHostCPUGetTscInfo:1349 : Unable to open /dev/kvm: Permission denied
> FAILED

Interesting. This shows an existing issue in qemuargv2xmltest which
would probe the host CPU directly. I'll fix this in v2.

Jirka




More information about the libvir-list mailing list