On Tue, Jul 05, 2011 at 10:06:01PM -0700, Stephen Hemminger wrote:
[...]
> Why can lscpu find the same information without being root?
> Most of the checks (cpuid, file locations etc) can be found out
> by non-root. Only dmidecode seems to require trust, aren't there
> enough ways to find out without using dmidecode?

Yes, we can probably make virt-what run as non-root, although some
tests (the ones relying on dmidecode) will have to be disabled.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org

_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to