Re: Hypervisor & Virtualization lscpu test fail

Karel Zak
2013-02-14T14:40:53Z

On Mon, Feb 11, 2013 at 10:56:22PM +0000, Sami Kerola wrote:
> On Mon, Feb 11, 2013 at 1:44 AM, Luis Aranguren <pizzaman@hotmail.com> wrote:
> > Thanks for the reply. I include the output file from mk-input.sh, I have
> > to note that there were a three permission denied instances.
>
> Oh, I did not look the code before asking the stuff from /proc/. It
> seems the lscpu detects virtualization by looking characteristics of
> cpu. See cpuid() from
>
> https://github.com/karelzak/util-linux/blob/master/sys-utils/lscpu.c#L453
>
> Perhaps turning off call to that function is the most sensible thing
> to do. Any thoughts?

Yes, good idea. Implemented, pushed.

Karel

--
Karel Zak <kzak@redhat.com>